Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A94EA36D500 for ; Sat, 15 Aug 2026 06:20:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774855; cv=none; b=C3ozMNyZZ2KQb0PHBU7l1UWEzftcYvAqoKD36/HR4bOIH9J2EdyTd3y8ux2Jx9eNzhqfNoRElrb0gbcdiguc6o3aENU4InmFHxEh5YS/UI93LVrcNo7yfieYwjj/s50mFN4mjPLEbqfrSgkVNVNaaG8Ps/Fe9602foixbE1Zyxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774855; c=relaxed/simple; bh=TkBi4LmCLKeXR20xDSDW0RcWNCwVUuGROsHD+RF/dAY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BdxZKPNK/gD5sAbvzptFWzmbOmESWOdyCMZSZDNmYlI3n5WQ6f4nR+fF6mVDC/c2ZHn3zpZD2Un8a30IzLr5gzZAFdEzfDWjdpSBMS72mr4lfXZv19Yi/bE09PxERWR5PpfsV3ywC9UJIE8wZxvv3npesX16WqQnKQrrHFHOVCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zIh+r485; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zIh+r485" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCC291F000E9; Sat, 15 Aug 2026 06:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774854; bh=iRriXqvvwOyAhkUiMvmnCPAHl7uDW9geH9pbt5mvhLU=; h=From:To:Cc:Subject:Date:Reply-To; b=zIh+r4850IotOx4nXeymPqVaXcQlMNAnQE4nfvJmbHsJOzZlT6EEQQF3qx51NAW/C iYaHA8A3N4ikYxxJfs3VkFYtRJ+x6ZPAebP/IE5KKm+0C2cAXdGZ2XCO/E+Ut6bp0F sM2BKM4C361Tsh1liUfBfApaOLd0xwGoRQh+2aog= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72255: netfilter: nf_queue: pin bridge device while NFQUEUE holds fake dst Date: Sat, 15 Aug 2026 15:05:34 +0900 Message-ID: <2026081554-CVE-2026-72255-56ae@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4022; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kmuzn7LlOAJl07tracW+w79h0xUGtRO1dr7m84OsTVM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDJfYFeZZSB2asFl1uor85ZWnTMVFbyp80X0m2THn1 u3HFzo8OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAimtwM89N1edU6VBVsn1pm J9fzWMimHRUuZpgffMTJUIP5fLLSZveYgNDXHvcLnicBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_queue: pin bridge device while NFQUEUE holds fake dst The br_netfilter fake rtable is embedded in struct net_bridge and is attached to bridged packets with skb_dst_set_noref(). If such a packet is queued to NFQUEUE, __nf_queue() upgrades that fake dst with skb_dst_force(). At that point the queued skb can hold a real dst reference after bridge teardown has started. The problem is not that every bridged packet needs its own dst reference. The problem is that NFQUEUE can keep the bridge private fake dst alive after unregister begins. Fix this by keeping the bridge fake dst model unchanged and pinning the bridge master device only while the packet sits in NFQUEUE. Record the bridge device in nf_queue_entry when the queued skb carries a bridge fake dst, take a device reference for the queue lifetime, and drop it when the queue entry is freed. Also make sure queued entries are reaped when that bridge device goes down, and drop the redundant nf_bridge_info_exists() test from the fake dst detection. This keeps netdev_priv(br->dev) alive until verdict completion, so the embedded fake rtable and its metrics backing storage cannot be freed out from under dst_release(). It also avoids the constant refcount bump and avoids using ipv4-specific dst helpers for IPv6 bridge traffic. The Linux kernel CVE team has assigned CVE-2026-72255 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 6.1.178 with commit 430521af7fe8a9c08f5a2554224a35f11f51d99e Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 6.6.145 with commit 3f03a2d225c668283110ad5f9ff159ba4591e2c7 Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 6.12.97 with commit 01ace27af47801dd7f6b839e782b62863af979cc Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 6.18.40 with commit 0ca505346c5e2905ab7b5313af801fcf38f594a8 Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 7.1.5 with commit 47b3af24de5fbed4bf2952de0f5294ef1a338a26 Issue introduced in 3.18 with commit 34666d467cbf1e2e3c7bb15a63eccfb582cdd71f and fixed in 7.2-rc1 with commit c9c9b37f8c5505224e8d206184df3bb668ee00cf Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72255 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/netfilter/nf_queue.h net/netfilter/nf_queue.c net/netfilter/nfnetlink_queue.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/430521af7fe8a9c08f5a2554224a35f11f51d99e https://git.kernel.org/stable/c/3f03a2d225c668283110ad5f9ff159ba4591e2c7 https://git.kernel.org/stable/c/01ace27af47801dd7f6b839e782b62863af979cc https://git.kernel.org/stable/c/0ca505346c5e2905ab7b5313af801fcf38f594a8 https://git.kernel.org/stable/c/47b3af24de5fbed4bf2952de0f5294ef1a338a26 https://git.kernel.org/stable/c/c9c9b37f8c5505224e8d206184df3bb668ee00cf