netfilter: nf_queue: hold bridge skb->dev while queued
Summary
| CVE | CVE-2026-52912 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 08:16:20 UTC |
| Updated | 2026-06-24 08:16:20 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 950d809f154dca04e5fbe5d3c8b9c5e44769cd57 git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 a698ac8ab2561cf575d2d9f34095032651dd952e git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 19924bdd8a45ebc72a7b84c57fd63057d1dc75ac git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 3823c27099cfe2482299065814adbaa771be9644 git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 15d464265120ab9818bd673af301deee09bedab2 git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 3fb0f5c0f64162a8c3f25616a4f1e340b921737f git |
Not specified |
| CNA |
Linux |
Linux |
affected ac28634456867b23b95faccba7997a62ec430603 e196115ec330a18de415bdb9f5071aa9f08e53ce git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.7 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.7 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.259 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.209 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.175 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.142 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.92 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.34 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0.11 7.0.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/3fb0f5c0f64162a8c3f25616a4f1e340b921737f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/a698ac8ab2561cf575d2d9f34095032651dd952e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/950d809f154dca04e5fbe5d3c8b9c5e44769cd57 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e196115ec330a18de415bdb9f5071aa9f08e53ce |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3823c27099cfe2482299065814adbaa771be9644 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/15d464265120ab9818bd673af301deee09bedab2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/19924bdd8a45ebc72a7b84c57fd63057d1dc75ac |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.