CVE-2026-99231: io_uring/waitid: own the request before clearing ->head

Published Nov 2, 2026
·
Updated

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

iouring/waitid: own the request before clearing ->head

iowaitidremovewq() only takes the wait queue lock if ->head is set. iowaitidwait() clears ->head first thing, before it tries to become the owner of the request by bumping ->refs. If somebody else owns the request at that point, nothing keeps it from completing the request while the wake up handler is still going to touch it:

CPU0 (iowaitidwait) CPU1 (iowaitid, holds a ref) listdelinit(&wait->entry) smpstorerelease(&iw->head, NULL) dowait() finds another child iowaitidremovewq() // ->head == NULL, no locking iowaitidfinish(), IOUCOMPLETE // request freed and reused atomicfetchinc(&iw->refs)

The same goes for iowaitidcancel() if it claims the request in that window. ->refs is part of the per opcode data of the request, so this increments whatever the next user of the request keeps there. If that happens to be zero, the handler concludes that it owns the request, and queues iowaitidcb() for it. With the window held open by a delay, and the request reused for a receive that is waiting for data:

BUG: KASAN: slab-use-after-free in wakeupcommon+0x1ca/0x1f0 wakeupsynckey+0x36/0x50 sockdefreadable+0xf1/0x420 unixstreamsendmsg+0x60b/0x1110 Allocated by task 87: ioarmapoll+0x1ed/0x940 Freed by task 87: iosubmitflushcompletions+0x118d/0x1a10 tctxtaskworkrun+0x327/0x950

Only clear ->head once the handler owns the request. If it doesn't, the owner finds ->head set and has to wait for the lock, which is held by the caller of the handler. Deleting the already deleted entry again is harmless.

Affected Software

