CVE-2026-53032

Source
https://cve.org/CVERecord?id=CVE-2026-53032
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53032.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53032
Downstream
BELL (1)
DEBIAN (1)
openSUSE (1)
ROOT (1)
SUSE (11)
UBUNTU (1)
Related
Published
2026-06-24T16:29:39Z
Modified
2026-10-08T02:51:04Z
Summary
bpf: Fix NULL deref in map_kptr_match_type for scalar regs
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53032.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ab6c637ad0276e42f8acabcbc64932a6d346dab3
Fixed
520454e839710c327808c2fcc98e28cee77355fc
Fixed
0a36c1f72888bca0237295a4da19cd91821a90be
Fixed
6982653ce5f119982aa58f1af58e7bfbebf39252
Fixed
da1d615ce49a47986a8864e2371a26e97861085c
Fixed
4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.4.16
Fixed
6.5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.5.3
Fixed
6.6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
af3d2e0f3a54e67806959d161e613457772babc5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4782968e0d631b0d8944dcfd4bf8fb49be087101

Affected versions

v6.*
v6.4.16
v6.5.10
v6.5.11
v6.5.12
v6.5.13
v6.5.3
v6.5.4
v6.5.5
v6.5.6
v6.5.7
v6.5.8
v6.5.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53032.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.0
Fixed
6.6.141
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.91
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53032.json"