CVE-2026-45927

bpf: Require frozen map for calculating map hash

No CVSS score yet EPSS 0.11%

Published 27 May 2026 Updated 27 May 2026 CNA: Linux

Check your servers for CVE-2026-45927

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45927 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.11%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.38% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ea2e6467ac36bf3d785defc89e58269b15d182f7, before 7752d36343862323bbeea4ce3adf0ec2ed86e122
affected from ea2e6467ac36bf3d785defc89e58269b15d182f7, before f415e114b58fe02c41191e47f24bdabb438daf72
affected from ea2e6467ac36bf3d785defc89e58269b15d182f7, before a2c86aa621c22f2a7e26c654f936d65cfff0aa91
Other versions: unaffected
Linux
affected 6.18
unaffected before 6.18
unaffected from 6.18.14 up to and including 6.18.*
unaffected from 6.19.4 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45927 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45927

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45927
trivy image --scanners vuln IMAGE | grep CVE-2026-45927

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-45927 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.