{"id":"CVE-2026-64353","summary":"bpf: Keep dynamic inner array lookups nullable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Keep dynamic inner array lookups nullable\n\nAn ARRAY_OF_MAPS can use an array created with BPF_F_INNER_MAP as its\ninner map template. A concrete inner array with a different max_entries\nvalue can then replace the template.\n\nAfter a successful outer map lookup, the verifier represents the\nresulting map pointer using the inner map template. Const-key lookup\nnullness elision consequently uses the template max_entries even though\nthe runtime helper uses the concrete inner map max_entries.\n\nDo not elide lookup result nullness for maps marked with BPF_F_INNER_MAP,\nbecause the template max_entries does not prove that the key is in bounds\nfor the concrete runtime map.","modified":"2026-07-27T04:03:21.736190906Z","published":"2026-07-25T08:50:12.120Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64353.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b92ad64d6e4bde85e6b9888404f9a7a2b65d269"},{"type":"WEB","url":"https://git.kernel.org/stable/c/53040a81ae57cdca8af8ac36fe4e661730cf7c6b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d57db0d975053e01410c54e708a85b6d32ef2ebd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64353.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64353"},{"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":"d2102f2f5d75a84dbab6ff890359f0bd4a18ca22"},{"fixed":"0b92ad64d6e4bde85e6b9888404f9a7a2b65d269"},{"fixed":"d57db0d975053e01410c54e708a85b6d32ef2ebd"},{"fixed":"53040a81ae57cdca8af8ac36fe4e661730cf7c6b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64353.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64353.json"}}],"schema_version":"1.7.5"}