CVE-2026-99800
published high CVSS 3.1 · 7.8io_uring: free the task context after a grace period
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5623eb1ed035f01dfa620366a82b667545b10c82 to < 953174dcb862a7a364efdb65e178dcd3aea5562e · 5623eb1ed035f01dfa620366a82b667545b10c82 to < 9f5315d3f4368590c9fe06d4313b7247470bcf15 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - io_put_task() is reached from io_do_iopoll() via io_uring_enter(), or from io_ring_exit_work() after close() of a DEFER_TASKRUN ring, and the owner frees the tctx in io_uring_free_tctx() from execve()->begin_new_exec()->io_uring_task_cancel(). Nothing in that race is a field parsed from a remote protocol message. AC:L - The same user drives both sides: execve() makes io_uring_cancel_generic() call io_uring_free_tctx() once percpu_counter_sub() zeroes tctx->inflight, while that user's io_uring_enter() iopoll or the iou_wq exit worker is still in io_put_task(). io_uring_del_tctx_node() takes tctx_lock, so the uring_lock held across the put no longer blocks the free, and the race can be retried. PR:L - io_uring_setup() calls io_uring_allowed(), which succeeds for any task when sysctl_io_uring_disabled is 0, the static default. IORING_SETUP_DEFER_TASKRUN and the execve() path through begin_new_exec() do not check CAP_SYS_ADMIN or any other capability. UI:N - The attacker itself calls io_uring_setup(), io_uring_enter() or close(), and execve() on its own tasks. No other user has to open a file, mount an image, or accept a prompt. S:U - The freed object is the caller's own kernel io_uring_task. The resulting memory corruption escalates that local user inside the same kernel and does not cross a KVM guest-to-host or IOMMU boundary. C:H - io_uring_free_tctx() kfree's the tctx while io_put_task() still executes atomic_read(&tctx->in_cancel), wake_up(&tctx->wait), and put_task_struct(tctx->task). Reclaiming that slab supplies the task pointer, and put_task_struct() then reads task->usage and, if it hits zero, the rest of the object in __put_task_struct(). I:H - wake_up(&tctx->wait) locks and walks the wait_queue_head embedded in the freed io_uring_task, calling waiter->func if the reclaimed list is non-empty, and put_task_struct() does refcount_dec_and_test() on whatever pointer now sits in tctx->task, invoking __put_task_struct() when the count hits zero. A:H - io_put_task() still takes the spinlock in tctx->wait and dereferences tctx->task after io_uring_free_tctx() has returned the slab, so a poisoned or reused io_uring_task oopses or panics the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5623eb1ed035f01dfa620366a82b667545b10c82 to < 953174dcb862a7a364efdb65e178dcd3aea5562e (affected · git)5623eb1ed035f01dfa620366a82b667545b10c82 to < 9f5315d3f4368590c9fe06d4313b7247470bcf15 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
io_uring: free the task context after a grace period
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9afdca208ffc76b70641817bb03bccb87a8529df091aa790e59f767d6beff770
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record