CVE-2025-39698 Details
Description
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 vulnerability in the Linux kernel's io_uring futex handling has been addressed. The issue arose because the io_futex_data was allocated and assigned to the io_kiocb async_data field before the request was marked with the REQ_F_ASYNC_DATA flag, which indicates the field's validity. This mismatch could lead to improper handling of asynchronous data. Furthermore, when the futex handler encountered a failure, it freed the allocated data but failed to clear the async_data field, leaving it in an inconsistent state. The vulnerability has been fixed by ensuring that both the data and the flag are properly cleared in the event of an error.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df | kernel.org | Patch |
| https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2 | kernel.org | Patch |
| https://www.zerodayinitiative.com/advisories/ZDI-25-915/ | kernel.org | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-672 | Operation on a Resource after Expiration or Release | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.7, < 6.12.44 >= 6.13, < 6.16.4 6.17 rc1 6.17 rc2 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Oct 17, 2025 | CVE Modified | CISA-ADP |
| Oct 10, 2025 | CVE Modified | kernel.org |
| Sep 5, 2025 | New CVE Received | kernel.org |