CVE-2026-43333

MEDIUM

bpf: reject direct access to nullable PTR_TO_BUF pointers

Title source: cna
STIX 2.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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (27)
linux/Kernel < 5.15.203linux
linux/Kernel 5.16.0 - 6.1.168linux
linux/Kernel 5.17.0 - 6.6.134linux
linux/Kernel 6.13.0 - 6.19.12linux
linux/Kernel 6.2.0 - 6.12.81linux
linux/Kernel 6.7.0 - 6.18.22linux
Linux/Linux < 5.17
Linux/Linux 20b2aff4bc15bda809f994761d5719827d66c0b4 - 21a10c06ffae24cb01fd174a7ab7736001d2ea56
Linux/Linux 20b2aff4bc15bda809f994761d5719827d66c0b4 - 4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09
Linux/Linux 20b2aff4bc15bda809f994761d5719827d66c0b4 - 63276547debc4d8a73eefb2c5273b2a905c961b0
... and 17 more
Published May 08, 2026
Tracked Since May 08, 2026