From nobody Sat Feb 25 10:51:11 2023 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 4PP3TW1tFKz3t1bj for ; Sat, 25 Feb 2023 10:51:11 +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 4PP3TW0PbDz4KJ9 for ; Sat, 25 Feb 2023 10:51:11 +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=1677322271; 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=TNLMv0eL77zvae0AX4lIDdy+n2IXQMIYk2sgi/78c9M=; b=HGX1c+yReXMWw+N6hatNh5/go4qQ7v0g6UUnhkGWP8ISNrYGTSvOo7BaIo9hm7LzkhJA5t C9TQySVf6sCwoag40l6+MaSxEneDyPp8oOLpGSdxcNpKEZvEq0F/Cq1JZ8hz0qJzx9+4n8 jmSeu7TRJ2thXeT7T+WLRq7olIrbGN/uQVyBAuzAPV6SjM75wrPCJWWx2/KpHZWiSiGNqa VAUJDrZjyfXaB7Mr9fuI0RucaWzcxSebKir6CJpkkLg+TDfUbmf7OnAySs29/FnEo6rrY5 qCtjvdaXEW+8of2xKQOOocKo2hHun2adCHUtTFZgFnq6DniiKGUU/W6dDT/icg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677322271; a=rsa-sha256; cv=none; b=CqIRYp8XC/nlLfeANaVcdhpw/w02t0geW3R1QBZhZgpGnugO226YrTRRK79eNaPx02KJ60 8Xy+YYbhSFPf83+T2OpnE6Kn2zJvy075kKjxoNJVNXAn+Ib9vLuqx6bPg6mOehV3zTyjNH IVCxXFE68wc1GZ58360PPIckm3O+C0aqgtQFS487f+EEVuBODx4InPgtese8rz/tmr+n2+ 2CNdwD0HB8aH+aVbeVDv1bvhAOHFatRe3D7bhwLbmGA5Mt5jaajmdSq/jql7+6yBDRBXX3 eDlho3VZnDEf8MBNPePci6/asQ5gXSnb5x+m0IMD+f8yqCay4AdHzknxC8PLmw== 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 4PP3TV6bF4z122y for ; Sat, 25 Feb 2023 10:51:10 +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 31PApAqf028611 for ; Sat, 25 Feb 2023 10:51:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31PApAOd028610 for bugs@FreeBSD.org; Sat, 25 Feb 2023 10:51:10 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 269821] if_vtnet: Lock order reversal on LXD's Qemu profile (Q.35) Date: Sat, 25 Feb 2023 10:51:11 +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: freebsd@igalic.co 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269821 Bug ID: 269821 Summary: if_vtnet: Lock order reversal on LXD's Qemu profile (Q.35) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@igalic.co vtnet0: link state changed to UP Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex vtnet0-rx1 (vtnet0-rx1) r =3D 0 (0xfffff800019b6980) = locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2189 stack backtrace: #0 0xffffffff80c5f355 at witness_debugger+0x65 #1 0xffffffff80c604a9 at witness_warn+0x3f9 #2 0xffffffff80e079fa at in6_update_ifa+0xc1a #3 0xffffffff80e33049 at in6_ifadd+0x1d9 #4 0xffffffff80e2f7cf at nd6_ra_input+0x103f #5 0xffffffff80e02528 at icmp6_input+0x898 #6 0xffffffff80e1a309 at ip6_input+0xc79 #7 0xffffffff80d405bd at netisr_dispatch_src+0xad #8 0xffffffff80d2282a at ether_demux+0x17a #9 0xffffffff80d23dd6 at ether_nh_input+0x356 #10 0xffffffff80d405bd at netisr_dispatch_src+0xad #11 0xffffffff80d22c39 at ether_input+0x99 #12 0xffffffff80a19713 at vtnet_rxq_eof+0x7c3 #13 0xffffffff80a18eaa at vtnet_rx_vq_process+0x9a #14 0xffffffff80ba79e6 at ithread_loop+0x276 #15 0xffffffff80ba3e80 at fork_exit+0x80 #16 0xffffffff810b3e3e at fork_trampoline+0xe lock order reversal: (sleepable after non-sleepable) 1st 0xfffff800019b6980 vtnet0-rx1 (vtnet0-rx1, sleep mutex) @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2189 2nd 0xffffffff81fa7b40 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1219 lock order vtnet0-rx1 -> in6_multi_sx attempted at: #0 0xffffffff80c5ef13 at witness_checkorder+0xbb3 #1 0xffffffff80bf84d3 at _sx_xlock+0x63 #2 0xffffffff80e10381 at in6_joingroup+0x31 #3 0xffffffff80e07dbb at in6_update_ifa+0xfdb #4 0xffffffff80e33049 at in6_ifadd+0x1d9 #5 0xffffffff80e2f7cf at nd6_ra_input+0x103f #6 0xffffffff80e02528 at icmp6_input+0x898 #7 0xffffffff80e1a309 at ip6_input+0xc79 #8 0xffffffff80d405bd at netisr_dispatch_src+0xad #9 0xffffffff80d2282a at ether_demux+0x17a #10 0xffffffff80d23dd6 at ether_nh_input+0x356 #11 0xffffffff80d405bd at netisr_dispatch_src+0xad #12 0xffffffff80d22c39 at ether_input+0x99 #13 0xffffffff80a19713 at vtnet_rxq_eof+0x7c3 #14 0xffffffff80a18eaa at vtnet_rx_vq_process+0x9a #15 0xffffffff80ba79e6 at ithread_loop+0x276 #16 0xffffffff80ba3e80 at fork_exit+0x80 #17 0xffffffff810b3e3e at fork_trampoline+0xe FreeBSD/amd64 (freebsd) (ttyu0) --=20 You are receiving this mail because: You are the assignee for the bug.=