CVE-2025-39698

MEDIUM

Linux Kernel - Use-After-Free in io_uring/futex

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416 CWE-672
Status published
Products (12)
linux/Kernel 6.13.0 - 6.16.4linux
linux/Kernel 6.7.0 - 6.12.44linux
Linux/Linux < 6.7
Linux/Linux 194bb58c6090e39bd7d9b9c888a079213628e1f6 - 508c1314b342b78591f51c4b5dadee31a88335df
Linux/Linux 194bb58c6090e39bd7d9b9c888a079213628e1f6 - d34c04152df517c59979b4bf2a47f491e06d3256
Linux/Linux 194bb58c6090e39bd7d9b9c888a079213628e1f6 - d9f93172820a53ab42c4b0e5e65291f4f9d00ad2
Linux/Linux 6.12.44 - 6.12.*
Linux/Linux 6.16.4 - 6.16.*
Linux/Linux 6.17
Linux/Linux 6.7
... and 2 more
Published Sep 05, 2025
Tracked Since Feb 18, 2026