CVE-2026-99227: io_uring/waitid: prevent cancel reference wrap

Published Nov 2, 2026
·
Updated

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

iouring/waitid: prevent cancel reference wrap

iowaitid packs the cancellation state into bit 31 of ->refs and uses bits 30:0 as a 31-bit reference counter:

#define IOWAITIDCANCELFLAG BIT(31) #define IOWAITIDREFMASK GENMASK(30, 0)

iowaitidcancel() marks a request canceled, then increments the low bits of ->refs to claim completion ownership. When another path owns the request, the increment remains even though cancellation returns false. The request remains discoverable by cancellation, so repeated failed attempts can wrap the 31-bit reference field to zero. A later cancellation can claim ownership and complete the request a second time.

Use atomicfetchor() when setting the cancel flag and inspect the old flag value. The first cancel attempt continues to the existing ownership increment, preserving its wake and issuer handoff semantics. Later attempts see the cancel flag and return without incrementing the reference field.

This makes repeated failed cancellation attempts idempotent while leaving the first-cancel state transitions unchanged.

Affected Software

7 affected componentsFixes available
debian/linux<6.12.115-1
6.12.115-1
debian/linux*
debian/linux<=6.12.107-1, <=7.2.12-1
6.1.176-16.1.190-16.12.115-27.2.15-1
linux/kernel>=6.7.0<6.12.115
6.12.115
linux/kernel>=6.13.0<6.18.60
6.18.60
linux/kernel>=6.19.0<7.2.14
7.2.14
linux/kernel>=7.3.0<7.3.1
7.3.1

Event History

Nov 2, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
DescriptionSeverity
Data Sourced
via OSV·04:06 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
DescriptionSeverity

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