# CVE-2026-98599: bpf: Reject non-negative offsets in stack\_slot\_obj\_get\_spi()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:19:11.941Z
- **Modified:** 2026-10-19T10:19:21.383Z

## Who should check

- Anyone running Linux \>= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, \< 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; \>= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, \< 79a9172f3ab4ad8392c5e5c8944b9b7710ade620
- Anyone running Linux 6.4

## 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

- Linux: \>= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, \< 89a7241fc7ecc1b5e47c3f071081e314523b8d9d; \>= 06accc8779c1d558a5b5a21f2ac82b0c95827ddd, \< 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 79a9172f3ab4ad8392c5e5c8944b9b7710ade620 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/89a7241fc7ecc1b5e47c3f071081e314523b8d9d>
- other: <https://git.kernel.org/stable/c/79a9172f3ab4ad8392c5e5c8944b9b7710ade620>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98599>

HTML: <https://flawdb.com/CVE-2026-98599> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98599>
