# CVE-2026-43333: bpf: reject direct access to nullable PTR_TO_BUF pointers

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-08T13:31:20.107Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b453361384c2db1c703dacb806d5fd36aec4ceca before 10bc4a4dcded509c5d5c67d497900c3922c604cd; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before 21a10c06ffae24cb01fd174a7ab7736001d2ea56; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before 8755066f7bd0f4ac46a29d1708c7b20894539252; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before 70abd9d118da2f56beb4ec22e3a29becae373535; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before 63276547debc4d8a73eefb2c5273b2a905c961b0; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before 4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09; from 20b2aff4bc15bda809f994761d5719827d66c0b4 before b0db1accbc7395657c2b79db59fa9fae0d6656f3; e982070f8970bb62e69ed7c9cafff886ed200349; from 5.15.37 before 5.15.203; from 5.16.11 before 5.17; 5.17 (not affected: before 5.17; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15.37 before 5.15.203; from 5.16.11 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/10bc4a4dcded509c5d5c67d497900c3922c604cd> (patch)
- <https://git.kernel.org/stable/c/21a10c06ffae24cb01fd174a7ab7736001d2ea56> (patch)
- <https://git.kernel.org/stable/c/8755066f7bd0f4ac46a29d1708c7b20894539252> (patch)
- <https://git.kernel.org/stable/c/70abd9d118da2f56beb4ec22e3a29becae373535> (patch)
- <https://git.kernel.org/stable/c/63276547debc4d8a73eefb2c5273b2a905c961b0> (patch)
- <https://git.kernel.org/stable/c/4f6c99dc0420f1a3d671c1b8ab8a7ac84d9cba09> (patch)
- <https://git.kernel.org/stable/c/b0db1accbc7395657c2b79db59fa9fae0d6656f3> (patch)

## Sources

- CVE List: [CVE-2026-43333](https://www.cve.org/CVERecord?id=CVE-2026-43333), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43333](https://nvd.nist.gov/vuln/detail/CVE-2026-43333), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43333 · Whole record: https://cve.day/CVE-2026-43333.json · Rebuilt by cve.day 2026-11-25T22:59:20.999Z
