CVE-2025-21655
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/01/2025
Last modified:
23/02/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period<br />
<br />
io_eventfd_do_signal() is invoked from an RCU callback, but when<br />
dropping the reference to the io_ev_fd, it calls io_eventfd_free()<br />
directly if the refcount drops to zero. This isn&#39;t correct, as any<br />
potential freeing of the io_ev_fd should be deferred another RCU grace<br />
period.<br />
<br />
Just call io_eventfd_put() rather than open-code the dec-and-test and<br />
free, which will correctly defer it another RCU grace period.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/6b63308c28987c6010b1180c72a6db4df6c68033
- https://git.kernel.org/stable/c/8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10
- https://git.kernel.org/stable/c/a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7
- https://git.kernel.org/stable/c/c9a40292a44e78f71258b8522655bffaf5753bdb
- https://project-zero.issues.chromium.org/issues/388499293