7.8high
io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 21a091b970cdbcf3e8ff829234b51be6f9192766 before 6b63308c28987c6010b1180c72a6db4df6c68033, from 21a091b970cdbcf3e8ff829234b51be6f9192766 before 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10, from 21a091b970cdbcf3e8ff829234b51be6f9192766 before a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7, from 21a091b970cdbcf3e8ff829234b51be6f9192766 before c9a40292a44e78f71258b8522655bffaf5753bdb, 6.1 Not affected: before 6.1, from 6.1.125 up to 6.1.*, from 6.6.72 up to 6.6.*, from 6.12.10 up to 6.12.*, from 6.13 up to * | CVE List |
| linux linux_kernel | from 6.1 before 6.1.125, from 6.2 before 6.6.72, from 6.7 before 6.12.10, 6.13 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring/eventfd: garantizar que io_eventfd_signal() posponga otro período de RCU io_eventfd_do_signal() se invoca desde una devolución de llamada de RCU, pero al eliminar la referencia a io_ev_fd, llama a io_eventfd_free() directamente si El recuento cae a cero. Esto no es correcto, ya que cualquier posible liberación de io_ev_fd debería posponerse otro período de gracia de RCU. Simplemente llame a io_eventfd_put() en lugar de abrir el código dec-and-test y free, lo que lo diferirá correctamente a otro período de gracia de RCU.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21655 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-21655 changed 2026-11-10 | Public domain |