همهٔ گزارش‌ها
متوسط

kernel: io_uring/futex: ensure io_futex_wait() cleans up properly on failure

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-39698

احتمال بهره‌برداری در ۳۰ روز آینده: 0.20%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: io_uring/futex: ensure io_futex_wait() cleans up properly on failure The io_futex_data is allocated upfront and assigned to the io_kiocb async_data field, but the request isn't marked with REQ_F_ASYNC_DATA at that point. Those two should always go together, as the flag tells io_uring whether the field is valid or not. Additionally, on failure cleanup, the futex handler frees the data but does not clear ->async_data. Clear the data and the flag in the error path as well. Thanks to Trend Micro Zero Day Initiative and particularly ReDress for reporting this.

A flaw was found in the Linux kernel's io_uring subsystem. When processing asynchronous futex (fast userspace mutex) operations, the kernel frees internal request data during error cleanup without clearing the associated pointer and state flags, creating a use-after-free condition. A local unprivileged attacker can exploit this flaw to cause a Denial of Service (DoS) through a system crash or potentially achieve privilege escalation.