CVE-2026-43341

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

State
Published
Severity
9.8 Critical
Published
May 8, 2026
Updated
Oct 19, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • 8c6f6fa6772696be0c047a711858084b38763728 to before d3a1fb2ca323d7a4e10ab3afbfa25e6d8921e4f2Affected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before e96d48b37708d53cbdc47f6f60b0714fc4a5f596Affected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before d1b041080086e91d3733a5438a8c51ad5d3d8e09Affected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before 77695a69baca9b99d95fad09fc78c2318736604fAffected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before 184d2e9db27c0f76226b5cad16fe29510a5d2280Affected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before d6e1c9b02d85a4f1f4ba6d68e916d9b610a3ed7dAffected
  • 8c6f6fa6772696be0c047a711858084b38763728 to before 5e67ba9bb531e1ec6599a82a065dea9040b9ce50Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.