Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject exclusive maps as inner maps in map-in-map

An exclusive map (created with excl_prog_hash) is bound to a single
program by hash: check_map_prog_compatibility() refuses to load any
program whose digest does not match map->excl_prog_sha. That check
only runs for maps a program references directly, i.e. its used_maps.
A map reached at runtime through a map-of-maps is never in used_maps,
and bpf_map_meta_equal() does not consider excl_prog_sha, so an
exclusive map can be inserted into a non-exclusive outer map and
then looked up and mutated by an unrelated program, bypassing the
exclusivity guarantee.

For the signed loader this defeats the metadata map exclusivity check
added in the signed loader: the cached map->sha[] is validated against
the signed hash while another program on a hostile host rewrites the
frozen map's contents through the outer map.
Published: 2026-08-15
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel BPF subsystem has an flaw where an exclusive map—created with excl_prog_hash—is bound to a single program, preventing others from accessing it. The exclusivity check only applies to directly referenced maps (used_maps). A map reached via a map‑of‑maps is not examined, and the metadata comparison ignores the exclusivity hash. This enables a malicious BPF program to place an exclusive map inside a non‑exclusive outer map and later look it up or mutate it through a map‑of‑maps path, thereby bypassing the intended isolation guarantees and corrupting kernel data structures that rely on the exclusive map.

Affected Systems

The vulnerability exists in the Linux kernel’s BPF implementation and affects all builds that compile the BPF subsystem and support map‑of‑maps. No specific version range is supplied, so any kernel before the patch commit (c/3a0f73d27a8d379a8852a378b3c3208143e3b3b2, c/7c58ace08f180f8e249e714d1623388362f9d807, or c/9a3c3c49c333760c8944dadacbe114c1884546ef) is at risk.

Risk and Exploitability

The CVSS score is 7.1, and the EPSS score is <1%, indicating a low probability of exploitation but a high potential impact. Based on the description, the likely attack vector is a local process with elevated privileges that can coerce the kernel into loading a malicious BPF program or manipulating map‑of‑maps. Because the flaw bypasses an explicit exclusivity guarantee, a privileged attacker could gain control over kernel memory associated with the exclusive map. The vulnerability is not listed in CISA KEV, so no publicly known exploits are recorded, but the high potential impact warrants immediate attention.

Generated by OpenCVE AI on August 22, 2026 at 00:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the patch commits referenced in the advisory (c/3a0f73d27a8d379a8852a378b3c3208143e3b3b2, c/7c58ace08f180f8e249e714d1623388362f9d807, or c/9a3c3c49c333760c8944dadacbe114c1884546ef).
  • Restrict or disable map‑of‑maps usage so that exclusive BPF maps are never placed as inner maps in non‑exclusive outer maps.
  • Enforce privileged access controls on BPF program loading via SELinux, AppArmor, or equivalent mechanisms to ensure that only trusted processes can load or attach BPF programs.

Generated by OpenCVE AI on August 22, 2026 at 00:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 12:15:00 +0000

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

None

threat_severity

Moderate


Mon, 17 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-398

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-398

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Reject exclusive maps as inner maps in map-in-map An exclusive map (created with excl_prog_hash) is bound to a single program by hash: check_map_prog_compatibility() refuses to load any program whose digest does not match map->excl_prog_sha. That check only runs for maps a program references directly, i.e. its used_maps. A map reached at runtime through a map-of-maps is never in used_maps, and bpf_map_meta_equal() does not consider excl_prog_sha, so an exclusive map can be inserted into a non-exclusive outer map and then looked up and mutated by an unrelated program, bypassing the exclusivity guarantee. For the signed loader this defeats the metadata map exclusivity check added in the signed loader: the cached map->sha[] is validated against the signed hash while another program on a hostile host rewrites the frozen map's contents through the outer map.
Title bpf: Reject exclusive maps as inner maps in map-in-map
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-17T05:46:23.107Z

Reserved: 2026-08-15T05:44:03.887Z

Link: CVE-2026-74364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:38.037

Modified: 2026-08-17T06:19:31.187

Link: CVE-2026-74364

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74364 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T00:45:05Z

Weaknesses
  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization