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 53EC438B7BB for ; Wed, 24 Jun 2026 07:14:51 +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=1782285292; cv=none; b=K7lFLqGIJoq8NE+H+mXoHEki4REu+91vEHv0cGVoQwXgGx8W4X6ILoOnU04it16WZnOa9XPI4u3vtbzonM9chsl+hLNeE9ehv3z26gqwA8OaZCh9IA27RXZ/mrwN6Dn9DFR8JLshcx5mTTF0Vs84inPo59BcVzzRy7nD+9jpAk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782285292; c=relaxed/simple; bh=Se/0erC/dcOOIWm7GFVMt0JqMv24UU/FmGEvmR43gck=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AJ8tSYvIfOfOXEdNxj9Qcol+VxtEAqn69m+VlowfgXwbWA3Fxj8pcdxYxV3MZqCM+oRitVWURpLzDsAl2oLrhMgNYR87cfWmMHgU2jktRsR6qwhkKUhAa8W2+RIGL+ZRVHFY/J+O/QDcKyw2BgTO8IHBKJCjMPse6mlH+izekaI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fjdxVjwz; 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="fjdxVjwz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F0FF1F000E9; Wed, 24 Jun 2026 07:14:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782285290; bh=+cXKLCpXIAsrpoHDsP61oTgFsn5mzx4kVbDKtBjOrx0=; h=From:To:Cc:Subject:Date:Reply-To; b=fjdxVjwz/59uur1QQvAhlBCLz6eGSuNPqaAmMRWljZfBkfGMfMl0grRXuceVkwXud 5wZvriprL9LC1/GrFIebpH1/H3DIt2TX0OO/J4UE7f00gzD8qb+GTkBr3tef+PHUge v8SefCFrFAR9407Dm6hMyCFFUM2C03DEphp3g7dg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52912: netfilter: nf_queue: hold bridge skb->dev while queued Date: Wed, 24 Jun 2026 09:13:27 +0200 Message-ID: <2026062426-CVE-2026-52912-9506@gregkh> X-Mailer: git-send-email 2.54.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=3827; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eiGnU+P4M7qHDq/U+4fmKNqqKdmwWxXMMkS0VrHE8y8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnWzdPv2F3i3vt/5s54Xm+TdfI+y62vCnxQZNlT/93wi iLb6r6XHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRc1MYFsz449J8QLfqX5XX u1WLY5zk9JgNGBkWTNdvCOBXDr8cGX9hgSnH5Rq2s5MOAQA= 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: hold bridge skb->dev while queued br_pass_frame_up() rewrites skb->dev from the ingress port to the bridge master before queueing bridge LOCAL_IN packets. NFQUEUE only holds references on state.in/out and bridge physdevs, so a queued bridge packet can retain a freed bridge master in skb->dev until reinjection. When the verdict is reinjected later, br_netif_receive_skb() re-enters the receive path with skb->dev still pointing at the freed bridge master, triggering a use-after-free. Store skb->dev in the queue entry, hold a reference on it for the queue lifetime, and use the saved device when dropping queued packets during NETDEV_DOWN handling. The Linux kernel CVE team has assigned CVE-2026-52912 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 5.10.259 with commit 950d809f154dca04e5fbe5d3c8b9c5e44769cd57 Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 5.15.209 with commit a698ac8ab2561cf575d2d9f34095032651dd952e Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 6.1.175 with commit 19924bdd8a45ebc72a7b84c57fd63057d1dc75ac Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 6.6.142 with commit 1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 6.12.92 with commit 3823c27099cfe2482299065814adbaa771be9644 Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 6.18.34 with commit 15d464265120ab9818bd673af301deee09bedab2 Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 7.0.11 with commit 3fb0f5c0f64162a8c3f25616a4f1e340b921737f Issue introduced in 4.7 with commit ac28634456867b23b95faccba7997a62ec430603 and fixed in 7.1 with commit e196115ec330a18de415bdb9f5071aa9f08e53ce 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-52912 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/950d809f154dca04e5fbe5d3c8b9c5e44769cd57 https://git.kernel.org/stable/c/a698ac8ab2561cf575d2d9f34095032651dd952e https://git.kernel.org/stable/c/19924bdd8a45ebc72a7b84c57fd63057d1dc75ac https://git.kernel.org/stable/c/1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be https://git.kernel.org/stable/c/3823c27099cfe2482299065814adbaa771be9644 https://git.kernel.org/stable/c/15d464265120ab9818bd673af301deee09bedab2 https://git.kernel.org/stable/c/3fb0f5c0f64162a8c3f25616a4f1e340b921737f https://git.kernel.org/stable/c/e196115ec330a18de415bdb9f5071aa9f08e53ce