Cyber Resilience

CVE-2025-21655

Memory Safety in Linux Kernel 6.1 – 6.1.125

Published
20 January 2025
Modified
14 July 2026
Patch / advisory
CVSS Score v3.1 4.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0022 13th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-21655 is a medium-severity Use After Free (CWE-416) vulnerability in Linux Linux Kernel. Its CVSS base score is 4.7 (Medium).

Operationally, ranked at the 13th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-16 (Memory Protection) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period io_eventfd_do_signal() is invoked from an RCU callback, but when dropping the reference to the io_ev_fd, it calls io_eventfd_free() directly if the refcount drops…

more

to zero. This isn't correct, as any potential freeing of the io_ev_fd should be deferred another RCU grace period. Just call io_eventfd_put() rather than open-code the dec-and-test and free, which will correctly defer it another RCU grace period.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-56554Same product: Linux Linux Kernel
CVE-2023-53500Same product: Linux Linux Kernel
CVE-2023-52777Same product: Linux Linux Kernel
CVE-2024-56772Same product: Linux Linux Kernel
CVE-2024-58060Same product: Linux Linux Kernel
CVE-2023-52800Same product: Linux Linux Kernel
CVE-2023-53645Same product: Linux Linux Kernel
CVE-2025-38022Same product: Linux Linux Kernel
CVE-2024-49852Same product: Linux Linux Kernel
CVE-2025-37777Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.13 · 6.1 — 6.1.125 · 6.2 — 6.6.72 · 6.7 — 6.12.10

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V1.4.3

Mitigating Controls (NIST 800-53 r5) AI

prevent

Memory Protection directly mitigates the CWE-416 use-after-free by enforcing bounds and lifetime checks on kernel objects such as io_ev_fd during RCU grace periods.

prevent

Flaw Remediation requires prompt application of the kernel patch that replaces the direct io_eventfd_free call with io_eventfd_put to ensure proper RCU deferral.

prevent

Process Isolation limits the blast radius of a UAF in io_uring/eventfd by confining the affected RCU callback context within the kernel's isolated address spaces.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly incorporate memory-safety tooling and reviews that prevent most use-after-free defects.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover use-after-free issues via scanning or analysis but do not prevent their introduction.

PR.PS-02 partial match
prevents

Routine patching removes known use-after-free instances after they have been introduced in released software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect use-after-free bugs before release.

prevents

Secure SDLC mandates memory-safety practices that reduce use-after-free defects.

prevents

Application security requirements can specify memory-management rules that mitigate use-after-free.

prevents

Secure architecture principles include memory-safety design choices that limit use-after-free exposure.

prevents

Secure coding standards directly prescribe avoidance of use-after-free patterns.

prevents

Change-management processes help ensure memory-safety fixes are deployed consistently.

References