CVE-2026-99804
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() ins…
Impact
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 products · Linux
| Product | Affected versions |
|---|---|
| Linux | from e6db6f9398dadcbc06318a133d4c44a2d3844e61 before 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 from e6db6f9398dadcbc06318a133d4c44a2d3844e61 before 2efcf743664ab4a83b4fae1f152bbea1d298e73f from e6db6f9398dadcbc06318a133d4c44a2d3844e61 before 11239f2b509cd09d76c564b5fe262c70bad8ea3c from e6db6f9398dadcbc06318a133d4c44a2d3844e61 before 37e425460b7c41687e51e3254b1eb1d799da9614 Versions a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3, ba86db02d408ae362ee5f1cde52ffafb37b41ce5 |
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-wwg9-wjfm-v4pw
- https://nvd.nist.gov/vuln/detail/CVE-2026-99804