CVE-2026-43333

bpf: reject direct access to nullable PTR_TO_BUF pointers

MEDIUM
5.5
CVSS Score
Published: May 8, 2026 at 01:31 PM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.16.115.15.37 ≤ v < 5.15.2035.16.11 ≤ v < 5.175.16.11 ≤ v < 6.1.1685.17 ≤ v < 6.1.1685.17 ≤ v < 6.12.815.17 ≤ v < 6.18.225.17 ≤ v < 6.19.125.17 ≤ v < 6.6.1345.17 ≤ v < 7.06.13 ≤ v < 6.18.226.19 ≤ v < 6.19.126.2 ≤ v < 6.6.1346.7 ≤ v < 6.12.8120b2aff4bc15bda809f994761d5719827d66c0b45.15.375.16.115.177.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc6b453361384c2db1c703dacb806d5fd36aec4cecae982070f8970bb62e69ed7c9cafff886ed200349
Vendor states this is fixed in 10bc4a4dcded509c5d5c67d497900c3922c604cd (fixed)
Vendor states this is fixed in 21a10c06ffae24cb01fd174a7ab7736001d2ea56 (fixed)
Vendor states this is fixed in 4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09 (fixed)
Vendor states this is fixed in 63276547debc4d8a73eefb2c5273b2a905c961b0 (fixed)
Vendor states this is fixed in 70abd9d118da2f56beb4ec22e3a29becae373535 (fixed)
Vendor states this is fixed in 8755066f7bd0f4ac46a29d1708c7b20894539252 (fixed)
Vendor states this is fixed in b0db1accbc7395657c2b79db59fa9fae0d6656f3 (fixed)
Vendor states this is fixed in 5.15.203 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 6.1.168 (unaffected)
Vendor states this is fixed in 6.12.81 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.6.134 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card