net/ipv6: ioam6: prevent schema length wraparound in trace fill (Linux Linux)

CVE-2026-43341
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.51 % · percentile 44 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/ipv6: ioam6: prevent schema length wraparound in trace fill ioam6_fill_trace_data() stores the schema contribution to the trace length in a u8. With bit 22 enabled and the largest schema payload, sclen becomes 1 + 1020 / 4, wraps from 256 to 0, and bypasses the remaining-space check. __ioam6_fill_trace_data() then positions the write cursor without reserving the schema area but still copies the 4-byte schema header and the full schema payload, overrunning the trace buffer. Keep sclen in an unsigned int so the remaining-space check and the write cursor calculation both see the full schema length.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8c6f6fa6772696be0c047a711858084b38763728 < d3a1fb2ca323d7a4e10ab3afbfa25e6d8921e4f2 ; affected 8c6f6fa6772696be0c047a711858084b38763728 < e96d48b37708d53cbdc47f6f60b0714fc4a5f596 ; affected 8c6f6fa6772696be0c047a711858084b38763728 < d1b041080086e91d3733a5438a8c51ad5d3d8e09 ; affected 8c6f6fa6772696be0c047a711858084b38763728 < 77695a69baca9b99d95fad09fc78c2318736604f ; affected 8c6f6fa6772696be0c047a711858084b38763728 < 184d2e9db27c0f76226b5cad16fe29510a5d2280 ; affected 8c6f6fa6772696be0c047a711858084b38763728 < d6e1c9b02d85a4f1f4ba6d68e916d9b610a3ed7d
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.134 ≤ 6.6.* ; unaffected 6.12.81 ≤ 6.12.*

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