CVE-2026-45927
Last modified
CVE-2026-45927 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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.. EPSS estimates a 0.09% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.18, < 6.18.14 |
| Linux | Linux Kernel | >= 6.19, < 6.19.4 |
References
Timeline
- Published
- Last Modified
- Status
- Undergoing Analysis
Frequently Asked Questions
What is CVE-2026-45927?
How severe is CVE-2026-45927?
How do I fix CVE-2026-45927?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45921In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45922In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45923In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45924In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45925In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45926In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45928In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45929In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-4593A flaw has been found in erupts erupt bis 1.13.3. Affected b…6.3
- CVE-2026-45930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-45931In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-45932In the Linux kernel, the following vulnerability has been re…7.3
Are you affected by CVE-2026-45927?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
