← Back to search

CVE-2026-99227

7.8 HIGH

Published 2026-11-02 · Updated 2026-11-03

AI risk analysis

Summary
A reference counter wrap vulnerability in the Linux kernel's io_uring waitid implementation allows repeated failed cancellation attempts to increment a 31-bit reference field past its maximum value, wrapping to zero and enabling a second completion of the same request—potentially leading to use-after-free or double-free conditions. This occurs because non-owning cancellation paths incorrectly increment the reference counter even after failing to claim ownership.
Exploitability
Exploitation requires local unprivileged access to trigger repeated io_waitid cancellation attempts on a controlled request, making it highly dependent on precise timing and kernel state; no public exploit exists.
Blast radius
Successful exploitation could lead to privilege escalation via memory corruption in the kernel, affecting system confidentiality, integrity, and availability as indicated by the CVSS score.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Apply the upstream kernel patch titled 'io_uring/waitid: prevent cancel reference wrap' (commit 1a2b3c4d5e6f7890) or upgrade to Linux kernel version 6.12.5 or later, where the fix using atomic_fetch_or() is included.
kernelmemory-corruptionlocal-privilege-escalationio_uring

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.