CVE-2026-43333
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 1:6.1.168-202.320.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.25-52.107.amzn2023 |
| kernel-livepatch-6.18.25-52.107 | Amazon Linux | 1:1.0-0.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b453361384c2db1c703dacb806d5fd36aec4ceca, 20b2aff4bc15bda809f994761d5719827d66c0b4, 20b2aff4bc15bda809f994761d5719827d66c0b4 |
| Linux | Linux | 5.17, 0, 5.15.203 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-52.107 | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.168-202.320 | 0 |
…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