CVE-2026-98034

Source
https://cve.org/CVERecord?id=CVE-2026-98034
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98034.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98034
Downstream
Related
Published
2026-09-25T10:23:49Z
Modified
2026-10-16T02:47:51Z
Summary
bpf: Mark NULL kptr stores precise
Details

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

bpf: Mark NULL kptr stores precise

check_map_kptr_access() permits a scalar store into an untrusted kptr field only when the register is known to contain zero. Unlike other verifier checks whose outcome depends on a scalar value, it does not mark that register precise.

A state checkpoint reached with an imprecise zero can therefore prune a second path that reaches the store with an arbitrary nonzero scalar. The program can write attacker-controlled bits into the kptr field and load them back as a PTR_TO_BTF_ID.

Call mark_chain_precision() before accepting a known-zero register. This forces state equivalence to compare its scalar range and makes the verifier visit and reject a path carrying a nonzero value.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98034.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
61df10c7799e27807ad5e459eec9d77cddf8bf45
Fixed
bb667eb575c906f24c707986541a99424c5b07ea
Fixed
86168208737bdd267d92d855d453d1d2f840df19
Fixed
ecdc5043794c9184aa8e6c814603899479c46b35
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.18.18
Fixed
5.19
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b5a8069835e5236824a84281592d29f859b33153

Affected versions

v5.*
v5.18.18
v5.18.19

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.18.57
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

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