{"id":"CVE-2026-99798","aliases":[],"title":"io_uring: defer foreign io-wq enqueues to task_work","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: defer foreign io-wq enqueues to task_work\n\nAn IOPOLL ring without DEFER_TASKRUN can be reaped by a task other than\nthe one that submitted the I/O. If a polled request is marked\nREQ_F_REISSUE, io_free_batch_list() calls io_queue_iowq() with the\noriginal tctx. Ordinary task exit can tear down tctx->io_wq after\ndraining only the tracked requests. The live request pins the task, but\nnot its io-wq, so the foreign task can race io_wq_put_and_exit() and\nenqueue through a freed or NULL queue.\n\nForward foreign userspace enqueues to the owning task before accessing\ntctx->io_wq. Use a dedicated task_work callback so reissues still go\nstraight to io-wq, and fail them if task_work is running in cancellation\nmode. Preserve the existing PF_KTHREAD cancellation path. This also\ncovers the other callers of io_queue_iowq() without changing the\nworker-owned enqueue path.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00294,"percentile":0.23673},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.14.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"vendor","name":"Linux","range":">=0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <0ac8f069a8bd7a507df59c505182065ae720e946","fixed":"0ac8f069a8bd7a507df59c505182065ae720e946"},{"ecosystem":"vendor","name":"Linux","range":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <3de16279b43dc285ed2222aba06cebdc82fdb28b","fixed":"3de16279b43dc285ed2222aba06cebdc82fdb28b"},{"ecosystem":"vendor","name":"Linux","range":">=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","fixed":"5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9"},{"ecosystem":"vendor","name":"Linux","range":">=d803d123948feffbd992213e144df224097f82b0, <0ac8f069a8bd7a507df59c505182065ae720e946","fixed":"0ac8f069a8bd7a507df59c505182065ae720e946"},{"ecosystem":"vendor","name":"Linux","range":">=d803d123948feffbd992213e144df224097f82b0, <3de16279b43dc285ed2222aba06cebdc82fdb28b","fixed":"3de16279b43dc285ed2222aba06cebdc82fdb28b"},{"ecosystem":"vendor","name":"Linux","range":">=d803d123948feffbd992213e144df224097f82b0, <5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","fixed":"5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9"}],"references":[{"url":"https://git.kernel.org/stable/c/0ac8f069a8bd7a507df59c505182065ae720e946","type":"other"},{"url":"https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","type":"other"},{"url":"https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99798.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99798","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-22T11:19:01.266Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99798","license":"NVD terms of use","firstSeenAt":"2026-11-20T08:42:44.597Z"},{"name":"osv","at":"2026-11-22T13:31:43.652Z","url":"https://osv.dev/vulnerability/CVE-2026-99798","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:28.480Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:03.806Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99798","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T07:34:10.911Z"}],"firstSeenAt":"2026-11-20T07:34:10.911Z","publishedAt":"2026-11-20T07:02:21.634Z","modifiedAt":"2026-11-22T13:00:39.137Z"}