From nobody Thu May 11 18:06:50 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 4QHKbb0Flxz49Yb6 for ; Thu, 11 May 2023 18:06:51 +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 4QHKbZ68yvz3MCr for ; Thu, 11 May 2023 18:06:50 +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=1683828410; 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=YU/qJKd0n/ajKsJUMXgDLsncvmtjYKoh26k8MaDh6Hk=; b=TY9171yUBDkZiQxa6BcKqFJaXs/HU62Jag+JkaN6qnEScBGRyM/8abqmdJ4nqn5y06FKD+ 9ot71K9Rfd3XlBtzn/RcEJV/I48M9aoYByC/e/g/7MJW7mk93ZNblYzvc7dX7KztsM0o5f wbs2p2IWh8VX/DAqHT5g7mb3+o5hucKrDtFCYgvK7eWLPwjPQTb4+e6ZicBUrUkJvuxMIT NBviQHyIZPUKDJnz1PD7B9zbiwO8E+sg9hPoCmSqw85IGwz/gBTaEqdFbj8KCRxyh74yKR tFnJb+QGJhrr9wNye1BQ4Ufpg27oUUYsybi2NKwg38bBeMHo2dS9DutLsxm6Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683828410; a=rsa-sha256; cv=none; b=tmWfdoMMNG8FSxwzf3Lqyd+bukqTjf2TSN3/f/3Jwm499HC5tg+RxfnvdMUaOKNv7d0LHi 2PO8BB+qymYNZlotIhK8rHL56ICIbMDPVWlnRHVPUs15VdhrGlU1UFrDQF5JI8EXV2+1wl SGvSh6NCqZRexq31MtkUVxwgienb9urhgmpm2WS2JucClZTWCFMhGf1Fal84n7tjynhNje tcYZaEFOFLZiaBHcj/ycxuBKZEAQry3Oujz3q2/8CKe+7ciyeVuWBQcI7rg2bJXvVdhcrn dSQy+AkXrF3duFselCDkQHRkG87my8gaKe8QS5US8/MzwPjdSaiCjYP7xarTJQ== 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 4QHKbZ58d7z132t for ; Thu, 11 May 2023 18:06:50 +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 34BI6oID046446 for ; Thu, 11 May 2023 18:06:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34BI6oEb046444 for bugs@FreeBSD.org; Thu, 11 May 2023 18:06:50 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 271366] Invoking IPv6 network device address event may sleep with the following non-sleepable locks held Date: Thu, 11 May 2023 18:06:50 +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: pkubaj@FreeBSD.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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271366 Bug ID: 271366 Summary: Invoking IPv6 network device address event may sleep with the following non-sleepable locks held Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org During booting of a CURRENT VM (rev. 74192f9b2d24) on powerpc64le, when starting vtnet0 NIC, there are following lock warnings: Invoking IPv6 network device address event may sleep with the following non-sleepable locks held: exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r =3D 0 (0xc0000000081c0480) = locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2188 stack backtrace: #0 0xc00000000091bb38 at witness_debugger+0x98 #1 0xc00000000091d300 at witness_warn+0x4b0 #2 0xc000000000b3ad38 at in6_update_ifa+0xc08 #3 0xc000000000b717b8 at in6_ifadd+0x268 #4 0xc000000000b6ce94 at nd6_ra_input+0x10e4 #5 0xc000000000b34bb8 at icmp6_input+0x8a8 #6 0xc000000000b53dfc at ip6_input+0xdac #7 0xc000000000a432ac at netisr_dispatch_src+0x11c #8 0xc000000000a43754 at netisr_dispatch+0x24 #9 0xc000000000a1b8c4 at ether_demux+0x1c4 #10 0xc000000000a1d6b4 at ether_nh_input+0x454 #11 0xc000000000a432ac at netisr_dispatch_src+0x11c #12 0xc000000000a43754 at netisr_dispatch+0x24 #13 0xc000000000a1bec8 at ether_input+0x118 #14 0xc000000000a14a48 at if_input+0x28 #15 0xc0000000006c011c at vtnet_rxq_eof+0x83c #16 0xc0000000006bf7f4 at vtnet_rx_vq_process+0xf4 #17 0xc0000000006b3cfc at virtqueue_intr+0x2c lock order reversal: (sleepable after non-sleepable) 1st 0xc0000000081c0480 vtnet0-rx0 (vtnet0-rx0, sleep mutex) @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2188 2nd 0xc0000000019f48c0 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1219 lock order vtnet0-rx0 -> in6_multi_sx attempted at: #0 0xc00000000091b570 at witness_checkorder+0xc60 #1 0xc00000000088e000 at _sx_xlock+0x90 #2 0xc000000000b46e64 at in6_joingroup+0x64 #3 0xc000000000b3b0e0 at in6_update_ifa+0xfb0 #4 0xc000000000b717b8 at in6_ifadd+0x268 #5 0xc000000000b6ce94 at nd6_ra_input+0x10e4 #6 0xc000000000b34bb8 at icmp6_input+0x8a8 #7 0xc000000000b53dfc at ip6_input+0xdac #8 0xc000000000a432ac at netisr_dispatch_src+0x11c #9 0xc000000000a43754 at netisr_dispatch+0x24 #10 0xc000000000a1b8c4 at ether_demux+0x1c4 #11 0xc000000000a1d6b4 at ether_nh_input+0x454 #12 0xc000000000a432ac at netisr_dispatch_src+0x11c #13 0xc000000000a43754 at netisr_dispatch+0x24 #14 0xc000000000a1bec8 at ether_input+0x118 #15 0xc000000000a14a48 at if_input+0x28 #16 0xc0000000006c011c at vtnet_rxq_eof+0x83c #17 0xc0000000006bf7f4 at vtnet_rx_vq_process+0xf4 I have in /etc/rc.conf: ifconfig_vtnet0=3D"DHCP" ifconfig_vtnet0_ipv6=3D"inet6 accept_rtadv" --=20 You are receiving this mail because: You are the assignee for the bug.=