io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.125, 6.6.72, 6.12.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 21a091b970cdbcf3e8ff829234b51be6f9192766 · fixed in 6b63308c28987c6010b1180c72a6db4df6c68033; From 21a091b970cdbcf3e8ff829234b51be6f9192766 · fixed in 8efff2aa2d95dc437ab67c5b4a9f1d3f367baa10; From 21a091b970cdbcf3e8ff829234b51be6f9192766 · fixed in a7085c3ae43b86d4b3d1b8275e6a67f14257e3b7; From 21a091b970cdbcf3e8ff829234b51be6f9192766 · fixed in c9a40292a44e78f71258b8522655bffaf5753bdb
- Linux Linux
6.1
- KernelLinux
From 6.1.0 · fixed in 6.1.125; From 6.2.0 · fixed in 6.6.72; From 6.7.0 · fixed in 6.12.10