{"id":"CVE-2026-99800","aliases":["CVE-2026-99800"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring: free the task context after a grace period","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: free the task context after a grace period\n\nA task other than the owner can free a request, io_ring_exit_work()\nrunning the local task_work of a DEFER_TASKRUN ring for example, or\nio_do_iopoll() reaping completions. io_put_task() then takes the else\nbranch:\n\n    percpu_counter_sub(&tctx->inflight, 1);\n    if (unlikely(atomic_read(&tctx->in_cancel)))\n            wake_up(&tctx->wait);\n    put_task_struct(tctx->task);\n\nThe first line is what lets the owner leave io_uring_cancel_generic(),\nand on exec it frees the tctx right after. Nothing holds that off for\nthe remaining three lines, the task reference only covers a tctx freed\nalong with the task_struct. It used to work out because\nio_uring_del_tctx_node() took the uring_lock that the freeing side holds\nacross io_put_task(), until that moved to tctx_lock.\n\nFree the tctx with kfree_rcu(), and enter an RCU read section in\nio_put_task() before the count is dropped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: free the task context after a grace period\n\nA task other than the owner can free a request, io_ring_exit_work()\nrunning the local task_work of a DEFER_TASKRUN ring for example, or\nio_do_iopoll() reaping completions. io_put_task() then takes the else\nbranch:\n\n    percpu_counter_sub(&tctx->inflight, 1);\n    if (unlikely(atomic_read(&tctx->in_cancel)))\n            wake_up(&tctx->wait);\n    put_task_struct(tctx->task);\n\nThe first line is what lets the owner leave io_uring_cancel_generic(),\nand on exec it frees the tctx right after. Nothing holds that off for\nthe remaining three lines, the task reference only covers a tctx freed\nalong with the task_struct. It used to work out because\nio_uring_del_tctx_node() took the uring_lock that the freeing side holds\nacross io_put_task(), until that moved to tctx_lock.\n\nFree the tctx with kfree_rcu(), and enter an RCU read section in\nio_put_task() before the count is dropped.","source":"cvelist"}],"published":"2026-11-20T07:02:22.819Z","modified":"2026-11-22T11:17:10.623Z","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":"5623eb1ed035f01dfa620366a82b667545b10c82","fixed":"953174dcb862a7a364efdb65e178dcd3aea5562e","status":"affected"},{"type":"git","introduced":"5623eb1ed035f01dfa620366a82b667545b10c82","fixed":"9f5315d3f4368590c9fe06d4313b7247470bcf15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","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/953174dcb862a7a364efdb65e178dcd3aea5562e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f5315d3f4368590c9fe06d4313b7247470bcf15","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99800","url":"https://www.cve.org/CVERecord?id=CVE-2026-99800","licence":"CVE Terms of Use","modified":"2026-11-22T11:10:13.035Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99800","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99800","licence":"Public domain","modified":"2026-11-22T11:17:10.623Z"}],"updatedAt":"2026-11-25T22:59:52.369Z","epss":{"score":0.00269,"percentile":0.20342,"date":"2026-12-01T12:00:22.000Z"}}