CVE-2025-21655

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
20/01/2025
Last modified:
03/11/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&amp;#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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1 (including) 6.1.125 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.72 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.10 (excluding)
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*