CVE-2026-99254
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: don't flood a cancelling task with task_work io_ring_exit_work() asks each task which has used the ring to remove its tctx node, by task_work, and repeats that until the list is empty. io_tctx_exit_cb() doesn't touch the node while the task is in io_uring_cancel_generic(), which removes all the nodes at its end. So the work item queues the callback again as soon as it has completed, for nothing. That is more than a waste of time. task_work_run() only returns when it finds the list empty. If the rings are released from inside the cancellation, because requests of other rings held the last references to their files, up to 64 work items keep sending callbacks to the one task which is running them. It never finds the list empty, never gets back to the cancellation, the nodes stay, and so it goes on: a task with 60 pairs of rings which poll each other ran 280000 callbacks in 5 seconds, 20 seconds after exit_group(). It ends when all the senders happen to be late at the same time. Until then the task keeps a CPU and the work items busy. An exiting task can't be killed meanwhile. execve() cancels the requests in the same way, so a live task can get stuck there as well, for minutes. If it takes more than five, the work items run into the WARN_ON_ONCE(time_after(jiffies, timeout)) of io_ring_exit_work(). No privilege is needed for any of this. If the callback has met a task in cancellation, wait a little before it is sent again. Nobody has to wake the work item up for that: either the node is gone by then, or it is the turn of the next round.
Timeline
- 2026-11-03Published by the CNA11:20 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux | ||
| linux linux_kernel | from 5.12 before 6.1.191fixed in 6.1.191from 5.12 before 6.12.115fixed in 6.12.115from 5.12 before 6.18.60fixed in 6.18.60from 5.12 before 6.6.161fixed in 6.6.161from 5.12 before 7.2.14fixed in 7.2.14(+2 more) | 6.1.1916.12.1156.18.606.6.1617.2.14 |
References
- https://git.kernel.org/stable/c/14f56e9c0b8fdc2e178acdbec9781e90ef46f7e9
- https://git.kernel.org/stable/c/22e643e61b9b6299b42ff7d88bab48bccada8a5d
- https://git.kernel.org/stable/c/2c75ebae8a7f09c99e31c7042b7d4d595f03b2b1
- https://git.kernel.org/stable/c/61c761fc21e00e45c33c2bb596be442d92fb8792
- https://git.kernel.org/stable/c/a22fb44e988b01b82235ea07f0bf0fc73e256596
- https://git.kernel.org/stable/c/abdc57c7ebabaaf0b622178a6a85834e1e54ff80
- https://git.kernel.org/stable/c/f334e79a11e084713e82402b1a7a0e321526992a
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-99254'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-99254'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-99254'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-99254'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).