Skip to main content
Network Thinking Solutions Logo

CVE-2026-45927

Linux kernel: bpf: Require frozen map for calculating map hash

All CVEs
CVE-2026-45927Published 5/27/2026

Linux kernel: bpf: Require frozen map for calculating map hash

Vendor advisory
CVSS4.7Medium

Overview

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.

Published
5/27/2026
Last modified
6/25/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.18, < 6.18.14

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.4

Verify advisory

Source
Linux
Linux
≥ ea2e6467ac36bf3d785defc89e58269b15d182f7, < 7752d36343862323bbeea4ce3adf0ec2ed86e122

Verify advisory

Source
Linux
Linux
≥ ea2e6467ac36bf3d785defc89e58269b15d182f7, < f415e114b58fe02c41191e47f24bdabb438daf72

Verify advisory

Source
Linux
Linux
≥ ea2e6467ac36bf3d785defc89e58269b15d182f7, < a2c86aa621c22f2a7e26c654f936d65cfff0aa91

Verify advisory

Source
Linux
Linux
6.18

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.