{"id":"CVE-2026-74364","aliases":["CVE-2026-74364"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Reject exclusive maps as inner maps in map-in-map","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject exclusive maps as inner maps in map-in-map\n\nAn exclusive map (created with excl_prog_hash) is bound to a single\nprogram by hash: check_map_prog_compatibility() refuses to load any\nprogram whose digest does not match map->excl_prog_sha. That check\nonly runs for maps a program references directly, i.e. its used_maps.\nA map reached at runtime through a map-of-maps is never in used_maps,\nand bpf_map_meta_equal() does not consider excl_prog_sha, so an\nexclusive map can be inserted into a non-exclusive outer map and\nthen looked up and mutated by an unrelated program, bypassing the\nexclusivity guarantee.\n\nFor the signed loader this defeats the metadata map exclusivity check\nadded in the signed loader: the cached map->sha[] is validated against\nthe signed hash while another program on a hostile host rewrites the\nfrozen map's contents through the outer map.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject exclusive maps as inner maps in map-in-map\n\nAn exclusive map (created with excl_prog_hash) is bound to a single\nprogram by hash: check_map_prog_compatibility() refuses to load any\nprogram whose digest does not match map->excl_prog_sha. That check\nonly runs for maps a program references directly, i.e. its used_maps.\nA map reached at runtime through a map-of-maps is never in used_maps,\nand bpf_map_meta_equal() does not consider excl_prog_sha, so an\nexclusive map can be inserted into a non-exclusive outer map and\nthen looked up and mutated by an unrelated program, bypassing the\nexclusivity guarantee.\n\nFor the signed loader this defeats the metadata map exclusivity check\nadded in the signed loader: the cached map->sha[] is validated against\nthe signed hash while another program on a hostile host rewrites the\nfrozen map's contents through the outer map.","source":"cvelist"}],"published":"2026-08-15T05:58:46.926Z","modified":"2026-08-17T06:19:31.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"baefdbdf6812e120c9fba9cfb101d3656f478026","fixed":"3a0f73d27a8d379a8852a378b3c3208143e3b3b2","status":"affected"},{"type":"git","introduced":"baefdbdf6812e120c9fba9cfb101d3656f478026","fixed":"7c58ace08f180f8e249e714d1623388362f9d807","status":"affected"},{"type":"git","introduced":"baefdbdf6812e120c9fba9cfb101d3656f478026","fixed":"9a3c3c49c333760c8944dadacbe114c1884546ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3a0f73d27a8d379a8852a378b3c3208143e3b3b2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c58ace08f180f8e249e714d1623388362f9d807","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a3c3c49c333760c8944dadacbe114c1884546ef","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74364","url":"https://www.cve.org/CVERecord?id=CVE-2026-74364","licence":"CVE Terms of Use","modified":"2026-08-17T05:46:23.107Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74364","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74364","licence":"Public domain","modified":"2026-08-17T06:19:31.187Z"}],"updatedAt":"2026-11-25T22:59:33.184Z","epss":{"score":0.00132,"percentile":0.02994,"date":"2026-12-01T12:00:22.000Z"}}