# CVE-2025-40047: io_uring/waitid: always prune wait queue entry in io_waitid_wait()

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-28T11:48:24.625Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

io_uring/waitid: always prune wait queue entry in io_waitid_wait()

For a successful return, always remove our entry from the wait queue
entry list. Previously this was skipped if a cancelation was in
progress, but this can race with another invocation of the wait queue
entry callback.

(As written by CVE List.)

## Affected

- Linux Linux: from f31ecf671ddc498f20219453395794ff2383e06b before 696ba6032081e617564a8113a001b8d7943cb928; from f31ecf671ddc498f20219453395794ff2383e06b before 3e2205db2f0608898d535da1964e1b376aacfdaa; from f31ecf671ddc498f20219453395794ff2383e06b before 2f8229d53d984c6a05b71ac9e9583d4354e3b91f; 6.7 (not affected: before 6.7; from 6.12.53 up to 6.12.*; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/696ba6032081e617564a8113a001b8d7943cb928>
- <https://git.kernel.org/stable/c/3e2205db2f0608898d535da1964e1b376aacfdaa>
- <https://git.kernel.org/stable/c/2f8229d53d984c6a05b71ac9e9583d4354e3b91f>

## Sources

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

---

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