# CVE-2026-99800: io_uring: free the task context after a grace period

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-11-20T07:02:22.819Z
- Modified: 2026-11-22T11:17:10.623Z
- Assigned by: Linux

## Description

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

io_uring: free the task context after a grace period

A task other than the owner can free a request, io_ring_exit_work()
running the local task_work of a DEFER_TASKRUN ring for example, or
io_do_iopoll() reaping completions. io_put_task() then takes the else
branch:

    percpu_counter_sub(&tctx->inflight, 1);
    if (unlikely(atomic_read(&tctx->in_cancel)))
            wake_up(&tctx->wait);
    put_task_struct(tctx->task);

The first line is what lets the owner leave io_uring_cancel_generic(),
and on exec it frees the tctx right after. Nothing holds that off for
the remaining three lines, the task reference only covers a tctx freed
along with the task_struct. It used to work out because
io_uring_del_tctx_node() took the uring_lock that the freeing side holds
across io_put_task(), until that moved to tctx_lock.

Free the tctx with kfree_rcu(), and enter an RCU read section in
io_put_task() before the count is dropped.

(As written by CVE List.)

## Affected

- Linux Linux: from 5623eb1ed035f01dfa620366a82b667545b10c82 before 953174dcb862a7a364efdb65e178dcd3aea5562e; from 5623eb1ed035f01dfa620366a82b667545b10c82 before 9f5315d3f4368590c9fe06d4313b7247470bcf15; 6.19 (not affected: before 6.19; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/953174dcb862a7a364efdb65e178dcd3aea5562e>
- <https://git.kernel.org/stable/c/9f5315d3f4368590c9fe06d4313b7247470bcf15>

## Sources

- CVE List: [CVE-2026-99800](https://www.cve.org/CVERecord?id=CVE-2026-99800), CVE Terms of Use, modified 2026-11-22
- NVD: [CVE-2026-99800](https://nvd.nist.gov/vuln/detail/CVE-2026-99800), Public domain, modified 2026-11-22

---

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