Impact
The vulnerability arises in the Linux kernel BPF subsystem, where stack_slot_obj_get_spi() fails to reject non-negative stack offsets before converting them into a stack pointer index. This oversight allows a BPF iterator to validate a register holding a pointer to the frame pointer (fp+0) against an iterator stored at fp-8. Consequently, an effectful iterator function can interpret memory outside the intended BPF stack range as iterator state. The result is a kernel-space out-of-bounds read that may expose kernel memory contents or cause a crash.
Affected Systems
This flaw affects all versions of the Linux kernel that include the erroneous stack_slot_obj_get_spi() logic referenced in the patches 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 and 89a7241fc7ecc1b5e47c3f071081e314523b8d9d. Specific affected releases are not enumerated; any kernel lacking these commits is vulnerable.
Risk and Exploitability
The CVSS score is 6.7 and the EPSS score is < 1%, indicating a moderate severity and low probability of exploitation. The flaw enables a kernel-space memory read that can leak sensitive information, and it is not currently listed in CISA’s KEV catalog.
OpenCVE Enrichment