# CVE-2026-99254: io_uring: don't flood a cancelling task with task_work


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 3 Nov 2026
- **Updated:** 6 Nov 2026
- **Also known as:** AZL-112610, BELL-CVE-2026-99254, DEBIAN-CVE-2026-99254, GHSA-g7fp-pvxq-ggj5, UBUNTU-CVE-2026-99254

## What is CVE-2026-99254?

CVE-2026-99254 is a vulnerability in Linux, published on 3 Nov 2026. 

### Official 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.

## Which versions are affected by CVE-2026-99254?


Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 8 | not affected | `bpftool`, `kernel`, `kernel-abi-stablelists` and 43 more |  |
| Red Hat | 9 | deferred | `bpftool`, `kernel`, `kernel-64k` and 104 more |  |
| Red Hat | 10 | deferred | `kernel` |  |
| Red Hat | els/6 | not affected | `kernel`, `kernel-abi-whitelists`, `kernel-bootwrapper` and 10 more |  |
| Red Hat | els/7 | not affected | `bpftool`, `kernel`, `kernel-abi-whitelists` and 23 more |  |

## How do I fix CVE-2026-99254?

Upgrade to a fixed version.

## Is CVE-2026-99254 being exploited?

There is no known exploitation of CVE-2026-99254 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-99254 and fix it if it is affected.

What it is: CVE-2026-99254 is a vulnerability in Linux, published on 3 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-99254 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-99254/ (Markdown: https://insights.sbomify.com/CVE-2026-99254/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-99254
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99254
- OSV: https://osv.dev/vulnerability/CVE-2026-99254

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-99254/
Summaries are generated and may contain mistakes; the official description above is the record.
