CVE-2026-99804
io_uring/io-wq: save worker type before dropping its reference
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 to < e47f206b8e582d34ecb4683445ef2b60485021b4; affected: ba86db02d408ae362ee5f1cde52ffafb37b41ce5 to < ac0dfebeb0c38d697036d43ddcfb666613d42c74; affected: e62e6258ab140b55bbef1f0d288263b75e2f0c20 to < 1869f517f7b16cf9ee509f0d46b9a51c15e9df25; affected: e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a; affected: e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834; affected: e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 2efcf743664ab4a83b4fae1f152bbea1d298e73f; affected: e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 11239f2b509cd09d76c564b5fe262c70bad8ea3c; affected: e6db6f9398dadcbc06318a133d4c44a2d3844e61 to < 37e425460b7c41687e51e3254b1eb1d799da9614; affected: 5.10.164 to < 5.10.275; affected: 5.15.89 to < 5.15.226; affected: 6.1.7 to < 6.1.193 | See vendor advisory |
| LinuxLinux | affected: 6.2; unaffected: 0 to < 6.2; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.117 to ≤ 6.12.*; unaffected: 6.18.61 to ≤ 6.18.*; unaffected: 7.3.2 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99804
- https://git.kernel.org/stable/c/e47f206b8e582d34ecb4683445ef2b60485021b4
- https://git.kernel.org/stable/c/ac0dfebeb0c38d697036d43ddcfb666613d42c74
- https://git.kernel.org/stable/c/1869f517f7b16cf9ee509f0d46b9a51c15e9df25
- https://git.kernel.org/stable/c/ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a
- https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834
- https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f
- https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c
- https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614