ip6_gre: fix hardware header length for NBMA tunnels (Linux Linux)

CVE-2026-89562
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: ip6_gre: fix hardware header length for NBMA tunnels ip6gre_tnl_link_config_route() accumulates the lower device's hardware header length into dev->hard_header_len whenever header_ops is set. This is incorrect for both users of header_ops. ip6gretap and ip6erspan have a fixed Ethernet hardware header length. For an NBMA ip6gre tunnel, ip6gre_header() creates only the GRE header, the optional FOU or GUE header, and the outer IPv6 header. The lower device header is headroom needed later, not part of the tunnel device's hardware header. Keep the lower device header in needed_headroom. Set hard_header_len to the tunnel header length only for ARPHRD_IP6GRE devices with header_ops, and leave the fixed Ethernet header length unchanged for tap and erspan devices.

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 832ba596494b2c9eac7760259eff2d8b7dcad0ee < cb1afd087aedc90e5274537e4fb9bf3f98e5afdb ; affected 832ba596494b2c9eac7760259eff2d8b7dcad0ee < 7719f6e7ed2ffddc2c3bb61f4467b76d49e0af6a ; affected 832ba596494b2c9eac7760259eff2d8b7dcad0ee < b1e95e3602d8e112458627f14c6c31c21f2188cb ; affected 832ba596494b2c9eac7760259eff2d8b7dcad0ee < c3457a5aae5fb43f7023d3f3dc472c2afa22acf0 ; affected 832ba596494b2c9eac7760259eff2d8b7dcad0ee < 8bfe746afee38dd6e4348ddcd22d554789dbb9ff ; affected 832ba596494b2c9eac7760259eff2d8b7dcad0ee < b8282668d8fa7c61b80e8e4890729031c291a16c
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 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