# CVE-2025-39698: io_uring/futex: ensure io_futex_wait() cleans up properly on failure

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-09-05T17:21:04.360Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-416, CWE-672
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 194bb58c6090e39bd7d9b9c888a079213628e1f6 before d9f93172820a53ab42c4b0e5e65291f4f9d00ad2; from 194bb58c6090e39bd7d9b9c888a079213628e1f6 before d34c04152df517c59979b4bf2a47f491e06d3256; from 194bb58c6090e39bd7d9b9c888a079213628e1f6 before 508c1314b342b78591f51c4b5dadee31a88335df; 6.7 (not affected: before 6.7; from 6.12.44 up to 6.12.*; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.7 before 6.12.44; from 6.13 before 6.16.4; 6.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2> (patch)
- <https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256> (patch)
- <https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df> (patch)
- <https://www.zerodayinitiative.com/advisories/ZDI-25-915/> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-39698](https://www.cve.org/CVERecord?id=CVE-2025-39698), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-39698](https://nvd.nist.gov/vuln/detail/CVE-2025-39698), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39698 · Whole record: https://cve.day/CVE-2025-39698.json · Rebuilt by cve.day 2026-11-25T22:59:04.267Z
