VDB

CVE-2026-53032

CVE-2026-53032 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.33-63.124.amzn2023
linux_kernellinux7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.5

Affected products

VendorProductVersions
LinuxLinuxab6c637ad0276e42f8acabcbc64932a6d346dab3, ab6c637ad0276e42f8acabcbc64932a6d346dab3, ab6c637ad0276e42f8acabcbc64932a6d346dab3
LinuxLinux6.6, 0, 6.6.141
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.4.16, 6.6, 6.6
amazon:2023kernel-livepatch-6.18.33-63.1240
LinuxLinux7.1, *, *
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra0

…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

References

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