{"id":"CVE-2026-99798","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"io_uring: defer foreign io-wq enqueues to task_work","description":"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.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},"scores":[{"score":7.8,"source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.00294,"percentile":0.14413,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Linux","product":"Linux","versions":">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0ac8f069a8bd7a507df59c505182065ae720e946; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3de16279b43dc285ed2222aba06cebdc82fdb28b; < 6.18.61; < 7.3.2"},{"source":"cvelist","vendor":"Linux","product":"Linux","versions":"all versions"}],"ai_versions":null,"mitigation":"Upgrade Linux to 7.3.2 or later.","technologies":[{"slug":"linux-kernel","name":"Linux kernel","method":"cpe"}],"references":[{"url":"https://git.kernel.org/stable/c/0ac8f069a8bd7a507df59c505182065ae720e946","kind":"other"},{"url":"https://git.kernel.org/stable/c/5f7e7afd5418c63473f6ac3a05219e9e6e8a59d9","kind":"other"},{"url":"https://git.kernel.org/stable/c/3de16279b43dc285ed2222aba06cebdc82fdb28b","kind":"other"}],"workarounds":null,"vendors":["linux"],"products":["linux"],"cpes":[],"published_at":"2026-11-20T07:02:21.634Z","modified_at":"2026-11-22T11:17:10.487Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99798"},{"source":"FIRST EPSS","text":"EPSS scores by FIRST","url":"https://www.first.org/epss/"}],"links":{"html":"https://flawdb.com/CVE-2026-99798","markdown":"https://flawdb.com/CVE-2026-99798.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-99798"}}