{"api_version":"1","generated_at":"2026-11-22T20:39:56+00:00","cve":"CVE-2026-99804","urls":{"html":"https://cve.report/CVE-2026-99804","api":"https://cve.report/api/cve/CVE-2026-99804.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99804","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99804"},"summary":{"title":"io_uring/io-wq: save worker type before dropping its reference","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 08:18:38","updated_at":"2026-11-22 11:17:10"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834","name":"https://git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c","name":"https://git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f","name":"https://git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614","name":"https://git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99804","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99804","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 2efcf743664ab4a83b4fae1f152bbea1d298e73f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 11239f2b509cd09d76c564b5fe262c70bad8ea3c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 37e425460b7c41687e51e3254b1eb1d799da9614 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ba86db02d408ae362ee5f1cde52ffafb37b41ce5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e62e6258ab140b55bbef1f0d288263b75e2f0c20 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.164 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.89 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.7 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99804","cve":"CVE-2026-99804","epss":"0.003060000","percentile":"0.238070000","score_date":"2026-11-21","updated_at":"2026-11-22 00:14:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["io_uring/io-wq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9d7af67e5425ad08d1ab9bbf4a3ad987d7871834","status":"affected","version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","versionType":"git"},{"lessThan":"2efcf743664ab4a83b4fae1f152bbea1d298e73f","status":"affected","version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","versionType":"git"},{"lessThan":"11239f2b509cd09d76c564b5fe262c70bad8ea3c","status":"affected","version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","versionType":"git"},{"lessThan":"37e425460b7c41687e51e3254b1eb1d799da9614","status":"affected","version":"e6db6f9398dadcbc06318a133d4c44a2d3844e61","versionType":"git"},{"status":"affected","version":"a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3","versionType":"git"},{"status":"affected","version":"ba86db02d408ae362ee5f1cde52ffafb37b41ce5","versionType":"git"},{"status":"affected","version":"e62e6258ab140b55bbef1f0d288263b75e2f0c20","versionType":"git"},{"lessThan":"5.11","status":"affected","version":"5.10.164","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.89","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.7","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["io_uring/io-wq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.2"},{"lessThan":"6.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.61","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"6.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.2","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","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-11-22T11:10:14.288Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99804","datePublished":"2026-11-20T07:02:25.233Z","dateReserved":"2026-09-25T10:25:14.435Z","dateUpdated":"2026-11-22T11:10:14.288Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 08:18:38","lastModifiedDate":"2026-11-22 11:17:10","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99804","Ordinal":"1","Title":"io_uring/io-wq: save worker type before dropping its reference","CVE":"CVE-2026-99804","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99804","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"io_uring/io-wq: save worker type before dropping its reference"}]}}}