CVE-2026-99227
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: prevent cancel reference wrap io_waitid packs the cancellation state into bit 31 of ->refs and uses bits 30:0 as a 31-bit reference counter: #define IO_WAITID_CANCEL_FLAG BIT(31) #define IO_WAITID_REF_MASK GENMASK(30, 0) __io_waitid_cancel() 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 atomic_fetch_or() 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.
Timeline
- 2026-11-02Published by the CNA16:06 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux | ||
| linux linux_kernel | from 6.7 before 6.12.115fixed in 6.12.115from 6.7 before 6.18.60fixed in 6.18.60from 6.7 before 7.2.14fixed in 7.2.14from 6.7 before 7.3.1fixed in 7.3.1from 6.7 before 7.4-rc1fixed in 7.4-rc1 | 6.12.1156.18.607.2.147.3.17.4-rc1 |
References
- https://git.kernel.org/stable/c/20b67288574c7c3df6b8ea7ed3b7af90a868006f
- https://git.kernel.org/stable/c/22fb4a4518e305164c7f203608287564de292f34
- https://git.kernel.org/stable/c/5bfeee1774791602a0d53eb717f00f172127a017
- https://git.kernel.org/stable/c/857aa2012b91cad6fdef54a4b6c632d9d0b6e64f
- https://git.kernel.org/stable/c/98787d3fa4e99564d2b2bc21255b21f670c450d0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-99227'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-99227'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-99227'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-99227'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).