CVE-2026-45927
MediumIn 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.
CVSS 3.1 score
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-367CVE-2026-45927 is classified as CWE-367
See CWE-367 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.18
and later are affected. Fixed in
6.18.14,
6.19.4,
7.0
and their respective stable series.
References
3 totalFrequently asked questions
-
What is CVE-2026-45927?
CVE-2026-45927 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 . It affects Linux kernel versions from 6.18 onward and has been patched in 6.18.14, 6.19.4 and 7.0. CVE-2026-45927 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-45927?
CVE-2026-45927 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-45927?
Yes. CVE-2026-45927 has been patched. Fixed versions include 6.18.14, 6.19.4 and 7.0. If you are running Linux kernel 6.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-45927 actively exploited?
No. CVE-2026-45927 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.