# CVE-2026-98034: bpf: Mark NULL kptr stores precise

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:49.352Z
- Modified: 2026-10-21T13:21:19.607Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 61df10c7799e27807ad5e459eec9d77cddf8bf45 before 86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4; from 61df10c7799e27807ad5e459eec9d77cddf8bf45 before b8b98d3d37908402ff63515fa4d7574235436ea8; from 61df10c7799e27807ad5e459eec9d77cddf8bf45 before bb667eb575c906f24c707986541a99424c5b07ea; from 61df10c7799e27807ad5e459eec9d77cddf8bf45 before 86168208737bdd267d92d855d453d1d2f840df19; from 61df10c7799e27807ad5e459eec9d77cddf8bf45 before ecdc5043794c9184aa8e6c814603899479c46b35; b5a8069835e5236824a84281592d29f859b33153; from 5.18.18 before 5.19; 5.19 (not affected: before 5.19; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4>
- <https://git.kernel.org/stable/c/b8b98d3d37908402ff63515fa4d7574235436ea8>
- <https://git.kernel.org/stable/c/bb667eb575c906f24c707986541a99424c5b07ea>
- <https://git.kernel.org/stable/c/86168208737bdd267d92d855d453d1d2f840df19>
- <https://git.kernel.org/stable/c/ecdc5043794c9184aa8e6c814603899479c46b35>

## Sources

- CVE List: [CVE-2026-98034](https://www.cve.org/CVERecord?id=CVE-2026-98034), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98034](https://nvd.nist.gov/vuln/detail/CVE-2026-98034), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-98034 · Whole record: https://cve.day/CVE-2026-98034.json · Rebuilt by cve.day 2026-11-25T22:59:41.031Z
