Bug 2338998 (CVE-2025-21655) - CVE-2025-21655 kernel: io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
Summary: CVE-2025-21655 kernel: io_uring/eventfd: ensure io_eventfd_signal() defers an...
Keywords:
Status: NEW
Alias: CVE-2025-21655
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-20 14:01 UTC by OSIDB Bzimport
Modified: 2025-01-21 13:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-20 14:01:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.