CVE-2026-99804
io_uring/io-wq: save worker type before dropping its reference
- CVSS
- 7.8
- EPSS
- 0.29% (p23)
- Published
- 2026-11-20
- Age
- 12d old
- Modified
- 2026-11-23
- Product
- Linux Linux
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Fixed in
11239f2b509cd09d76c564b5fe262c70bad8ea3c · 1869f517f7b16cf9ee509f0d46b9a51c15e9df25 · 2efcf743664ab4a83b4fae1f152bbea1d298e73f · 37e425460b7c41687e51e3254b1eb1d799da9614 · 5.10.275 · 5.11 · 5.15.226 · 5.16 · 6.1.193 · 6.12.117 · 6.18.61 · 6.2 · 6.6.163 · 7.3.2 · 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 · ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a · ac0dfebeb0c38d697036d43ddcfb666613d42c74 · e47f206b8e582d34ecb4683445ef2b60485021b4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10.164, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.10.164, <5.11 | 5.11 |
| Linux | Kernel | >=5.15.89, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.15.89, <5.16 | 5.16 |
| Linux | Kernel | >=6.1.7, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.1.7, <6.2 | 6.2 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=5.10.164, <5.10.275 | 5.10.275 |
| vendor | Linux | >=5.10.164, <5.11 | 5.11 |
| vendor | Linux | >=5.15.89, <5.15.226 | 5.15.226 |
| vendor | Linux | >=5.15.89, <5.16 | 5.16 |
| vendor | Linux | >=6.1.7, <6.1.193 | 6.1.193 |
| vendor | Linux | >=6.1.7, <6.2 | 6.2 |
| vendor | Linux | >=a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3, <e47f206b8e582d34ecb4683445ef2b60485021b4 | e47f206b8e582d34ecb4683445ef2b60485021b4 |
| vendor | Linux | >=ba86db02d408ae362ee5f1cde52ffafb37b41ce5, <ac0dfebeb0c38d697036d43ddcfb666613d42c74 | ac0dfebeb0c38d697036d43ddcfb666613d42c74 |
| vendor | Linux | >=e62e6258ab140b55bbef1f0d288263b75e2f0c20, <1869f517f7b16cf9ee509f0d46b9a51c15e9df25 | 1869f517f7b16cf9ee509f0d46b9a51c15e9df25 |
| vendor | Linux | >=e6db6f9398dadcbc06318a133d4c44a2d3844e61, <11239f2b509cd09d76c564b5fe262c70bad8ea3c | 11239f2b509cd09d76c564b5fe262c70bad8ea3c |
| vendor | Linux | >=e6db6f9398dadcbc06318a133d4c44a2d3844e61, <2efcf743664ab4a83b4fae1f152bbea1d298e73f | 2efcf743664ab4a83b4fae1f152bbea1d298e73f |
| vendor | Linux | >=e6db6f9398dadcbc06318a133d4c44a2d3844e61, <37e425460b7c41687e51e3254b1eb1d799da9614 | 37e425460b7c41687e51e3254b1eb1d799da9614 |
| vendor | Linux | >=e6db6f9398dadcbc06318a133d4c44a2d3844e61, <9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 | 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 |
| vendor | Linux | >=e6db6f9398dadcbc06318a133d4c44a2d3844e61, <ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a | ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a |
Sources
- NVD · first seen 12d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 12d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 other
- https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f other
- https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c other
- https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99804.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99804 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://git.kernel.org/stable/c/e47f206b8e582d34ecb4683445ef2b60485021b4 other
- https://git.kernel.org/stable/c/ac0dfebeb0c38d697036d43ddcfb666613d42c74 other
- https://git.kernel.org/stable/c/1869f517f7b16cf9ee509f0d46b9a51c15e9df25 other
- https://git.kernel.org/stable/c/ac028f54ba7e7bd47548e94a518f1f2bd73cbd3a other