CVE-2026-98132

Source
https://cve.org/CVERecord?id=CVE-2026-98132
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98132.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98132
Downstream
Published
2026-09-25T10:36:11Z
Modified
2026-09-26T03:48:32Z
Summary
bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO

states.c:__clean_func_state() can downgrade scalar zero spill to STACK_ZERO in the following case:

*(u64 *)(r10 - 8) = 0; ... checkpoint ... r1 = *(u32 *)(r10 - 4); ... no reads from r10-8 ...

Here 4 bytes at r10-8 are dead and verifier changes scalar spill to a combination: 0000pppp (p stands for poison). Such a change breaks precision propagation chains. All places that produce STACK_ZERO should call bpf_mark_chain_precision() for the zero source.

This patch fixes the bug in a simplest way possible: avoids converting stack spills of zero to STACK_ZERO. Two smarter approaches are possible:

  • do bpf_mark_chain_precision() from __clean_func_state()
  • check slot liveness information in check_stack_write_fixed_off()

I investigated both and the changes required are a bit tricky, hence go with a simple fix for the time being.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98132.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
be23266b4a08540aa43d8503a2ea10247c8daebe
Fixed
436fa689630b741a77ef8c4a6f426479affd5bac
Fixed
2f3536bff8823d3c5fdbbe15e17bfca696cc2b2e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98132.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98132.json"