CVE-2025-39698
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-416CVE-2025-39698 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.7
and later are affected. Fixed in
6.12.44,
6.16.4,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39698 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Zerodayinitiativehttps://www.zerodayinitiative.com/advisories/ZDI-25-915/Third Party Advisory
-
PatchKernel patch commithttps://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2
Frequently asked questions
-
What is CVE-2025-39698?
CVE-2025-39698 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 6.7 onward and has been patched in 6.12.44, 6.16.4 and 6.17. CVE-2025-39698 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-39698?
CVE-2025-39698 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-39698?
Yes — CVE-2025-39698 has been patched. Fixed versions include 6.12.44, 6.16.4 and 6.17. If you are running Linux kernel 6.7 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39698 actively exploited?
No — CVE-2025-39698 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →