CVE-2026-64353

bpf: Keep dynamic inner array lookups nullable

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 to before 0b92ad64d6e4bde85e6b9888404f9a7a2b65d269Affected
  • d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 to before d57db0d975053e01410c54e708a85b6d32ef2ebdAffected
  • d2102f2f5d75a84dbab6ff890359f0bd4a18ca22 to before 53040a81ae57cdca8af8ac36fe4e661730cf7c6bAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.