CVE-2026-52912
netfilter: nf_queue: hold bridge skb->dev while queued
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.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 3:13 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Store skb->dev in queue entry.
- Hold device reference for queue lifetime.
- Use saved device on NETDEV_DOWN.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52912.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52912 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52912
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52912 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52912 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.92 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.34 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.142 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.7 up to (excluding) 5.10.259 Added Reference Type kernel.org: https://git.kernel.org/stable/c/15d464265120ab9818bd673af301deee09bedab2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/19924bdd8a45ebc72a7b84c57fd63057d1dc75ac Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3823c27099cfe2482299065814adbaa771be9644 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3fb0f5c0f64162a8c3f25616a4f1e340b921737f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/950d809f154dca04e5fbe5d3c8b9c5e44769cd57 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/a698ac8ab2561cf575d2d9f34095032651dd952e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e196115ec330a18de415bdb9f5071aa9f08e53ce Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '950d809f154dca04e5fbe5d3c8b9c5e44769cd57', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': 'a698ac8ab2561cf575d2d9f34095032651dd952e', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '19924bdd8a45ebc72a7b84c57fd63057d1dc75ac', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '3823c27099cfe2482299065814adbaa771be9644', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '15d464265120ab9818bd673af301deee09bedab2', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': '3fb0f5c0f64162a8c3f25616a4f1e340b921737f', 'versionType': 'git'}, {'status': 'affected', 'version': 'ac28634456867b23b95faccba7997a62ec430603', 'lessThan': 'e196115ec330a18de415bdb9f5071aa9f08e53ce', 'versionType': 'git'}], 'programFiles': ['include/net/netfilter/nf_queue.h', 'net/netfilter/nf_queue.c', 'net/netfilter/nfnetlink_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.142', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.92', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.34', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.11', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['include/net/netfilter/nf_queue.h', 'net/netfilter/nf_queue.c', 'net/netfilter/nfnetlink_queue.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/15d464265120ab9818bd673af301deee09bedab2 Added Reference https://git.kernel.org/stable/c/19924bdd8a45ebc72a7b84c57fd63057d1dc75ac Added Reference https://git.kernel.org/stable/c/1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be Added Reference https://git.kernel.org/stable/c/3823c27099cfe2482299065814adbaa771be9644 Added Reference https://git.kernel.org/stable/c/3fb0f5c0f64162a8c3f25616a4f1e340b921737f Added Reference https://git.kernel.org/stable/c/950d809f154dca04e5fbe5d3c8b9c5e44769cd57 Added Reference https://git.kernel.org/stable/c/a698ac8ab2561cf575d2d9f34095032651dd952e Added Reference https://git.kernel.org/stable/c/e196115ec330a18de415bdb9f5071aa9f08e53ce