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.
History

Sun, 23 Feb 2025 07:30:00 +0000

Type Values Removed Values Added
References

Thu, 13 Feb 2025 01:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
Metrics threat_severity

Important

threat_severity

Moderate


Tue, 21 Jan 2025 03:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 20 Jan 2025 14:00:00 +0000

Type Values Removed Values Added
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.
Title io_uring/eventfd: ensure io_eventfd_signal() defers another RCU period
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-01-20T13:48:40.544Z

Updated: 2025-02-23T07:15:02.767Z

Reserved: 2024-12-29T08:45:45.729Z

Link: CVE-2025-21655

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-01-20T14:15:27.027

Modified: 2025-02-23T08:15:09.213

Link: CVE-2025-21655

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-01-20T00:00:00Z

Links: CVE-2025-21655 - Bugzilla