What’s Vulnerable › Vulnerabilities
CVE-2026-74360: bpf: Reject exclusive maps for bpf_map_elem iterators
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-15 · updated 2026-08-17
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.
Affected products
- Linux kernel: 6.18 — fixed in 7.2
How to fix
Upgrade to a fixed version: Linux kernel 7.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3c56ee343f9412d81918635c3e25e22a5dd6d87e
- https://git.kernel.org/stable/c/5cf2c85b1231218a3e3e9f188afb4fe2e17903d5
- https://git.kernel.org/stable/c/c3da741d5b2119c61c4498bc936f0fc1dbc3c79b
Get alerted when CVE-2026-74360 or the next vulnerability affects your stack