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

bpf: Reject exclusive maps for bpf_map_elem iterators

Exclusive maps (aka excl_prog_hash) are meant to be reachable only
from the single program whose hash matches. This is enforced by
check_map_prog_compatibility() when the map is referenced from a
program such as signed BPF loaders.

A bpf_map_elem iterator, however, binds its target map at attach
time in bpf_iter_attach_map() instead of referencing it from the
program, so the exclusivity check is never reached. On top of that,
the iterator exposes the map value as a writable buffer.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when a BPF program uses a bpf_map_elem iterator to bind to an exclusive map. The kernel performs an exclusivity check only when a map is referenced directly from a BPF program, but the iterator binds the map at attachment time and never triggers this check. Consequently, the exclusive map remains accessible and its values are exposed as a writable buffer, allowing an attacker to overwrite kernel memory and potentially gain higher privileges.

Affected Systems

All Linux kernel builds that implement the bpf_map_elem iterator without enforcing the exclusivity check are affected. Specific version information is not provided, so any current kernel version running the default BPF subsystem may be vulnerable.

Risk and Exploitability

The flaw provides a path to modify kernel memory from user‑space via a BPF program, which can lead to privilege escalation. Exploitation requires the attacker to load a BPF program that attaches a bpf_map_elem iterator to an exclusive map. The CVSS score is 5.5, the EPSS score is <1%, and the vulnerability is not listed in the CISA KEV catalog; the moderate severity indicates a moderate level of risk. The attack vector is inferred to be local user space to kernel interaction through the BPF subsystem.

Generated by OpenCVE AI on August 22, 2026 at 02:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a patched release that enforces exclusivity checks for bpf_iter_attach_map.
  • If an immediate kernel upgrade is unavailable, disable or restrict the use of bpf_map_elem iterators by configuring the kernel or applying sysctl knobs to deny BPF map iterator creation.
  • Enable host‑based intrusion detection or log monitoring to detect unusual BPF activity and enforce SELinux or AppArmor policies limiting BPF program capabilities.

Generated by OpenCVE AI on August 22, 2026 at 02:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 01:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
CWE-665

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-551
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


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

Type Values Removed Values Added
Weaknesses CWE-284
CWE-665

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 for bpf_map_elem iterators Exclusive maps (aka excl_prog_hash) are meant to be reachable only from the single program whose hash matches. This is enforced by check_map_prog_compatibility() when the map is referenced from a program such as signed BPF loaders. A bpf_map_elem iterator, however, binds its target map at attach time in bpf_iter_attach_map() instead of referencing it from the program, so the exclusivity check is never reached. On top of that, the iterator exposes the map value as a writable buffer.
Title bpf: Reject exclusive maps for bpf_map_elem iterators
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:17:54.663Z

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

Link: CVE-2026-74360

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-74360

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-74360 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:00:12Z

Weaknesses
  • CWE-551

    Incorrect Behavior Order: Authorization Before Parsing and Canonicalization