io_uring/io-wq: save worker type before dropping its reference
Summary
| CVE | CVE-2026-99804 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 08:18:38 UTC |
| Updated | 2026-11-22 11:17:10 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: io_uring/io-wq: save worker type before dropping its reference io_wq_cancel_tw_create() inspects cb->func after calling io_worker_cancel_cb(). For an existing worker, that call can drop the last worker reference and wake io_worker_exit(). If the canceling task is preempted, the worker can be unlinked and freed by kfree_rcu() before the callback function is inspected. KASAN reports a slab-use-after-free read in this path. Save whether the callback belongs to an unpublished continuation worker while its reference is still held, then use the saved result for the conditional free. This preserves the existing accounting and frees only the worker allocated for the canceled continuation. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.003060000 probability, percentile 0.238070000 (date 2026-11-21)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 git | Not specified |
| CNA | Linux | Linux | affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 2efcf743664ab4a83b4fae1f152bbea1d298e73f git | Not specified |
| CNA | Linux | Linux | affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 11239f2b509cd09d76c564b5fe262c70bad8ea3c git | Not specified |
| CNA | Linux | Linux | affected e6db6f9398dadcbc06318a133d4c44a2d3844e61 37e425460b7c41687e51e3254b1eb1d799da9614 git | Not specified |
| CNA | Linux | Linux | affected a88a0d16e18f18d7221f0c5a1fdf487f5f9079e3 git | Not specified |
| CNA | Linux | Linux | affected ba86db02d408ae362ee5f1cde52ffafb37b41ce5 git | Not specified |
| CNA | Linux | Linux | affected e62e6258ab140b55bbef1f0d288263b75e2f0c20 git | Not specified |
| CNA | Linux | Linux | affected 5.10.164 5.11 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.89 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.7 6.2 semver | Not specified |
| CNA | Linux | Linux | affected 6.2 | Not specified |
| CNA | Linux | Linux | unaffected 6.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.117 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.61 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.2 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/9d7af67e5425ad08d1ab9bbf4a3ad987d7871834 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/11239f2b509cd09d76c564b5fe262c70bad8ea3c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2efcf743664ab4a83b4fae1f152bbea1d298e73f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/37e425460b7c41687e51e3254b1eb1d799da9614 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.