xfrm: ah6: validate routing header segments_left (Linux Linux)

CVE-2026-80844
Non disponible

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: ah6: validate routing header segments_left AH6 rearranges routing-header addresses before computing or verifying the ICV. ipv6_rearrange_rthdr() assumes that segments_left is not larger than the number of addresses described by the routing header's hdrlen field. That assumption does not hold for raw IPv6 HDRINCL packets. A packet with hdrlen equal to 2 describes one address, but can carry an arbitrary segments_left value. With segments_left equal to 255, the function moves its address pointer 4,064 bytes backwards and passes a 4,064-byte length to memmove(), resulting in an out-of-bounds access. Validate the invariant locally before modifying the routing header or performing any address-pointer arithmetic, and propagate malformed-header errors to the existing AH6 input and output error paths.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2dc650956e4e163b879b3fb1027f9557abc5c985 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 48b0e36cf54358276ee7aa897034c973097d2bc9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1b7e066eabcc7d6d8f476c34739b45932f2f4c31 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f00df8500e5a36ba70d336fd34bd2152ea074e5f ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1516e31ac458a738be485620579d8f7fb2700fcb ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6733ae71268a27d598cfb3f3339a3c950b9b656d
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 5.10.269 ≤ 5.10.* ; unaffected 5.15.220 ≤ 5.15.* ; unaffected 6.1.187 ≤ 6.1.* ; unaffected 6.6.156 ≤ 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