CVE-2026-45927

Medium

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.

Package Linux Kernel
Published 2026-05-27
Last modified 2026-06-25
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-367

CVE-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.

Affected from
≥ 6.18
Fixed in
✓ 6.18.14 6.18.x ✓ 6.19.4 6.19.x ✓ 7.0

Frequently 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.