Linux
io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 21a091b970cdbcf3e8ff829234b51be6f9192766, < 6b63308c28987c6010b1180c72a6db4df6c68033
- >= 21a091b970cdbcf3e8ff829234b51be6f9192766, < 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10
- >= 21a091b970cdbcf3e8ff829234b51be6f9192766, < a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7
- >= 21a091b970cdbcf3e8ff829234b51be6f9192766, < c9a40292a44e78f71258b8522655bffaf5753bdb
Fixed in 6b63308c28987c6010b1180c72a6db4df6c68033, 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10, a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7, c9a40292a44e78f71258b8522655bffaf5753bdb
- 6.1
Fixed in 0, 6.1.125, 6.6.72, 6.12.10, 6.13
Mitigation
Upgrade Linux to 6b63308c28987c6010b1180c72a6db4df6c68033 or 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10 or a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7 or c9a40292a44e78f71258b8522655bffaf5753bdb or later.
Upgrade Linux to 0 or 6.1.125 or 6.6.72 or 6.12.10 or 6.13 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.