CVE-2026-53032
bpf: Fix NULL deref in map_kptr_match_type for scalar regs
Reported by linux · Published June 24, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL deref in map_kptr_match_type for scalar regs Commit ab6c637ad027 ("bpf: Fix a bpf_kptr_xchg() issue with local kptr") refactored map_kptr_match_type() to branch on btf_is_kernel() before checking base_type(). A scalar register stored into a kptr slot has no btf, so the btf_is_kernel(reg->btf) call dereferences NULL. Move the base_type() != PTR_TO_BTF_ID guard before any reg->btf access.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-headers | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| linux_kernel | linux | 7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ab6c637ad0276e42f8acabcbc64932a6d346dab3, ab6c637ad0276e42f8acabcbc64932a6d346dab3, ab6c637ad0276e42f8acabcbc64932a6d346dab3 |
| Linux | Linux | 6.6, 0, 6.6.141 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.4.16, 6.6, 6.6 |
| amazon:2023 | kernel-livepatch-6.18.33-63.124 | 0 |
| Linux | Linux | 7.1, *, * |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.92-122.166 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
…and 6 more
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 Coalition ESS Score
- Jun 26, 2026 EPSS Score (8 in total, the first dated here)
- Aug 10, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Aug 11, 2026 Security Advisory (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53032
vulnetix vdb fixes CVE-2026-53032
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-53032/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart