CVE-2026-99798
io_uring: defer foreign io-wq enqueues to task_work
- CVSS
- 7.8
- EPSS
- 0.29% (p24)
- Published
- 2026-11-20
- Age
- 12d old
- Modified
- 2026-11-22
- 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: defer foreign io-wq enqueues to task_work An IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than the one that submitted the I/O. If a polled request is marked REQ_F_REISSUE, io_free_batch_list() calls io_queue_iowq() with the original tctx. Ordinary task exit can tear down tctx->io_wq after draining only the tracked requests. The live request pins the task, but not its io-wq, so the foreign task can race io_wq_put_and_exit() and enqueue through a freed or NULL queue. Forward foreign userspace enqueues to the owning task before accessing tctx->io_wq. Use a dedicated task_work callback so reissues still go straight to io-wq, and fail them if task_work is running in cancellation mode. Preserve the existing PF_KTHREAD cancellation path. This also covers the other callers of io_queue_iowq() without changing the worker-owned enqueue path.
Fixed in
0ac8f069a8bd7a507df59c505182065ae720e946 · 3de16279b43dc285ed2222aba06cebdc82fdb28b · 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 · 6.18.61 · 7.3.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.14.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=0, <6.18.61 | 6.18.61 |
| vendor | Linux | >=0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <0ac8f069a8bd7a507df59c505182065ae720e946 | 0ac8f069a8bd7a507df59c505182065ae720e946 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <3de16279b43dc285ed2222aba06cebdc82fdb28b | 3de16279b43dc285ed2222aba06cebdc82fdb28b |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 | 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 |
| vendor | Linux | >=d803d123948feffbd992213e144df224097f82b0, <0ac8f069a8bd7a507df59c505182065ae720e946 | 0ac8f069a8bd7a507df59c505182065ae720e946 |
| vendor | Linux | >=d803d123948feffbd992213e144df224097f82b0, <3de16279b43dc285ed2222aba06cebdc82fdb28b | 3de16279b43dc285ed2222aba06cebdc82fdb28b |
| vendor | Linux | >=d803d123948feffbd992213e144df224097f82b0, <5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 | 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 |
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/0ac8f069a8bd7a507df59c505182065ae720e946 other
- https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9 other
- https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99798.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99798 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package