CVE-2026-98034

bpf: Mark NULL kptr stores precise

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 21, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 to before 86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4Affected
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 to before b8b98d3d37908402ff63515fa4d7574235436ea8Affected
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 to before bb667eb575c906f24c707986541a99424c5b07eaAffected
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 to before 86168208737bdd267d92d855d453d1d2f840df19Affected
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 to before ecdc5043794c9184aa8e6c814603899479c46b35Affected
  • b5a8069835e5236824a84281592d29f859b33153Affected
  • 5.18.18 to before 5.19Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.