# CVE-2026-64353: bpf: Keep dynamic inner array lookups nullable

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:12.120Z
- Modified: 2026-09-03T16:03:07.923Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 before 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269; from d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 before d57db0d975053e01410c54e708a85b6d32ef2ebd; from d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 before 53040a81ae57cdca8af8ac36fe4e661730cf7c6b; 6.14 (not affected: before 6.14; from 6.18.40 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.14 before 6.18.40; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/0b92ad64d6e4bde85e6b9888404f9a7a2b65d269> (patch)
- <https://git.kernel.org/stable/c/d57db0d975053e01410c54e708a85b6d32ef2ebd> (patch)
- <https://git.kernel.org/stable/c/53040a81ae57cdca8af8ac36fe4e661730cf7c6b> (patch)

## Sources

- CVE List: [CVE-2026-64353](https://www.cve.org/CVERecord?id=CVE-2026-64353), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64353](https://nvd.nist.gov/vuln/detail/CVE-2026-64353), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-64353 · Whole record: https://cve.day/CVE-2026-64353.json · Rebuilt by cve.day 2026-11-25T22:59:30.082Z
