macvlan: inherit needed_headroom and needed_tailroom from lowerdev (Linux Linux)

CVE-2026-74743
CRITICAL 9.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: macvlan: inherit needed_headroom and needed_tailroom from lowerdev macvlan devices inherit hard_header_len from lowerdev during macvlan_init(), but leave needed_headroom and needed_tailroom set to 0. When the underlying lowerdev requires extra headroom or tailroom for headers/trailers (e.g. macsec, ipsec, wireguard, tunnels, or veth with rx headroom), upper layers calculating packet headroom and tailroom fail to reserve sufficient space. This can result in reallocation overhead, skb headroom underflows, or KASAN slab-use-after-free crashes when dev_hard_header() / macvlan_hard_header() prepends header data or when lower devices append tailroom. Fix this by: 1. Inheriting needed_headroom and needed_tailroom from lowerdev in macvlan_init(). 2. Propagating needed_headroom and needed_tailroom updates to attached macvlans in macvlan_device_event() when receiving NETDEV_FEAT_CHANGE events.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/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 b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < c2ef3f134b069c54b9cc95cce1a16c38c4939336 ; affected b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < 7b0eb3e0f363ca79a3af9efd2e87c6258f11da2b ; affected b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < 8cd90e850e434577bf6774778657d26d6995e53f ; affected b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < 28afc87bd8da0b3348bbbd834c8a89e83712cf5e ; affected b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < 8f6a05dbac05725e0786701eb04778c5bdbe4eaa ; affected b863ceb7ddcea8c55fcf1d7b2ac591d50aa7ed53 < 96fa90b74385b7f2b0d97251dd43d5ee6ca44668
Linux · Linuxaffected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.153 ≤ 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