Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2020 14:24:22 +0200
From:      Peter Holm <pho@freebsd.org>
To:        Wei Hu <whu@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys
Message-ID:  <20200521122422.GA65523@x8.osted.lan>
In-Reply-To: <202005201103.04KB3xTp013965@repo.freebsd.org>
References:  <202005201103.04KB3xTp013965@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 2020 at 11:03:59AM +0000, Wei Hu wrote:
> Author: whu
> Date: Wed May 20 11:03:59 2020
> New Revision: 361275
> URL: https://svnweb.freebsd.org/changeset/base/361275
> 
> Log:
>   HyperV socket implementation for FreeBSD
>   
>   This change adds Hyper-V socket feature in FreeBSD. New socket address
>   family AF_HYPERV and its kernel support are added.
>   

Found this with a syscall fuzz test:

panic: page fault
cpuid = 2
time = 1590050529
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe033d21d530
vpanic() at vpanic+0x182/frame 0xfffffe033d21d580
panic() at panic+0x43/frame 0xfffffe033d21d5e0
trap_fatal() at trap_fatal+0x387/frame 0xfffffe033d21d640
trap_pfault() at trap_pfault+0x99/frame 0xfffffe033d21d6a0
trap() at trap+0x2a5/frame 0xfffffe033d21d7b0
calltrap() at calltrap+0x8/frame 0xfffffe033d21d7b0
--- trap 0xc, rip = 0xffffffff80bcd3ba, rsp = 0xfffffe033d21d880, rbp = 0xfffffe033d21d910 ---
_sx_xlock_hard() at _sx_xlock_hard+0x17a/frame 0xfffffe033d21d910
_sx_xlock() at _sx_xlock+0xba/frame 0xfffffe033d21d950
hvs_trans_close() at hvs_trans_close+0x42/frame 0xfffffe033d21d970
soclose() at soclose+0x161/frame 0xfffffe033d21d9e0
_fdrop() at _fdrop+0x1a/frame 0xfffffe033d21da00
closef() at closef+0x1db/frame 0xfffffe033d21da90
closefp() at closefp+0x96/frame 0xfffffe033d21dad0
amd64_syscall() at amd64_syscall+0x159/frame 0xfffffe033d21dbf0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe033d21dbf0
--- syscall (6, FreeBSD ELF64, sys_close), rip = 0x8004283ca, rsp = 0x7fffffffe328, rbp = 0x7fffffffe460 ---

https://people.freebsd.org/~pho/stress/log/setsockopt2-2.txt

Could this be yours?

- Peter




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200521122422.GA65523>