bpf: Mark NULL kptr stores precise (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 10 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
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
European references
- ENISA EUVD · EUVD-2026-86687
- GCVE · GCVE-0-2026-98034
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 61df10c7799e27807ad5e459eec9d77cddf8bf45 < 86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4 affected : ≥ 61df10c7799e27807ad5e459eec9d77cddf8bf45 < b8b98d3d37908402ff63515fa4d7574235436ea8 affected : ≥ 61df10c7799e27807ad5e459eec9d77cddf8bf45 < bb667eb575c906f24c707986541a99424c5b07ea affected : ≥ 61df10c7799e27807ad5e459eec9d77cddf8bf45 < 86168208737bdd267d92d855d453d1d2f840df19 affected : ≥ 61df10c7799e27807ad5e459eec9d77cddf8bf45 < ecdc5043794c9184aa8e6c814603899479c46b35 affected : b5a8069835e5236824a84281592d29f859b33153 affected : ≥ 5.18.18 < 5.19 Other versions : unaffected |
| Linux · Linux | affected : 5.19 unaffected : ≥ 0 < 5.19 unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.7 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |