Improper Validation of Specified Index, Position, or Offset in Input in Linux kernel - CVE-2026-98599
Published: October 22, 2026
Vulnerability details
The vulnerability allows a local user to cause an iterator operation to access memory outside the BPF stack, potentially corrupting kernel memory.
The vulnerability exists due to improper validation of stack offsets in stack_slot_obj_get_spi() in the Linux kernel BPF verifier when validating stack pointers passed to iterator kfuncs. A local user can submit a BPF program using an fp+0 pointer that is incorrectly validated against iterator state at fp-8 because the offset calculation maps both locations to stack slot index 0, causing an effectful iterator kfunc to interpret memory outside the BPF stack as iterator state.
Affected software
Ubuntu
linux (Ubuntu package)
linux-aws (Ubuntu package)
linux-gcp (Ubuntu package)
linux-oracle (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-98599
linux (Ubuntu package) - update to 7.0.0-42.42
linux-aws (Ubuntu package) - update to 7.0.0-1016.17
linux-gcp (Ubuntu package) - update to 7.0.0-1016.18
linux-oracle (Ubuntu package) - update to 7.0.0-1015.16
linux-ibm (Ubuntu package) - update to 7.0.0-1017.17
linux-hwe-7.0 (Ubuntu package) - update to 7.0.0-42.42~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1017.17