HIGH Introduced in 6.10
cipso CachedOffset OOB
CVE-2026-99064
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
KernelScan AI9.8CRITICAL
01Description
In the Linux kernel, the following vulnerability has been resolved: cipso: adjust cached option offsets when removing CIPSO cipso_v4_skbuff_delattr() removes the CIPSO bytes but does not adjust cached offsets for options that follow them. For example, with a valid 10-byte CIPSO option followed by a seven-byte RR option, parsing records rr at offset 30. Removing CIPSO moves RR to offset 20, while the cached offset remains 30. Consumers such as ip_forward_options() and __ip_options_echo() then access the wrong bytes; the latter may interpret packet data as the option length and copy it into fixed-size option storage. Mirror cipso_v4_delopt() and subtract cipso_len from the srr, rr, ts and router_alert offsets when they follow CIPSO. cipso_len is the distance the first memmove() shifts those options. The later header move and network-header reset relocate the bytes and their offset base together.
02KernelScan AI Analysis
Risk summary
Any device processing IPv4 packets with CIPSO options is vulnerable to remote kernel memory corruption. An unauthenticated network attacker can send a crafted packet with a CIPSO option followed by another IP option (e.g., Record Route) to trigger out-of-bounds reads and writes, potentially leading to kernel information disclosure, privilege escalation, or denial of service.
Vulnerability analysis
When the kernel strips a CIPSO security option from an incoming IPv4 packet, it moves the remaining options to close the gap but does not update the internal bookkeeping that records where each option starts. Later code that processes these options — for example, when forwarding the packet or generating an ICMP reply — then reads or writes at the wrong offsets, potentially accessing adjacent kernel memory. The fix updates those stored offsets to match the new option positions, matching the logic already used in a related code path. Any remote sender can trigger this by transmitting a crafted IPv4 packet that contains a CIPSO option followed by another IP option; no authentication or local access is needed.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.12 | 6.10 | 6.12.113 | b965977126a9 |
| 6.18 | 6.10 | 6.18.57 | 2200fe1d6148 |
| 7.2 | 6.10 | 7.2.11 | 6e49d611a9cf |
| mainline | 6.10 | 7.3 | 6d25ffca055a |
| cip/6.12 | 6.10 | 6.12.114-cip34 | b965977126a9 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |