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.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel's BPF subsystem, an ARRAY_OF_MAPS can be created with a template inner map marked BPF_F_INNER_MAP. When an outer map lookup succeeds, the verifier incorrectly represents the inner map pointer with the template, causing it to elide nullness checks and rely on the template's max_entries. If the concrete inner map has a smaller max_entries, an out-of-bounds memory access can occur inside the kernel, corrupting memory or triggering a crash. The vulnerability is a bounds-checking failure (CWE-787) that allows kernel memory corruption or a denial of service.

Affected Systems

All Linux kernel variants that include the unpatched BPF implementation are potentially affected. The CNA data does not specify any particular kernel release, so any distribution whose kernel contains the vulnerable ARRAY_OF_MAPS code is susceptible. Users who deploy custom or third-party BPF programs on their hosts are at risk.

Risk and Exploitability

The EPSS score of less than 1 % indicates that exploitation is very unlikely at present, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.5 classifies it as Moderate severity, so the risk is modest, but a successful exploit could cause a kernel crash or memory corruption. The attack vector is inferred: an attacker would need the ability to load a malicious BPF program, which typically requires privileged or local access. Remote exploitation would require an additional vector to inject BPF code. No reported incidents exist, so the likelihood remains low despite the serious impact if the flaw were abused.

Generated by OpenCVE AI on September 4, 2026 at 00:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that contains the bpf: keep dynamic inner array lookups nullable patch
  • If an upgrade is not immediately possible, modify or restrict BPF programs to avoid using ARRAY_OF_MAPS with BPF_F_INNER_MAP templates that have mismatched max_entries values
  • Apply security controls to limit which users or processes can load BPF programs, such as tightening CAP_NET_ADMIN or using AppArmor/SELinux profiles, thereby reducing the attack surface

Generated by OpenCVE AI on September 4, 2026 at 00:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-200

Thu, 03 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-200

Mon, 03 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 02 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787
CWE-788

Mon, 27 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-787
CWE-788

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title bpf: Keep dynamic inner array lookups nullable
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T04:53:58.950Z

Reserved: 2026-07-19T15:36:31.782Z

Link: CVE-2026-64353

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:17.700

Modified: 2026-09-03T16:03:07.923

Link: CVE-2026-64353

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64353 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T00:15:07Z

Weaknesses