CVE-2026-52912

HIGH

netfilter: nf_queue: hold bridge skb->dev while queued

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0014
EPSS Percentile 3.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (27)
linux/Kernel 4.7.0 - 5.10.259linux
linux/Kernel 5.11.0 - 5.15.209linux
linux/Kernel 5.16.0 - 6.1.175linux
linux/Kernel 6.13.0 - 6.18.34linux
linux/Kernel 6.19.0 - 7.0.11linux
linux/Kernel 6.2.0 - 6.6.142linux
linux/Kernel 6.7.0 - 6.12.92linux
Linux/Linux < 4.7
Linux/Linux 4.7
Linux/Linux 5.10.259 - 5.10.*
... and 17 more
Published Jun 24, 2026
Tracked Since Jun 24, 2026