netfilter: nf_queue: hold bridge skb->dev while queued (Linux Linux)

CVE-2026-52912
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ac28634456867b23b95faccba7997a62ec430603 < 950d809f154dca04e5fbe5d3c8b9c5e44769cd57 ; affected ac28634456867b23b95faccba7997a62ec430603 < a698ac8ab2561cf575d2d9f34095032651dd952e ; affected ac28634456867b23b95faccba7997a62ec430603 < 19924bdd8a45ebc72a7b84c57fd63057d1dc75ac ; affected ac28634456867b23b95faccba7997a62ec430603 < 1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be ; affected ac28634456867b23b95faccba7997a62ec430603 < 3823c27099cfe2482299065814adbaa771be9644 ; affected ac28634456867b23b95faccba7997a62ec430603 < 15d464265120ab9818bd673af301deee09bedab2
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD