packet: use consistent hard_header_len in TX_RING send path (Linux Linux)

CVE-2026-74668
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: packet: use consistent hard_header_len in TX_RING send path tpacket_snd() reads dev->hard_header_len independently for skb allocation and header construction in tpacket_fill_skb(). Concurrent netdevice reconfiguration can therefore make the reserved headroom smaller than the amount later pushed, or make copylen - hard_header_len negative. Snapshot hard_header_len once before processing ring frames and use it for the frame limit, headroom allocation, copy length, and skb construction. Pass the snapshot to tpacket_fill_skb(). The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.

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

Produits affectés

ProduitVersions
Linux · Linuxaffected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < 9c7e8ff48c377bef18c3d178748aea0575b69ede ; affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < 2a73b2c37ee3060a880b53cd24783d93fc7be5f8 ; affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < e79f59a8527a49078cfaf8fe8fb5fcefc20c76d2 ; affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < d85d2fd54e901637c81d847811e03c662aee13cd ; affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < 016763e829cac37b3234eace86fd0a4c560de4a7 ; affected 69e3c75f4d541a6eb151b3ef91f34033cb3ad6e1 < 27e068d1b35dbec10a3cf268887c94407be4badc
Linux · Linuxaffected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 5.10.267 ≤ 5.10.* ; unaffected 5.15.218 ≤ 5.15.* ; unaffected 6.1.185 ≤ 6.1.* ; unaffected 6.6.152 ≤ 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