7.8high
netfilter: nf_queue: hold bridge skb->dev while queued
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ac28634456867b23b95faccba7997a62ec430603 before 950d809f154dca04e5fbe5d3c8b9c5e44769cd57, from ac28634456867b23b95faccba7997a62ec430603 before a698ac8ab2561cf575d2d9f34095032651dd952e, from ac28634456867b23b95faccba7997a62ec430603 before 19924bdd8a45ebc72a7b84c57fd63057d1dc75ac, from ac28634456867b23b95faccba7997a62ec430603 before 1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be, from ac28634456867b23b95faccba7997a62ec430603 before 3823c27099cfe2482299065814adbaa771be9644, from ac28634456867b23b95faccba7997a62ec430603 before 15d464265120ab9818bd673af301deee09bedab2, from ac28634456867b23b95faccba7997a62ec430603 before 3fb0f5c0f64162a8c3f25616a4f1e340b921737f, from ac28634456867b23b95faccba7997a62ec430603 before e196115ec330a18de415bdb9f5071aa9f08e53ce and 1 more Not affected: before 4.7, from 5.10.259 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.142 up to 6.6.*, from 6.12.92 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.7 before 5.10.259, from 5.11 before 5.15.209, from 5.16 before 6.1.175, from 6.2 before 6.6.142, from 6.7 before 6.12.92, from 6.13 before 6.18.34, from 6.19 before 7.0.11, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-52912 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-52912 changed 2026-11-10 | Public domain |