Bug 2507228 (CVE-2026-64353) - CVE-2026-64353 kernel: bpf: Keep dynamic inner array lookups nullable
Summary: CVE-2026-64353 kernel: bpf: Keep dynamic inner array lookups nullable
Keywords:
Status: NEW
Alias: CVE-2026-64353
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:11 UTC by OSIDB Bzimport
Modified: 2026-08-02 13:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:11:45 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-02 13:14:54 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072519-CVE-2026-64353-6baf@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.