# CVE-2026-74360: bpf: Reject exclusive maps for bpf_map_elem iterators

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:44.158Z
- Modified: 2026-08-17T06:19:30.767Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from baefdbdf6812e120c9fba9cfb101d3656f478026 before 5cf2c85b1231218a3e3e9f188afb4fe2e17903d5; from baefdbdf6812e120c9fba9cfb101d3656f478026 before c3da741d5b2119c61c4498bc936f0fc1dbc3c79b; from baefdbdf6812e120c9fba9cfb101d3656f478026 before 3c56ee343f9412d81918635c3e25e22a5dd6d87e; 6.18 (not affected: before 6.18; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/5cf2c85b1231218a3e3e9f188afb4fe2e17903d5>
- <https://git.kernel.org/stable/c/c3da741d5b2119c61c4498bc936f0fc1dbc3c79b>
- <https://git.kernel.org/stable/c/3c56ee343f9412d81918635c3e25e22a5dd6d87e>

## Sources

- CVE List: [CVE-2026-74360](https://www.cve.org/CVERecord?id=CVE-2026-74360), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-74360](https://nvd.nist.gov/vuln/detail/CVE-2026-74360), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-74360 · Whole record: https://cve.day/CVE-2026-74360.json · Rebuilt by cve.day 2026-11-25T22:59:33.182Z
