CVE-2026-98034 bpf: Mark NULL kptr stores precise
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.18.18 이상 5.19 미만
- 5.19
해결 버전
- 5.19 이상
- 5.19 미만
- 6.6.160 이상
- 6.12.114 이상
- 6.18.57 이상
- 7.2.7 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/86168208737bdd267d92d855d453d1d2f840df19 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/86a3171c90bfc35a54e9d83cd197ca0d72d2f4e4 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b8b98d3d37908402ff63515fa4d7574235436ea8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bb667eb575c906f24c707986541a99424c5b07ea (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ecdc5043794c9184aa8e6c814603899479c46b35 (새 창)