CVE-2026-74360

bpf: Reject exclusive maps for bpf_map_elem iterators

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • baefdbdf6812e120c9fba9cfb101d3656f478026 to before 5cf2c85b1231218a3e3e9f188afb4fe2e17903d5Affected
  • baefdbdf6812e120c9fba9cfb101d3656f478026 to before c3da741d5b2119c61c4498bc936f0fc1dbc3c79bAffected
  • baefdbdf6812e120c9fba9cfb101d3656f478026 to before 3c56ee343f9412d81918635c3e25e22a5dd6d87eAffected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 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.