Skip to main content
← All vulnerabilities
CVE-2026-43333

bpf: reject direct access to nullable PTR_TO_BUF pointers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.203, 5.17
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.37 · fixed in 5.15.203; From 5.16.11 · fixed in 5.17

  • Linux Linux

    5.17

References 7

git.kernel.org