CVE-2026-98034

bpf: Mark NULL kptr stores precise

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.

Key facts

Published
25 Sep 2026
Last changed
21 Oct 2026
Assigned by
Linux
EPSS
0.201% likely to be exploited in the next 30 days, higher than 9.998% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 up to but excluding 86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4 (affected)
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 up to but excluding b8b98d3d37908402ff63515fa4d7574235436ea8 (affected)
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 up to but excluding bb667eb575c906f24c707986541a99424c5b07ea (affected)
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 up to but excluding 86168208737bdd267d92d855d453d1d2f840df19 (affected)
  • 61df10c7799e27807ad5e459eec9d77cddf8bf45 up to but excluding ecdc5043794c9184aa8e6c814603899479c46b35 (affected)
  • b5a8069835e5236824a84281592d29f859b33153 (affected)
  • 5.18.18 up to but excluding 5.19 (affected)
LinuxLinux
  • Default status: affected
  • 5.19 (affected)
  • 0 up to but excluding 5.19 (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.114 up to and including 6.12.* (unaffected)
  • 6.18.57 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References