{"id":"CVE-2026-53032","summary":"bpf: Fix NULL deref in map_kptr_match_type for scalar regs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix NULL deref in map_kptr_match_type for scalar regs\n\nCommit ab6c637ad027 (\"bpf: Fix a bpf_kptr_xchg() issue with local\nkptr\") refactored map_kptr_match_type() to branch on btf_is_kernel()\nbefore checking base_type(). A scalar register stored into a kptr\nslot has no btf, so the btf_is_kernel(reg-\u003ebtf) call dereferences\nNULL.\n\nMove the base_type() != PTR_TO_BTF_ID guard before any reg-\u003ebtf\naccess.","modified":"2026-11-13T04:06:12.143448992Z","published":"2026-06-24T16:29:39.916Z","related":["SUSE-SU-2026:23066-1","SUSE-SU-2026:23068-1","SUSE-SU-2026:23193-1","SUSE-SU-2026:23194-1","SUSE-SU-2026:23221-1","SUSE-SU-2026:23231-1","SUSE-SU-2026:23237-1","SUSE-SU-2026:23241-1","SUSE-SU-2026:23244-1","SUSE-SU-2026:3790-1","SUSE-SU-2026:3810-1","openSUSE-SU-2026:21555-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53032.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a36c1f72888bca0237295a4da19cd91821a90be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d0a375887ab4d49e4da1ff10f9606cab8f7c3ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/520454e839710c327808c2fcc98e28cee77355fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6982653ce5f119982aa58f1af58e7bfbebf39252"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da1d615ce49a47986a8864e2371a26e97861085c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53032.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53032"},{"type":"PACKAGE","url":"https://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":"af3d2e0f3a54e67806959d161e613457772babc5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4782968e0d631b0d8944dcfd4bf8fb49be087101"}]}],"versions":["v6.4.16","v6.5.13","v6.5.12","v6.5.11","v6.5.10","v6.5.9","v6.5.8","v6.5.7","v6.5.6","v6.5.5","v6.5.4","v6.5.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53032.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.16"},{"fixed":"6.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.5.3"},{"fixed":"6.6"}]},{"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/osv-test-cve-osv-conversion/osv-output/CVE-2026-53032.json"}}],"schema_version":"1.9.2"}