CVE-2026-99804
published high CVSS 3.1 · 7.8io_uring/io-wq: save worker type before dropping its reference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 to < e47f206b8e582d34ecb4683445ef2b60485021b4 · ba86db02d408ae362ee5f1cde52ffafb37b41ce5 to < ac0dfebeb0c38d697036d43ddcfb666613d42c74 · e62e6258ab140b55bbef1f0d288263b75e2f0c20 to < 1869f517f7b16cf9ee509f0d46b9a51c15e9df25 · e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a · e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 · e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 2efcf743664ab4a83b4fae1f152bbea1d298e73f · e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 11239f2b509cd09d76c564b5fe262c70bad8ea3c · e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 37e425460b7c41687e51e3254b1eb1d799da9614 · 5.10.164 to < 5.10.275 · 5.15.89 to < 5.15.226 · 6.1.7 to < 6.1.193 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (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 | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
| 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 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/io-wq: save worker type before dropping its reference io_wq_cancel_tw_create() inspects cb->func after calling io_worker_cancel_cb(). For an existing worker, that call can drop the last worker reference and wake io_worker_exit(). If the canceling task is preempted, the worker can be unlinked and freed by kfree_rcu() before the callback function is inspected. KASAN reports a slab-use-after-free read in this path. Save whether the callback belongs to an unpublished continuation worker while its reference is still held, then use the saved result for the conditional free. This preserves the existing accounting and frees only the worker allocated for the canceled continuation.
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_wq_cancel_tw_create() is reached only from the local task that owns the io_wq: do_exit() calls io_uring_files_cancel() and begin_new_exec() calls io_uring_task_cancel(), both through io_uring_cancel_generic() and io_wq_exit_start(). The create_worker_cb it cancels was queued by that same task's io_uring_enter() of an IOSQE_ASYNC SQE via io_queue_iowq() and io_wq_enqueue(). AC:L - An IOSQE_ASYNC io_uring_enter() makes the worker block in io_wq_worker_sleeping(), which calls io_wq_dec_running() and io_queue_worker_create() to io_worker_get() it and task_work_add create_worker_cb. That task's exit or execve runs io_wq_cancel_tw_create() while the worker waits on ref_done in io_worker_exit(); io_worker_cancel_cb() drops the last ref and wakes kfree_rcu(), and repeating the exit opens the use-after-free of create_work.func. PR:L - Reaching io_wq_cancel_tw_create() takes only the credential accepted by io_uring_allowed() from io_uring_setup(). sysctl_io_uring_disabled is initialized to 0, so that helper accepts an unprivileged caller, and neither the IOSQE_ASYNC path in io_queue_iowq() nor task exit checks a capability. UI:N - The attacker calls io_uring_setup(), io_uring_enter() with IOSQE_ASYNC, and exit or execve. Those calls queue create_worker_cb and then cancel it inside io_wq_cancel_tw_create() during that task's own teardown. S:U - The object used after free is the struct io_worker that create_io_worker() allocated for this task and that io_worker_exit() releases with kfree_rcu(). The resulting kernel memory corruption stays in the same security authority as the local io_uring syscall that created the worker. C:H - io_worker_cancel_cb() drops the last ref so io_worker_exit() can kfree_rcu() the worker before io_wq_cancel_tw_create() loads create_work.func. A same-cache reclaim that stores create_worker_cont at that offset takes the kfree(worker) branch on a live object, aliasing the slab slot so later use of the overlap discloses its contents. I:H - The stale load of create_work.func is what decides the kfree(worker) in io_wq_cancel_tw_create(). For this existing-worker callback the live value is create_worker_cb, so a reused slot that compares equal to create_worker_cont frees memory the slab has already handed out and corrupts the kmalloc freelist. A:H - KASAN reports a slab-use-after-free read of the io_worker in io_wq_cancel_tw_create() after io_worker_exit() has kfree_rcu()'d it. That read faults when the slot is guarded, and the conditional kfree() of a reclaimed object corrupts the slab and oopses the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 to < e47f206b8e582d34ecb4683445ef2b60485021b4 (affected · git)ba86db02d408ae362ee5f1cde52ffafb37b41ce5 to < ac0dfebeb0c38d697036d43ddcfb666613d42c74 (affected · git)e62e6258ab140b55bbef1f0d288263b75e2f0c20 to < 1869f517f7b16cf9ee509f0d46b9a51c15e9df25 (affected · git)e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a (affected · git)e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 (affected · git)e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 2efcf743664ab4a83b4fae1f152bbea1d298e73f (affected · git)e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 11239f2b509cd09d76c564b5fe262c70bad8ea3c (affected · git)e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 37e425460b7c41687e51e3254b1eb1d799da9614 (affected · git)5.10.164 to < 5.10.275 (affected · semver)5.15.89 to < 5.15.226 (affected · semver)6.1.7 to < 6.1.193 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (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
8- https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c
- https://git.kernel.org/stable/c/1869f517f7b16cf9ee509f0d46b9a51c15e9df25
- https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f
- https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614
- https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834
- https://git.kernel.org/stable/c/ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a
- https://git.kernel.org/stable/c/ac0dfebeb0c38d697036d43ddcfb666613d42c74
- https://git.kernel.org/stable/c/e47f206b8e582d34ecb4683445ef2b60485021b4
Provider assertions
1Linux · cna
io_uring/io-wq: save worker type before dropping its reference
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 70aaf5a141a729b238c72bce0a8223a4968b3d3bb055ac7ce2b6f2e683bcdc26
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record