From nobody Sun Aug 27 15:43:30 2023 X-Original-To: net@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 4RYdJN2302z4rLnN for ; Sun, 27 Aug 2023 15:43:32 +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 4RYdJN11ZGz4HBq for ; Sun, 27 Aug 2023 15:43:32 +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=1693151012; 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: in-reply-to:in-reply-to:references:references; bh=elmuvqolyKU+aebo8zgzYUNCz4LmtBRuPZYuYJ19+lA=; b=PHBymTIAnMJPCPLeBnooAm48LAb4fUEdmpv5HBNkxa55dWIaDxfUcSeQpeubub/O5Weuu1 /oS852U2BOoq8QCs76TSTo9MU2yVkFaRuQtZZHTCUdZfEet9hGsGl6dKqnw1yQk4MXM+IH Z7iniG/LsJffWkHMLZ06xC7Q8Q8qy5LRailCljF6WzoEGgOPhBEkaLLzqaibTwTMZgmtoi QLvm37LTOMLRiCZpx1rOyAb/qmCt7wpkDlZSNPjANYlcJryUAxRl299PniZA+XvruV7+LH +rhMnQw4yNAR9N62iyQTyeETBb0okLIOIM27PvKGgHyooyFZ8P4+lSAxSfgHAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693151012; a=rsa-sha256; cv=none; b=iw/uD/5P1IxPKPwJ8ywsEcueFDKoHugjAHlK/Q3gIjJtMMw9wlZTx1EAaiSJ96Npgzdzu2 zHBP+LdSj4/qj9PWyVwkTmDgY8vh9bloBFr9vi12kc6PycaQMI7fS9xcZ35y3M4T/x35fu S8qYdGUEHs0g7APVdgfsTOF0eBWMliTjgC5x8tmoFJjCe36jvrGmvURW89gcmnwK/3sPGu +E3Vwvb9pG1y0D6CzFXvkkvlo9LsSYufDRjL43rxTdkncAmUvk8SRH1T/5wLVP1ibHrJOS kncx4FYXxyxR3tme+v2jfyRDPZRtcjA7IfZloGP0PBjilu356DZrjFI37DPHnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RYdJN00cdzXtp for ; Sun, 27 Aug 2023 15:43:32 +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 37RFhVjL065418 for ; Sun, 27 Aug 2023 15:43:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37RFhViS065417 for net@FreeBSD.org; Sun, 27 Aug 2023 15:43:31 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: net@FreeBSD.org Subject: [Bug 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held Date: Sun, 27 Aug 2023 15:43:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: freebsd@nerdbynature.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271366 Christian Kujau changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd@nerdbynature.de --- Comment #2 from Christian Kujau --- Same here on amd64, running as a Xen DomU virtual machine: $ uname -rv 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #0 main-n265049-8ed0ecf8024= d: Sat Aug 26 14:44:23 UTC 2023=20=20=20=20 dummy@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC $ grep if /etc/rc.conf ifconfig_DEFAULT=3D"DHCP inet6 accept_rtadv" $ dmesg [...] lo0: link state changed to UP xn0: 2 link states coalesced xn0: link state changed to UP Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex xnrx_2 (netfront receive lock) r =3D 0 (0xfffffe006a3= 04a78) locked @ /usr/src/sys/dev/xen/netfront/netfront.c:677 stack backtrace: #0 0xffffffff80bcd5c5 at witness_debugger+0x65 #1 0xffffffff80bce75a at witness_warn+0x3fa #2 0xffffffff80d7b39c at in6_update_ifa+0xc0c #3 0xffffffff80da7109 at in6_ifadd+0x1d9 #4 0xffffffff80da3854 at nd6_ra_input+0x1034 #5 0xffffffff80d75c14 at icmp6_input+0x724 #6 0xffffffff80d8e5df at ip6_input+0xc9f #7 0xffffffff80cb14cf at netisr_dispatch_src+0xaf #8 0xffffffff80c93caa at ether_demux+0x17a #9 0xffffffff80c95313 at ether_nh_input+0x393 #10 0xffffffff80cb14cf at netisr_dispatch_src+0xaf #11 0xffffffff80c940e9 at ether_input+0xd9 #12 0xffffffff809cb78c at xn_rxeof+0x5ec #13 0xffffffff809ccad8 at xn_intr+0x48 #14 0xffffffff80b126f9 at ithread_loop+0x279 #15 0xffffffff80b0eab2 at fork_exit+0x82 #16 0xffffffff8102fede at fork_trampoline+0xe lock order reversal: (sleepable after non-sleepable) 1st 0xfffffe006a304a78 xnrx_2 (netfront receive lock, sleep mutex) @ /usr/src/sys/dev/xen/netfront/netfront.c:677 2nd 0xffffffff81aaaba0 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1217 lock order netfront receive lock -> in6_multi_sx attempted at: #0 0xffffffff80bcd18d at witness_checkorder+0xbfd #1 0xffffffff80b645c2 at _sx_xlock+0x62 #2 0xffffffff80d83b61 at in6_joingroup+0x31 #3 0xffffffff80d7b765 at in6_update_ifa+0xfd5 #4 0xffffffff80da7109 at in6_ifadd+0x1d9 #5 0xffffffff80da3854 at nd6_ra_input+0x1034 #6 0xffffffff80d75c14 at icmp6_input+0x724 #7 0xffffffff80d8e5df at ip6_input+0xc9f #8 0xffffffff80cb14cf at netisr_dispatch_src+0xaf #9 0xffffffff80c93caa at ether_demux+0x17a #10 0xffffffff80c95313 at ether_nh_input+0x393 #11 0xffffffff80cb14cf at netisr_dispatch_src+0xaf #12 0xffffffff80c940e9 at ether_input+0xd9 #13 0xffffffff809cb78c at xn_rxeof+0x5ec #14 0xffffffff809ccad8 at xn_intr+0x48 #15 0xffffffff80b126f9 at ithread_loop+0x279 #16 0xffffffff80b0eab2 at fork_exit+0x82 #17 0xffffffff8102fede at fork_trampoline+0xe --=20 You are receiving this mail because: You are the assignee for the bug.=