176 affected componentsFixes available
debian/linux<6.12.115-1
6.12.115-1
debian/linux<7.2.14-1
7.2.14-1
debian/linux-6.12<6.12.115-2~deb12u1
6.12.115-2~deb12u1
linux/kernel>=6.12.113<6.12.115
6.12.115
linux/kernel>=6.18.52<6.18.60
6.18.60
linux/kernel>=6.19.0<7.2.14
7.2.14
linux/kernel>=7.3.0<7.3.2
7.3.2
All of the following
azurelinux/kernel<0:6.18.62-1.1.azl4
0:6.18.62-1.1.azl4
Microsoft Azure Linux=4.0
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1070.76~22.04.1
6.8.0-1070.76~22.04.1
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1074.83~22.04.1
6.8.0-1074.83~22.04.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-azure-fde-6.8<6.8.0-1072.79~22.04.1
6.8.0-1072.79~22.04.1
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1074.82~22.04.1
6.8.0-1074.82~22.04.1
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-ibm-6.8<6.8.0-1070.71~22.04.1
6.8.0-1070.71~22.04.1
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8*
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1068.72~22.04.1
6.8.0-1068.72~22.04.1
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-realtime-6.8<6.8.1-1065.66~22.04.1
6.8.1-1065.66~22.04.1
ubuntu/linux<6.8.0-151.151
6.8.0-151.151
ubuntu/linux-aws<6.8.0-1070.76
6.8.0-1070.76
ubuntu/linux-aws-6.14*
ubuntu/linux-aws-6.17*
ubuntu/linux-aws-7.0<7.0.0-1018.19~24.04.1
7.0.0-1018.19~24.04.1
ubuntu/linux-azure<6.8.0-1074.83
6.8.0-1074.83
ubuntu/linux-azure-6.11*
ubuntu/linux-azure-6.14*
ubuntu/linux-azure-6.17*
ubuntu/linux-azure-7.0*
ubuntu/linux-azure-fde<6.8.0-1072.79
6.8.0-1072.79
ubuntu/linux-azure-fde-6.14*
ubuntu/linux-azure-fde-6.17*
ubuntu/linux-azure-fde-7.0<7.0.0-1020.20~24.04.1
7.0.0-1020.20~24.04.1
ubuntu/linux-azure-nvidia-6.14*
ubuntu/linux-gcp<6.8.0-1074.82
6.8.0-1074.82
ubuntu/linux-gcp-6.11*
ubuntu/linux-gcp-6.14*
ubuntu/linux-gcp-7.0<7.0.0-1018.20~24.04.1
7.0.0-1018.20~24.04.1
ubuntu/linux-gke<6.8.0-1069.78
6.8.0-1069.78
ubuntu/linux-gkeop<6.8.0-1054.58
6.8.0-1054.58
ubuntu/linux-hwe-6.11*
ubuntu/linux-hwe-6.14*
ubuntu/linux-hwe-7.0<7.0.0-44.44~24.04.1
7.0.0-44.44~24.04.1
ubuntu/linux-ibm<6.8.0-1070.71
6.8.0-1070.71
ubuntu/linux-lowlatency*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-nvidia<6.8.0-1068.71
6.8.0-1068.71
ubuntu/linux-nvidia-6.11*
ubuntu/linux-nvidia-6.17*
ubuntu/linux-nvidia-7.0*
ubuntu/linux-nvidia-lowlatency<6.8.0-1068.71.1
6.8.0-1068.71.1
ubuntu/linux-nvidia-tegra*
ubuntu/linux-oem-6.11*
ubuntu/linux-oem-6.14*
ubuntu/linux-oem-6.8*
ubuntu/linux-oracle<6.8.0-1068.72
6.8.0-1068.72
ubuntu/linux-oracle-6.14*
ubuntu/linux-oracle-6.17*
ubuntu/linux-oracle-7.0<7.0.0-1017.21~24.04.1
7.0.0-1017.21~24.04.1
ubuntu/linux-raspi*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-6.14*
ubuntu/linux-riscv-6.17*
ubuntu/linux-riscv-7.0*
ubuntu/linux-bluefield*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime<6.8.1-1065.66
6.8.1-1065.66
ubuntu/linux-realtime-6.14*
ubuntu/linux-realtime-6.17*
ubuntu/linux-aws-fips<6.8.0-1070.76+fips1
6.8.0-1070.76+fips1
ubuntu/linux-azure-fips<6.8.0-1074.83+fips1
6.8.0-1074.83+fips1
ubuntu/linux-gcp-fips<6.8.0-1074.82+fips1
6.8.0-1074.82+fips1
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-azure*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp*
ubuntu/linux-oracle*
ubuntu/linux-raspi*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux<7.0.0-44.44
7.0.0-44.44
ubuntu/linux-aws<7.0.0-1018.19
7.0.0-1018.19
ubuntu/linux-azure<7.0.0-1021.22
7.0.0-1021.22
ubuntu/linux-azure-fde<7.0.0-1020.20
7.0.0-1020.20
ubuntu/linux-gcp<7.0.0-1018.20
7.0.0-1018.20
ubuntu/linux-gke<7.0.0-1011.12
7.0.0-1011.12
ubuntu/linux-ibm<7.0.0-1019.19
7.0.0-1019.19
ubuntu/linux-nvidia*
ubuntu/linux-nvidia-bos*
ubuntu/linux-oem-7.0<7.0.0-1019.19
7.0.0-1019.19
ubuntu/linux-oracle<7.0.0-1017.21
7.0.0-1017.21
ubuntu/linux-raspi<7.0.0-1024.24
7.0.0-1024.24
ubuntu/linux-realtime<7.0.0-44.44.1
7.0.0-44.44.1
ubuntu/linux-riscv*
ubuntu/linux-vmware<7.0.0-1007.7
7.0.0-1007.7
debian/linux
6.12.115-17.2.14-1
debian/linux-6.12
6.12.115-2~deb12u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.12.115-1
  2. Upgrade

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

    Fixed in 7.2.14-1
  3. Upgrade

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

    Fixed in 6.12.115-2~deb12u1
  4. Upgrade

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

    Fixed in 6.12.115
  5. Upgrade

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

    Fixed in 6.18.60
  6. Upgrade

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

    Fixed in 7.2.14
  7. Upgrade

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

    Fixed in 7.3.2
  8. Upgrade

    Upgrade azurelinux/kernel to a version that resolves this vulnerability.

    Fixed in 0:6.18.62-1.1.azl4
  9. Upgrade

    Upgrade ubuntu/linux-aws-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1070.76~22.04.1
  10. Upgrade

    Upgrade ubuntu/linux-azure-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.83~22.04.1
  11. Upgrade

    Upgrade ubuntu/linux-azure-fde-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1072.79~22.04.1
  12. Upgrade

    Upgrade ubuntu/linux-gcp-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.82~22.04.1
  13. Upgrade

    Upgrade ubuntu/linux-ibm-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1070.71~22.04.1
  14. Upgrade

    Upgrade ubuntu/linux-oracle-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1068.72~22.04.1
  15. Upgrade

    Upgrade ubuntu/linux-realtime-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.1-1065.66~22.04.1
  16. Upgrade

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

    Fixed in 6.8.0-151.151
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.8.0-1070.76
  18. Upgrade

    Upgrade ubuntu/linux-aws-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-1018.19~24.04.1
  19. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.83
  20. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 6.8.0-1072.79
  21. Upgrade

    Upgrade ubuntu/linux-azure-fde-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-1020.20~24.04.1
  22. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.82
  23. Upgrade

    Upgrade ubuntu/linux-gcp-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-1018.20~24.04.1
  24. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.8.0-1069.78
  25. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 6.8.0-1054.58
  26. Upgrade

    Upgrade ubuntu/linux-hwe-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-44.44~24.04.1
  27. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.8.0-1070.71
  28. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 6.8.0-1068.71
  29. Upgrade

    Upgrade ubuntu/linux-nvidia-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-1068.71.1
  30. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.8.0-1068.72
  31. Upgrade

    Upgrade ubuntu/linux-oracle-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-1017.21~24.04.1
  32. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.1-1065.66
  33. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1070.76+fips1
  34. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.83+fips1
  35. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1074.82+fips1
  36. Upgrade

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

    Fixed in 7.0.0-44.44
  37. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 7.0.0-1018.19
  38. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 7.0.0-1021.22
  39. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 7.0.0-1020.20
  40. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 7.0.0-1018.20
  41. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 7.0.0-1011.12
  42. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 7.0.0-1019.19
  43. Upgrade

    Upgrade ubuntu/linux-oem-7.0 to a version that resolves this vulnerability.

    Fixed in 7.0.0-1019.19
  44. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 7.0.0-1017.21
  45. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 7.0.0-1024.24
  46. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 7.0.0-44.44.1
  47. Upgrade

    Upgrade ubuntu/linux-vmware to a version that resolves this vulnerability.

    Fixed in 7.0.0-1007.7
  48. Upgrade

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

    Fixed in 6.12.115-1Fixed in 7.2.14-1
  49. Compensating control

    In io_uring/waitid, acquire ownership of the request by bumping ->refs before clearing ->head; clear ->head only after the handler owns the request.

