CVE-2026-99254
io_uring: don't flood a cancelling task with task_work
Check your servers for CVE-2026-99254
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99254 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.81% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before a22fb44e988b01b82235ea07f0bf0fc73e256596 affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before 2c75ebae8a7f09c99e31c7042b7d4d595f03b2b1 affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before 61c761fc21e00e45c33c2bb596be442d92fb8792 affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before 14f56e9c0b8fdc2e178acdbec9781e90ef46f7e9 affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before abdc57c7ebabaaf0b622178a6a85834e1e54ff80 affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before f334e79a11e084713e82402b1a7a0e321526992a affected from d56d938b4bef3e1421a42023cdcd6e13c1f50831, before 22e643e61b9b6299b42ff7d88bab48bccada8a5d
Other versions: unaffected
|
| Linux |
affected 5.12 unaffected before 5.12 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.161 up to and including 6.6.* unaffected from 6.12.115 up to and including 6.12.* unaffected from 6.18.60 up to and including 6.18.* unaffected from 7.2.14 up to and including 7.2.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99254 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99254
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99254
trivy image --scanners vuln IMAGE | grep CVE-2026-99254
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a22fb44e988b01b82235ea07f0bf0fc73e256596 git.kernel.org
- https://git.kernel.org/stable/c/2c75ebae8a7f09c99e31c7042b7d4d595f03b2b1 git.kernel.org
- https://git.kernel.org/stable/c/61c761fc21e00e45c33c2bb596be442d92fb8792 git.kernel.org
- https://git.kernel.org/stable/c/14f56e9c0b8fdc2e178acdbec9781e90ef46f7e9 git.kernel.org
- https://git.kernel.org/stable/c/abdc57c7ebabaaf0b622178a6a85834e1e54ff80 git.kernel.org
- https://git.kernel.org/stable/c/f334e79a11e084713e82402b1a7a0e321526992a git.kernel.org
- https://git.kernel.org/stable/c/22e643e61b9b6299b42ff7d88bab48bccada8a5d git.kernel.org
Source: the record CVE-2026-99254 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse