{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99804","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.435Z","datePublished":"2026-11-20T07:02:25.233Z","dateUpdated":"2026-11-22T11:10:14.288Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:10:14.288Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/io-wq: save worker type before dropping its reference\n\nio_wq_cancel_tw_create() inspects cb->func after calling\nio_worker_cancel_cb(). For an existing worker, that call can drop the\nlast worker reference and wake io_worker_exit(). If the canceling task\nis preempted, the worker can be unlinked and freed by kfree_rcu() before\nthe callback function is inspected. KASAN reports a slab-use-after-free\nread in this path.\n\nSave whether the callback belongs to an unpublished continuation worker\nwhile its reference is still held, then use the saved result for the\nconditional free. This preserves the existing accounting and frees only\nthe worker allocated for the canceled continuation."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - io_wq_cancel_tw_create() is reached only from the local task that owns the io_wq: do_exit() calls io_uring_files_cancel() and begin_new_exec() calls io_uring_task_cancel(), both through io_uring_cancel_generic() and io_wq_exit_start(). The create_worker_cb it cancels was queued by that same task's io_uring_enter() of an IOSQE_ASYNC SQE via io_queue_iowq() and io_wq_enqueue().\nAC:L - An IOSQE_ASYNC io_uring_enter() makes the worker block in io_wq_worker_sleeping(), which calls io_wq_dec_running() and io_queue_worker_create() to io_worker_get() it and task_work_add create_worker_cb. That task's exit or execve runs io_wq_cancel_tw_create() while the worker waits on ref_done in io_worker_exit(); io_worker_cancel_cb() drops the last ref and wakes kfree_rcu(), and repeating the exit opens the use-after-free of create_work.func.\nPR:L - Reaching io_wq_cancel_tw_create() takes only the credential accepted by io_uring_allowed() from io_uring_setup(). sysctl_io_uring_disabled is initialized to 0, so that helper accepts an unprivileged caller, and neither the IOSQE_ASYNC path in io_queue_iowq() nor task exit checks a capability.\nUI:N - The attacker calls io_uring_setup(), io_uring_enter() with IOSQE_ASYNC, and exit or execve. Those calls queue create_worker_cb and then cancel it inside io_wq_cancel_tw_create() during that task's own teardown.\nS:U - The object used after free is the struct io_worker that create_io_worker() allocated for this task and that io_worker_exit() releases with kfree_rcu(). The resulting kernel memory corruption stays in the same security authority as the local io_uring syscall that created the worker.\nC:H - io_worker_cancel_cb() drops the last ref so io_worker_exit() can kfree_rcu() the worker before io_wq_cancel_tw_create() loads create_work.func. A same-cache reclaim that stores create_worker_cont at that offset takes the kfree(worker) branch on a live object, aliasing the slab slot so later use of the overlap discloses its contents.\nI:H - The stale load of create_work.func is what decides the kfree(worker) in io_wq_cancel_tw_create(). For this existing-worker callback the live value is create_worker_cb, so a reused slot that compares equal to create_worker_cont frees memory the slab has already handed out and corrupts the kmalloc freelist.\nA:H - KASAN reports a slab-use-after-free read of the io_worker in io_wq_cancel_tw_create() after io_worker_exit() has kfree_rcu()'d it. That read faults when the slot is guarded, and the conditional kfree() of a reclaimed object corrupts the slab and oopses the kernel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/io-wq.c"],"versions":[{"version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","lessThan":"9d7af67e5425ad08d1ab9bbf4a3ad987d7871834","status":"affected","versionType":"git"},{"version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","lessThan":"2efcf743664ab4a83b4fae1f152bbea1d298e73f","status":"affected","versionType":"git"},{"version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","lessThan":"11239f2b509cd09d76c564b5fe262c70bad8ea3c","status":"affected","versionType":"git"},{"version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","lessThan":"37e425460b7c41687e51e3254b1eb1d799da9614","status":"affected","versionType":"git"},{"version":"a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3","status":"affected","versionType":"git"},{"version":"ba86db02d408ae362ee5f1cde52ffafb37b41ce5","status":"affected","versionType":"git"},{"version":"e62e6258ab140b55bbef1f0d288263b75e2f0c20","status":"affected","versionType":"git"},{"version":"5.10.164","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.15.89","lessThan":"5.16","status":"affected","versionType":"semver"},{"version":"6.1.7","lessThan":"6.2","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/io-wq.c"],"versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.164"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.89"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834"},{"url":"https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f"},{"url":"https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c"},{"url":"https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614"}],"title":"io_uring/io-wq: save worker type before dropping its reference","x_generator":{"engine":"bippy-1.2.0"}}}}