Event History

Nov 2, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via OSV·04:06 PM
DescriptionSeverityAffected Software
Data Sourced
via MITRE·04:06 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
DescriptionSeverity
Nov 3, 2026
Updated
via OSV·05:00 AM
Description
Nov 4, 2026
Updated
via OSV·08:04 PM
Affected Software
Nov 7, 2026
Updated
via OSV·06:00 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:42 AM
Affected Software
Nov 13, 2026
Data Sourced
via Microsoft·01:54 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:54 AM
Affected Software
Updated
via OSV·01:01 PM
Affected Software
Nov 17, 2026
Updated
via OSV·07:01 AM
Affected Software
Nov 18, 2026
Updated
via OSV·02:20 PM
SeverityAffected Software
Event
via OSV·02:20 PM
Nov 19, 2026
Updated
via OSV·10:54 PM
Affected Software
Nov 24, 2026
Updated
via OSV·10:48 PM
Affected Software
Nov 28, 2026
Updated
via OSV·08:00 AM
Affected Software
Dec 1, 2026
Event
via FIRST·12:00 AM
Dec 2, 2026
Updated
via OSV·03:17 PM
Affected Software
Dec 5, 2026
Updated
via OSV·10:08 AM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The CVSS vector indicates local access and low privileges are required. No user interaction is required.

2

What conditions trigger the vulnerable race?

The race occurs when io_waitid_wait() clears the wait-queue head before it has acquired ownership of the request by incrementing its reference count. A concurrent completion or cancellation can then free and reuse the request while the wake-up handler still accesses it.

3

What is the potential impact?

The issue is a use-after-free affecting request state that may have been reused for another operation. The supplied CVSS vector rates confidentiality, integrity, and availability impact as high.

4

How can I determine whether a system has encountered this problem?

The provided description shows that the race can produce a KASAN slab-use-after-free report in __wake. It also involves io_uring waitid request handling, concurrent request completion or cancellation, and request reuse.

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