bpf: Keep dynamic inner array lookups nullable
Summary
| CVE | CVE-2026-64353 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:17 UTC |
| Updated | 2026-07-25 10:17:17 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: bpf: Keep dynamic inner array lookups nullable An ARRAY_OF_MAPS can use an array created with BPF_F_INNER_MAP as its inner map template. A concrete inner array with a different max_entries value can then replace the template. After a successful outer map lookup, the verifier represents the resulting map pointer using the inner map template. Const-key lookup nullness elision consequently uses the template max_entries even though the runtime helper uses the concrete inner map max_entries. Do not elide lookup result nullness for maps marked with BPF_F_INNER_MAP, because the template max_entries does not prove that the key is in bounds for the concrete runtime map. |
Risk And Classification
EPSS: 0.001660000 probability, percentile 0.062420000 (date 2026-07-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269 git | Not specified |
| CNA | Linux | Linux | affected d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 d57db0d975053e01410c54e708a85b6d32ef2ebd git | Not specified |
| CNA | Linux | Linux | affected d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 53040a81ae57cdca8af8ac36fe4e661730cf7c6b git | Not specified |
| CNA | Linux | Linux | affected 6.14 | Not specified |
| CNA | Linux | Linux | unaffected 6.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.40 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d57db0d975053e01410c54e708a85b6d32ef2ebd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/53040a81ae57cdca8af8ac36fe4e661730cf7c6b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0b92ad64d6e4bde85e6b9888404f9a7a2b65d269 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.