Critical RCU Grace Period Deferral Vulnerability in Linux Kernel (CVE-2025-21655)

linux Updated 02 Oct 2025

Summary

20/01/2025
N/A
Yes i
Unrated
Not published

CVE-2025-21655: 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 ref... Affects linux versions < 6.1.128-1. Fixed in 6.1.128-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process scheduling, and system calls. It is known for its robustness and versatility, powering everything from servers to embedded systems. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity and security. CVE-2025-21655 highlights a specific flaw in the io_uring subsystem, which facilitates asynchronous I/O operations, potentially leading to improper resource management.

Vulnerability Detail

The vulnerability arises from the improper handling of the io_eventfd_signal() function, which is invoked from an RCU (Read-Copy-Update) callback. When the reference count of the io_eventfd structure drops to zero, the function directly calls io_eventfd_free(), which is incorrect. This can lead to premature freeing of the io_eventfd structure, risking memory corruption and undefined behavior. The flaw underscores the importance of deferring the freeing of resources until after another RCU grace period, ensuring that all read-side critical sections have completed.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid using the io_uring subsystem until the kernel has been updated. This will mitigate the risk associated with the vulnerability until a permanent fix is applied.

Conclusion

CVE-2025-21655 represents a significant vulnerability within the Linux kernel's io_uring subsystem, emphasizing the need for timely updates and proper resource management. Users are encouraged to apply the necessary patches and utilize tools like Vulert to monitor for vulnerabilities in their software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21655 is a vulnerability in the Linux kernel related to improper resource management in the io_uring subsystem, which could lead to memory corruption.

You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without any signup.

The vulnerability could lead to memory corruption, undefined behavior, and potential system crashes, compromising the stability and security of affected systems.

Yes, a patch has been released. Users are advised to update their Linux kernel to the latest version to mitigate the vulnerability.

If an immediate update is not possible, consider avoiding the use of the io_uring subsystem as a temporary workaround until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback