๐Ÿ” CVE Alert

CVE-2026-45927

UNKNOWN 0.0

bpf: Require frozen map for calculating map hash

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

In the Linux kernel, the following vulnerability has been resolved: bpf: Require frozen map for calculating map hash Currently, bpf_map_get_info_by_fd calculates and caches the hash of the map regardless of the map's frozen state. This leads to a TOCTOU bug where userspace can call BPF_OBJ_GET_INFO_BY_FD to cache the hash and then modify the map contents before freezing. Therefore, a trusted loader can be tricked into verifying the stale hash while loading the modified contents. Fix this by returning -EPERM if the map is not frozen when the hash is requested. This ensures the hash is only generated for the final, immutable state of the map.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published May 27, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
ea2e6467ac36bf3d785defc89e58269b15d182f7 < 7752d36343862323bbeea4ce3adf0ec2ed86e122 ea2e6467ac36bf3d785defc89e58269b15d182f7 < f415e114b58fe02c41191e47f24bdabb438daf72 ea2e6467ac36bf3d785defc89e58269b15d182f7 < a2c86aa621c22f2a7e26c654f936d65cfff0aa91
Linux / Linux
6.18

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/7752d36343862323bbeea4ce3adf0ec2ed86e122 git.kernel.org: https://git.kernel.org/stable/c/f415e114b58fe02c41191e47f24bdabb438daf72 git.kernel.org: https://git.kernel.org/stable/c/a2c86aa621c22f2a7e26c654f936d65cfff0aa91