CVE-2026-53032
bpf: Fix NULL deref in map_kptr_match_type for scalar regs
Description
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.
INFO
Published Date :
June 24, 2026, 5:17 p.m.
Last Modified :
July 14, 2026, 7:38 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply commit ab6c637ad027 or later.
- Ensure btf_is_kernel() is checked before reg->btf access.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53032.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53032 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53032
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53032 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53032 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 14, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.4.16 up to (excluding) 6.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.5.3 up to (excluding) 6.6.141 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0a36c1f72888bca0237295a4da19cd91821a90be Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/520454e839710c327808c2fcc98e28cee77355fc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6982653ce5f119982aa58f1af58e7bfbebf39252 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/da1d615ce49a47986a8864e2371a26e97861085c Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'ab6c637ad0276e42f8acabcbc64932a6d346dab3', 'lessThan': '520454e839710c327808c2fcc98e28cee77355fc', 'versionType': 'git'}, {'status': 'affected', 'version': 'ab6c637ad0276e42f8acabcbc64932a6d346dab3', 'lessThan': '0a36c1f72888bca0237295a4da19cd91821a90be', 'versionType': 'git'}, {'status': 'affected', 'version': 'ab6c637ad0276e42f8acabcbc64932a6d346dab3', 'lessThan': '6982653ce5f119982aa58f1af58e7bfbebf39252', 'versionType': 'git'}, {'status': 'affected', 'version': 'ab6c637ad0276e42f8acabcbc64932a6d346dab3', 'lessThan': 'da1d615ce49a47986a8864e2371a26e97861085c', 'versionType': 'git'}, {'status': 'affected', 'version': 'ab6c637ad0276e42f8acabcbc64932a6d346dab3', 'lessThan': '4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad', 'versionType': 'git'}, {'status': 'affected', 'version': 'af3d2e0f3a54e67806959d161e613457772babc5', 'versionType': 'git'}, {'status': 'affected', 'version': '4782968e0d631b0d8944dcfd4bf8fb49be087101', 'versionType': 'git'}, {'status': 'affected', 'version': '6.4.16', 'lessThan': '6.5', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.5.3', 'lessThan': '6.6', 'versionType': 'semver'}], 'programFiles': ['kernel/bpf/verifier.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/bpf/verifier.c'], 'defaultStatus': 'affected'}] Added Description 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. Added Reference https://git.kernel.org/stable/c/0a36c1f72888bca0237295a4da19cd91821a90be Added Reference https://git.kernel.org/stable/c/4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad Added Reference https://git.kernel.org/stable/c/520454e839710c327808c2fcc98e28cee77355fc Added Reference https://git.kernel.org/stable/c/6982653ce5f119982aa58f1af58e7bfbebf39252 Added Reference https://git.kernel.org/stable/c/da1d615ce49a47986a8864e2371a26e97861085c