{"id":"CVE-2025-39698","published":"2025-09-05T17:21:04Z","modified":"2026-08-05T12:04:39Z","title":"io_uring/futex: ensure io_futex_wait() cleans up properly on failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00201,"percentile":0.10182,"provenance":"source"},"cwes":[{"id":"CWE-672","name":"Operation on a Resource after Expiration or Release"}],"references":[{"url":"https://git.kernel.org/stable/c/d9f93172820a53ab42c4b0e5e65291f4f9d00ad2","tags":[]},{"url":"https://git.kernel.org/stable/c/d34c04152df517c59979b4bf2a47f491e06d3256","tags":[]},{"url":"https://git.kernel.org/stable/c/508c1314b342b78591f51c4b5dadee31a88335df","tags":[]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-915/","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.04},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 194bb58c6090e39bd7d9b9c888a079213628e1f6, < d9f93172820a53ab42c4b0e5e65291f4f9d00ad2",">= 194bb58c6090e39bd7d9b9c888a079213628e1f6, < d34c04152df517c59979b4bf2a47f491e06d3256",">= 194bb58c6090e39bd7d9b9c888a079213628e1f6, < 508c1314b342b78591f51c4b5dadee31a88335df"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-09-26T03:55:13.138774Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-31205","exploited":false,"provenance":"source"}}