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

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: io_uring/futex: asegurar que io_futex_wait() se limpia correctamente en caso de fallo Los datos io_futex_data se asignan de antemano y se asignan al campo async_data de io_kiocb, pero la solicitud no se marca con REQ_F_ASYNC_DATA en ese momento. Esos dos siempre deberían ir juntos, ya que la bandera le indica a io_uring si el campo es válido o no. Además, durante la limpieza en caso de fallo, el gestor de futex libera los datos pero no borra ->async_data. Borrar los datos y la bandera en la ruta de error también. Gracias a Trend Micro Zero Day Initiative y particularmente a ReDress por informar de esto.

Information

Published : 2025-09-05 18:15

Updated : 2026-10-19 21:10


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