From nobody Fri Feb 02 01:00:22 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TQy9y6H85z593fT for ; Fri, 2 Feb 2024 01:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TQy9y5910z43hH for ; Fri, 2 Feb 2024 01:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706835622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L0jrQr8QlF8wA/2JelIg18dJXqOPJE+4wFDLW2IA26o=; b=dpVzQyeDQLALygUguj8sCCWz4Mht9bnng6DPAr82zdH0aW3PK/EwnNBljQ/+89Ltq+/4Pe GpIddHHDDtfL5dh6wAxlVxJn2gBT2WoiCjAZ2aWsx2kvxG/HU3S6nABiv1rhiFPsMSahh6 yhB6U9vl8vTtQW15TUuac2hlr2Q1nrzNVKiPaC1d+q++Ow+7lhcs9i7ZBNfrDRWo1moaXo 3BahwtyYUXQr+qtQsRLAnEpU9VngH1I2DdF/S99s9N3w15J810CCas8yCux4Tb058UMPvn Oa310UmtvJSnMrxogJhbxTkcbfn/saOrazQOzew2f1Lg59QFEczz/K0YOhDpzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706835622; a=rsa-sha256; cv=none; b=XVeuengz6LzbhsQaq9x1+wE9skKPCN/YD5b+cAMaM0hfRD4Sh6GFeFrQsc3JIElAkB3Cth r8QHvJSDpfS0zFFAZobzrwgQIaOcnhzExKvgvqiyQb2nEaQLeF3ftbRBqXWlUsBNaEjSUm Vlyinr+oLroLVh6KCj/izupPUMwsXyE4OGis4lh8fPnIAEb5ac8whBMt75tLMehqlSU+qT 53fFnYYsx6I1mv3TTjto9GifTnmaJ1sQusu8SZQztxvXMfF4kqb+vhSLbmcjtUmpd103nv hD3WhWocXxqnDjvyiAPmAW9A8Heg54YUt1KjSQ55c7fXxWft+6c6XhUtP1aD3w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TQy9y4Cz3z1P1w for ; Fri, 2 Feb 2024 01:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41210M3M028002 for ; Fri, 2 Feb 2024 01:00:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41210MGL027997 for bugs@FreeBSD.org; Fri, 2 Feb 2024 01:00:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276772] wireguard: lock order reversal mld_mtx -> udpinp Date: Fri, 02 Feb 2024 01:00:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276772 Bug ID: 276772 Summary: wireguard: lock order reversal mld_mtx -> udpinp Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lexi.freebsd@le-fay.org occurs when bringing up the wg interface: wg0: link state changed to UP lock order reversal: 1st 0xffffffff818f8028 mld_mtx (mld_mtx, sleep mutex) @ /src/freebsd/main/sys/netinet6/mld6.c:1346 2nd 0xfffff80041b36c60 udpinp (udpinp, rw) @ /src/freebsd/main/sys/netinet/udp_usrreq.c:1131 lock order mld_mtx -> udpinp attempted at: #0 0xffffffff809e28d4 at witness_checkorder+0xb54 #1 0xffffffff8096304c at __rw_rlock_int+0x7c #2 0xffffffff80b8d5a2 at udp_send+0x122 #3 0xffffffff80a208f7 at sosend_dgram+0x317 #4 0xffffffff80a213c9 at sosend+0x49 #5 0xffffffff807ee7ec at wg_send+0x10c #6 0xffffffff807ee632 at wg_send_buf+0x62 #7 0xffffffff807ee9de at wg_peer_send_buf+0x16e #8 0xffffffff807ef0fb at wg_timers_run_send_initiation+0xcb #9 0xffffffff807eeeb7 at wg_peer_send_staged+0x1e7 #10 0xffffffff807f0363 at wg_xmit+0x1b3 #11 0xffffffff80bafc52 at ip6_output+0x1dc2 #12 0xffffffff80bb60b0 at mld_dispatch_packet+0x390 #13 0xffffffff80bb6f60 at mld_fasttimo+0x9e0 #14 0xffffffff80988db1 at softclock_call_cc+0x141 #15 0xffffffff8098a3d7 at softclock_thread+0xb7 #16 0xffffffff8091ca22 at fork_exit+0x82 #17 0xffffffff80d7849e at fork_trampoline+0xe FreeBSD 15.0-CURRENT #1 main-n267933-5f047ae0c73b: Fri Feb 2 00:45:35 GMT = 2024 =20=20=20 lexi@ilythia.eden.le-fay.org:/src/obj/src/freebsd/main/amd64.amd64/sys/ILYT= HIA --=20 You are receiving this mail because: You are the assignee for the bug.=