CVE-2026-98599
bpf: Reject non-negative offsets in stack_slot_obj_get_spi()
Mitigation
- Upgrade Linux to 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 or later.
Who should check
- Anyone running Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 79a9172f3ab4ad8392c5e5c8944b9b7710ade620
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 79a9172f3ab4ad8392c5e5c8944b9b7710ade620; Linux 6.4
- Fixed in
- Linux 89a7241fc7ecc1b5e47c3f071081e314523b8d9d, Linux 79a9172f3ab4ad8392c5e5c8944b9b7710ade620
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-negative offsets in stack_slot_obj_get_spi() bpf_get_spi() computes (-off - 1) / BPF_REG_SIZE using C division, which truncates toward zero. For off == 0, this produces spi 0, the same index used by the valid stack slot at fp-8. stack_slot_obj_get_spi() currently checks alignment and the resulting spi bounds, but does not reject the non-negative offset itself. It can therefore validate a PTR_TO_STACK register holding fp+0 against an iterator stored at fp-8 even though the runtime receives the actual fp+0 pointer. An effectful iterator kfunc can then interpret memory outside the BPF stack as iterator state. Reject non-negative offsets before converting the offset to an spi. All valid stack objects begin at a negative offset from the frame pointer.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98599. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98599.md Affected: Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 79a9172f3ab4ad8392c5e5c8944b9b7710ade620; Linux 6.4 Fixed in: Linux 89a7241fc7ecc1b5e47c3f071081e314523b8d9d, Linux 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98599 being exploited?
There is no confirmed exploitation: CVE-2026-98599 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98599?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98599?
Linux >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; >= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, < 79a9172f3ab4ad8392c5e5c8944b9b7710ade620; Linux 6.4.
Is there a fix for CVE-2026-98599?
Yes. Fixed in Linux 89a7241fc7ecc1b5e47c3f071081e314523b8d9d, Linux 79a9172f3ab4ad8392c5e5c8944b9b7710ade620. Upgrade Linux to 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 or later.
How do I check if I'm affected by CVE-2026-98599?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.