# CVE-2026-99227: io\_uring/waitid: prevent cancel reference wrap

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-02 · Modified: 2026-11-03
- Aliases: DEBIAN-CVE-2026-99227, UBUNTU-CVE-2026-99227
- Record: https://cvemate.com/vulnerability/CVE-2026-99227 · JSON: https://cvemate.com/vulnerability/CVE-2026-99227/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.156%, percentile 4.953%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.115-1 \| \< 7.2.14-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151 \| \< 7.3.0-11.12 \| \< 7.0.0-44.44
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76 \| \< 7.3.0-1005.5 \| \< 7.0.0-1018.19
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76+fips1

## References

- <https://git.kernel.org/stable/c/20b67288574c7c3df6b8ea7ed3b7af90a868006f>
- <https://git.kernel.org/stable/c/5bfeee1774791602a0d53eb717f00f172127a017>
- <https://git.kernel.org/stable/c/857aa2012b91cad6fdef54a4b6c632d9d0b6e64f>
- <https://git.kernel.org/stable/c/22fb4a4518e305164c7f203608287564de292f34>
- <https://security-tracker.debian.org/tracker/CVE-2026-99227>
- <https://git.kernel.org/stable/c/98787d3fa4e99564d2b2bc21255b21f670c450d0>
- <https://ubuntu.com/security/CVE-2026-99227>
- <https://www.cve.org/CVERecord?id=CVE-2026-99227>
- <https://ubuntu.com/security/notices/USN-9165-1>
- <https://ubuntu.com/security/notices/USN-9166-1>
- <https://ubuntu.com/security/notices/USN-9173-1>
- <https://ubuntu.com/security/notices/USN-9173-2>
- <https://ubuntu.com/security/notices/USN-9173-3>
- <https://ubuntu.com/security/notices/USN-9190-1>
- <https://ubuntu.com/security/notices/USN-9191-1>
- <https://ubuntu.com/security/notices/USN-9165-2>
- <https://ubuntu.com/security/notices/USN-9190-2>

---

Data as of 2026-12-05T03:57:22.202Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
