{"id":"CVE-2025-39698","aliases":["CVE-2025-39698"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring/futex: ensure io_futex_wait() cleans up properly on failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/futex: ensure io_futex_wait() cleans up properly on failure\n\nThe io_futex_data is allocated upfront and assigned to the io_kiocb\nasync_data field, but the request isn't marked with REQ_F_ASYNC_DATA\nat that point. Those two should always go together, as the flag tells\nio_uring whether the field is valid or not.\n\nAdditionally, on failure cleanup, the futex handler frees the data but\ndoes not clear ->async_data. Clear the data and the flag in the error\npath as well.\n\nThanks to Trend Micro Zero Day Initiative and particularly ReDress for\nreporting this.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/futex: ensure io_futex_wait() cleans up properly on failure\n\nThe io_futex_data is allocated upfront and assigned to the io_kiocb\nasync_data field, but the request isn't marked with REQ_F_ASYNC_DATA\nat that point. Those two should always go together, as the flag tells\nio_uring whether the field is valid or not.\n\nAdditionally, on failure cleanup, the futex handler frees the data but\ndoes not clear ->async_data. Clear the data and the flag in the error\npath as well.\n\nThanks to Trend Micro Zero Day Initiative and particularly ReDress for\nreporting this.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nio_uring/futex: asegurar que io_futex_wait() se limpia correctamente en caso de fallo\n\nLos 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.\n\nAdemá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.\n\nGracias a Trend Micro Zero Day Initiative y particularmente a ReDress por informar de esto.","source":"nvd"}],"published":"2025-09-05T17:21:04.360Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-416","CWE-672"],"affected":[{"ranges":[{"type":"git","introduced":"194bb58c6090e39bd7d9b9c888a079213628e1f6","fixed":"d9f93172820a53ab42c4b0e5e65291f4f9d00ad2","status":"affected"},{"type":"git","introduced":"194bb58c6090e39bd7d9b9c888a079213628e1f6","fixed":"d34c04152df517c59979b4bf2a47f491e06d3256","status":"affected"},{"type":"git","introduced":"194bb58c6090e39bd7d9b9c888a079213628e1f6","fixed":"508c1314b342b78591f51c4b5dadee31a88335df","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-915/","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-09-26T03:55:13.138Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39698","url":"https://www.cve.org/CVERecord?id=CVE-2025-39698","licence":"CVE Terms of Use","modified":"2026-08-05T12:04:39.909Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39698","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39698","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.267Z","epss":{"score":0.00227,"percentile":0.14326,"date":"2026-12-01T12:00:22.000Z"}}