Use After Free in Linux

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 reference to the io_ev_fd, it calls io_eventfd_free()
directly if the refcount drops 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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.003, 17.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 21a091b970cdbcf3e8ff829234b51be6f9192766, 6.1, 0
  • Linux Kernel — versions 6.13

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (oogasawa/Utility-security, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References