From nobody Sun Nov 03 04:57:41 2024 X-Original-To: ipfw@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 4Xh2Qs4m5Jz5bmdc for ; Sun, 03 Nov 2024 04:57:41 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xh2Qs2nmPz41Yk for ; Sun, 3 Nov 2024 04:57:41 +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=1730609861; 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=vDXJ0p8qIGQkswhFBg3deL7Ez00rZ9HLgF1u9iEt228=; b=ZIzJ6PO6+vYXwFiEhEK6hiRswWXFejef88IxXPtWijK7H6EVOd4LSur84cwJ2U9OpXmeB/ hnePiXOBa4jnvAPuJRk0EyouJNLPJiH+13Uuffu608q2y5xoUBOJu8mSuLpQQh/vxOS691 Zxvx9Q1Ctsx2OXP5kkr+Qkem+FLzLROk+6SWHmxES2KHseshfHs1hR9ICTAjekpp1uYvnK 2SEu+qCJUaYDefewY26TuTFDeqAmmPUAfeCky08T+bYALkhXFWdmuaJG1KvXjST23POUcn PXHtoTODDJ3Qro2pzhw8FvhXsWHFACffTDzNKxSDKRc+nF2VQ0Um75v+cGGUTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730609861; a=rsa-sha256; cv=none; b=tQhZjq5dt+UUePvFSN7xwMJeX5enfs7CfSPMeNaveWb4MuWMovIDfcO3PPJZOt0bu6C3AX pUXngDBPkgjoKUApuJhFME8d1v8ZYcniwpqCKMpD8dbphmgTHM/lJvGDsfZ/FI/xipBF7i EvS/35bY188TqScw54fqmjcRSDjdC100jRBfRLTlBMOtMmpNkKoib9udzqzzkcv6jQQUWt tSYqFQQVj/iYcyC170YWTVx/rCvvZBqvjzfTjKXrqyYiEpKdz+mljhNtFssGUL9oGNUmsb CxPkNBHBOSirI7TMh+NmY1FWTLoTK4DvYrCHcsQFacm7x4/4tZv43vpyg46kYA== 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 4Xh2Qs2PFkzb2B for ; Sun, 3 Nov 2024 04:57:41 +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 4A34vffV031019 for ; Sun, 3 Nov 2024 04:57:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A34vf6J031018 for ipfw@FreeBSD.org; Sun, 3 Nov 2024 04:57:41 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: ipfw@FreeBSD.org Subject: [Bug 282507] ipfw: vnet_destroy causes exclusive rw IPFW UH lock (IPFW UH lock) r = 0 (0xfffffe0140b796d0) locked Date: Sun, 03 Nov 2024 04:57:41 +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: 15.0-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: ipfw@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: IPFW Technical Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ipfw List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ipfw@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282507 Bug ID: 282507 Summary: ipfw: vnet_destroy causes exclusive rw IPFW UH lock (IPFW UH lock) r =3D 0 (0xfffffe0140b796d0) locked Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: ipfw@FreeBSD.org Reporter: lexi.freebsd@le-fay.org host: FreeBSD 15.0-CURRENT #0 lf/main-n269075-b835cc934f8: Wed Oct 30 15:34= :15 GMT 2024, src ~22429a464a5f4f6bb5a056aae1353985db83b721 a VNET jail on this host runs ipfw to provide NAT64. shutting down the jail (service jail stop nat64) reliably produces this wit= ness error: calling _callout_stop_safe with the following non-sleepable locks held: exclusive rw IPFW UH lock (IPFW UH lock) r =3D 0 (0xfffffe0140b796d0) locke= d @ /data/build/src/freebsd/lf/main/sys/netpfil/ipfw/nat64/nat64lsn_control.c:9= 33 stack backtrace: #0 0xffffffff8052783c at witness_debugger+0x6c #1 0xffffffff80528a33 at witness_warn+0x403 #2 0xffffffff804d1ef3 at _callout_stop_safe+0x73 #3 0xffffffff81d7de50 at nat64lsn_destroy_instance+0x70 #4 0xffffffff81d7fce3 at destroy_config_cb+0x63 #5 0xffffffff81da286b at ipfw_objhash_foreach_type+0x7b #6 0xffffffff81d7fc36 at nat64lsn_uninit+0xa6 #7 0xffffffff81d77171 at vnet_ipfw_nat64_uninit+0x51 #8 0xffffffff805f8154 at vnet_destroy+0x154 #9 0xffffffff804786a0 at prison_deref+0x980 #10 0xffffffff80479733 at sys_jail_remove+0x113 #11 0xffffffff8079e798 at amd64_syscall+0x158 #12 0xffffffff8077123b at fast_syscall_common+0xf8 --=20 You are receiving this mail because: You are the assignee for the bug.=