# CVE-2026-80844: xfrm: ah6: validate routing header segments_left

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 9% of CVEs (2026-11-30)
- Published: 2026-09-04T15:54:54.295Z
- Modified: 2026-11-06T17:19:59.287Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2dc650956e4e163b879b3fb1027f9557abc5c985; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 48b0e36cf54358276ee7aa897034c973097d2bc9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1b7e066eabcc7d6d8f476c34739b45932f2f4c31; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f00df8500e5a36ba70d336fd34bd2152ea074e5f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1516e31ac458a738be485620579d8f7fb2700fcb; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6733ae71268a27d598cfb3f3339a3c950b9b656d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0bf11081ad3753938a2b48723ce6298dbac743a1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 46640c814f25f096b0b0045ca50e1b7030cd8a30; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7bad4bda74dc4713f398d3b7624ff05478e3a568; 2.6.12 (not affected: before 2.6.12; from 5.10.269 up to 5.10.*; from 5.15.220 up to 5.15.*; from 6.1.187 up to 6.1.*; from 6.6.156 up to 6.6.*; from 6.12.108 up to 6.12.*; from 6.18.49 up to 6.18.*; from 7.1.13 up to 7.1.*; from 7.2.3 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2dc650956e4e163b879b3fb1027f9557abc5c985>
- <https://git.kernel.org/stable/c/48b0e36cf54358276ee7aa897034c973097d2bc9>
- <https://git.kernel.org/stable/c/1b7e066eabcc7d6d8f476c34739b45932f2f4c31>
- <https://git.kernel.org/stable/c/f00df8500e5a36ba70d336fd34bd2152ea074e5f>
- <https://git.kernel.org/stable/c/1516e31ac458a738be485620579d8f7fb2700fcb>
- <https://git.kernel.org/stable/c/6733ae71268a27d598cfb3f3339a3c950b9b656d>
- <https://git.kernel.org/stable/c/0bf11081ad3753938a2b48723ce6298dbac743a1>
- <https://git.kernel.org/stable/c/46640c814f25f096b0b0045ca50e1b7030cd8a30>
- <https://git.kernel.org/stable/c/7bad4bda74dc4713f398d3b7624ff05478e3a568>

## Sources

- CVE List: [CVE-2026-80844](https://www.cve.org/CVERecord?id=CVE-2026-80844), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-80844](https://nvd.nist.gov/vuln/detail/CVE-2026-80844), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-80844 · Whole record: https://cve.day/CVE-2026-80844.json · Rebuilt by cve.day 2026-11-25T22:59:36.347Z
