CVE-2026-99804: io_uring/io-wq: save worker type before dropping its reference

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iouring/io-wq: save worker type before dropping its reference

iowqcanceltwcreate() inspects cb->func after calling ioworkercancelcb(). For an existing worker, that call can drop the last worker reference and wake ioworkerexit(). If the canceling task is preempted, the worker can be unlinked and freed by kfreercu() 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.

Affected Software

10 affected componentsFixes available
linux/kernel>=5.10.164<5.11
5.11
linux/kernel>=5.15.89<5.16
5.16
linux/kernel>=6.1.7<6.2
6.2
linux/kernel>=6.2.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.61
6.18.61
linux/kernel>=6.19.0<7.3.2
7.3.2
debian/linux*
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.3-1
7.3.3-1
debian/linux<=6.1.176-1, <=6.1.192-2, <=6.12.107-1
6.12.117-17.3.4-17.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.11
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.16
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.2
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.61
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.2
  7. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  8. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.3-1
  9. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1

Frequently Asked Questions

1

What condition is required to trigger the use-after-free?

The issue occurs when io_wq_cancel_tw_create() cancels a callback for an existing worker and then examines cb->func after io_worker_cancel_cb() may have released the final worker reference. Exploitation requires the worker-exit path to unlink and free the worker before that later callback inspection.

2

What is the observable impact of this flaw?

The reported symptom is a KASAN-detected slab use-after-free read. The vulnerable path can dereference callback data after the associated worker has been freed through kfree_rcu().

3

What does the fix change?

The fix records whether the callback belongs to an unpublished continuation worker before dropping the worker reference. It then uses that saved value to decide whether to free the canceled continuation worker, preserving the existing accounting behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203