VDB

CVE-2026-43333

CVE-2026-43333 PUBLISHED

bpf: reject direct access to nullable PTR_TO_BUF pointers

Reported by linux · Published May 8, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.168-202.320.amzn2023
kernel6.18-develAmazon Linux1:6.18.25-52.107.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.83-113.160.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.25-52.107.amzn2023
bpftool6.12Amazon Linux1:6.12.83-113.160.amzn2023
kernel6.18Amazon Linux1:6.18.25-52.107.amzn2023
kernel-livepatch-6.18.25-52.107Amazon Linux1:1.0-0.amzn2023

Affected products

VendorProductVersions
LinuxLinuxb453361384c2db1c703dacb806d5fd36aec4ceca, 20b2aff4bc15bda809f994761d5719827d66c0b4, 20b2aff4bc15bda809f994761d5719827d66c0b4
LinuxLinux5.17, 0, 5.15.203
amazon:2023kernel0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.18.25-52.1070
amazon:2023kernel-libbpf0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.180
amazon:2023kernel-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.168-202.3200

…and 20 more

Timeline

  • May 8, 2026 CVE Published
  • May 8, 2026 Security Advisory (81 in total, the first dated here)
  • May 18, 2026 EPSS Score (24 in total, the first dated here)
  • Aug 8, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (75 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-43333
vulnetix vdb fixes CVE-2026-43333

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-43333/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›