From owner-svn-src-all@freebsd.org Thu May 21 12:24:25 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D04342CDB4A; Thu, 21 May 2020 12:24:25 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay05.pair.com (relay05.pair.com [216.92.24.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49STMF0Wm3z4thX; Thu, 21 May 2020 12:24:24 +0000 (UTC) (envelope-from pho@holm.cc) Received: from x8.osted.lan (ip-5-186-118-155.cgn.fibianet.dk [5.186.118.155]) by relay05.pair.com (Postfix) with ESMTP id DD3A71A23AA; Thu, 21 May 2020 08:24:23 -0400 (EDT) Received: from x8.osted.lan (localhost [127.0.0.1]) by x8.osted.lan (8.15.2/8.15.2) with ESMTPS id 04LCOMfe065684 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 21 May 2020 14:24:22 +0200 (CEST) (envelope-from pho@x8.osted.lan) Received: (from pho@localhost) by x8.osted.lan (8.15.2/8.15.2/Submit) id 04LCOM6C065683; Thu, 21 May 2020 14:24:22 +0200 (CEST) (envelope-from pho) Date: Thu, 21 May 2020 14:24:22 +0200 From: Peter Holm To: Wei Hu 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> References: <202005201103.04KB3xTp013965@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202005201103.04KB3xTp013965@repo.freebsd.org> X-Rspamd-Queue-Id: 49STMF0Wm3z4thX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of pho@holm.cc has no SPF policy when checking 216.92.24.67) smtp.mailfrom=pho@holm.cc X-Spamd-Result: default: False [-0.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.57)[-0.567]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.50)[-0.498]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.06)[-0.058]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[pho@freebsd.org,pho@holm.cc]; RCVD_IN_DNSWL_LOW(-0.10)[216.92.24.67:from]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7859, ipnet:216.92.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[pho@freebsd.org,pho@holm.cc]; RECEIVED_SPAMHAUS_PBL(0.00)[5.186.118.155:received] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2020 12:24:25 -0000 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