{"id":"CVE-2026-99798","aliases":["CVE-2026-99798"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring: defer foreign io-wq enqueues to task_work","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-20T07:02:21.634Z","modified":"2026-11-22T11:17:10.487Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d803d123948feffbd992213e144df224097f82b0","fixed":"0ac8f069a8bd7a507df59c505182065ae720e946","status":"affected"},{"type":"git","introduced":"d803d123948feffbd992213e144df224097f82b0","fixed":"5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","status":"affected"},{"type":"git","introduced":"d803d123948feffbd992213e144df224097f82b0","fixed":"3de16279b43dc285ed2222aba06cebdc82fdb28b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0ac8f069a8bd7a507df59c505182065ae720e946","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99798","url":"https://www.cve.org/CVERecord?id=CVE-2026-99798","licence":"CVE Terms of Use","modified":"2026-11-22T11:10:11.755Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99798","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99798","licence":"Public domain","modified":"2026-11-22T11:17:10.487Z"}],"updatedAt":"2026-11-25T22:59:52.368Z","epss":{"score":0.00294,"percentile":0.23673,"date":"2026-12-01T12:00:22.000Z"}}