CVEvulnerability

CVE-2026-43333

5.5 MEDIUM Published 2026-05-08 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-05-08
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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 configurations

• linux linux kernel (>= 5.15.37 < 5.15.203) • linux linux kernel (>= 5.16.11 < 6.1.168) • linux linux kernel (>= 6.2 < 6.6.134) • linux linux kernel (>= 6.7 < 6.12.81) • linux linux kernel (>= 6.13 < 6.18.22) • linux linux kernel (>= 6.19 < 6.19.12) • linux linux kernel 7.0

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References