CVE-2025-39698

Source
https://cve.org/CVERecord?id=CVE-2025-39698
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39698.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39698
Downstream
Related
Published
2025-09-05T17:21:04Z
Modified
2026-08-12T03:51:32Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
io_uring/futex: ensure io_futex_wait() cleans up properly on failure
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39698.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
194bb58c6090e39bd7d9b9c888a079213628e1f6
Fixed
d9f93172820a53ab42c4b0e5e65291f4f9d00ad2
Fixed
d34c04152df517c59979b4bf2a47f491e06d3256
Fixed
508c1314b342b78591f51c4b5dadee31a88335df

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39698.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.44
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.16.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39698.json"