CVE-2025-39698

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*

History

25 Nov 2025, 21:31

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 8.8
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
CWE CWE-416
References () https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df - () https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df - Patch
References () https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256 - () https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256 - Patch
References () https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2 - () https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2 - Patch
References () https://www.zerodayinitiative.com/advisories/ZDI-25-915/ - () https://www.zerodayinitiative.com/advisories/ZDI-25-915/ - Third Party Advisory

Information

Published : 2025-09-05 18:15

Updated : 2025-11-25 21:31


NVD link : CVE-2025-39698

Mitre link : CVE-2025-39698

CVE.ORG link : CVE-2025-39698


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free

CWE-672

Operation on a Resource after Expiration or Release