CVE-2026-43333 bpf: reject direct access to nullable PTR_TO_BUF pointers
설명
In the Linux kernel, the following vulnerability has been resolved: bpf: reject direct access to nullable PTR_TO_BUF pointers check_mem_access() matches PTR_TO_BUF via base_type() which strips PTR_MAYBE_NULL, allowing direct dereference without a null check. Map iterator ctx->key and ctx->value are PTR_TO_BUF | PTR_MAYBE_NULL. On stop callbacks these are NULL, causing a kernel NULL dereference. Add a type_may_be_null() guard to the PTR_TO_BUF branch, matching the existing PTR_TO_BTF_ID pattern.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15.37 이상 5.15.203 미만
- 5.16.11 이상 5.17 미만
- 5.17
해결 버전
- 5.15.203 이상
- 5.17 이상
- 5.17 미만
- 6.1.168 이상
- 6.6.134 이상
- 6.12.81 이상
- 6.18.22 이상
- 6.19.12 이상