CVE-2026-99227
published high CVSS 3.1 · 7.8io_uring/waitid: prevent cancel reference wrap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf31ecf671ddc498f20219453395794ff2383e06b to < 20b67288574c7c3df6b8ea7ed3b7af90a868006f · f31ecf671ddc498f20219453395794ff2383e06b to < 5bfeee1774791602a0d53eb717f00f172127a017 · f31ecf671ddc498f20219453395794ff2383e06b to < 857aa2012b91cad6fdef54a4b6c632d9d0b6e64f · f31ecf671ddc498f20219453395794ff2383e06b to < 22fb4a4518e305164c7f203608287564de292f34 · f31ecf671ddc498f20219453395794ff2383e06b to < 98787d3fa4e99564d2b2bc21255b21f670c450d0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.115 through 6.12.* (unaffected · semver) · 6.18.60 through 6.18.* (unaffected · semver) · 7.2.14 through 7.2.* (unaffected · semver) · 7.3.1 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3448 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-264.19.1.el10_3 | ALSA-2026:102168 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-741.26.1.el9_9 | ALSA-2026:102167 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The wrap is triggered from local io_uring_enter() IORING_OP_ASYNC_CANCEL or io_uring_register(IORING_REGISTER_SYNC_CANCEL), which reach the patched __io_waitid_cancel() via io_try_cancel()->io_waitid_cancel()->io_cancel_remove()->io_waitid_cancel_cb(). Per kernel guidance, io_uring is Local; no remote protocol carries the cancel. AC:L - The attacker creates an IORING_SETUP_DEFER_TASKRUN ring, submits IORING_OP_WAITID, forks/exits a child so io_waitid_wait() takes a ref and queues io_waitid_cb() without running it (enter without IORING_ENTER_GETEVENTS), then repeats cancel until the 31-bit IO_WAITID_REF_MASK in iw->refs wraps. The sequence is fully attacker-controlled. PR:L - io_uring_setup() calls io_uring_allowed() and sysctl_io_uring_disabled defaults to 0. IORING_OP_WAITID and IORING_OP_ASYNC_CANCEL have no capability check, and waiting on the attacker’s own children via kernel_waitid_prepare() needs none. UI:N - The attacker creates the ring, submits the WAITID SQE, forks the child that wakes io_waitid_wait(), and issues the repeated cancels against that request. No other user must act. S:U - Double-complete of the waitid io_kiocb and the resulting work_list corruption stay inside the host kernel. This is ordinary in-kernel UAF/LPE, not a VM, IOMMU, or sandbox boundary crossing. C:H - After the wrap, __io_waitid_cancel() claims the still-listed request and io_req_queue_tw_complete() mpscq_push()es the same io_kiocb already queued by io_waitid_wait(), so the consumer later walks a freed req_cachep object. That UAF read of the recycled request is High confidentiality. I:H - The same double mpscq_push writes node->next (including an A->A cycle) on an io_kiocb that io_waitid_complete() has already torn down; after io_req_task_complete() frees it, reclaim of that slab object is a UAF write of a list next pointer and a second completion, i.e. High integrity. A:H - The A->A work_list cycle hangs __io_run_local_work() under uring_lock (soft lockup), and the subsequent pop of the freed io_kiocb oopses. Any kernel hang or UAF crash is High availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f31ecf671ddc498f20219453395794ff2383e06b to < 20b67288574c7c3df6b8ea7ed3b7af90a868006f (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 5bfeee1774791602a0d53eb717f00f172127a017 (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 857aa2012b91cad6fdef54a4b6c632d9d0b6e64f (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 22fb4a4518e305164c7f203608287564de292f34 (affected · git)f31ecf671ddc498f20219453395794ff2383e06b to < 98787d3fa4e99564d2b2bc21255b21f670c450d0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.115 through 6.12.* (unaffected · semver)6.18.60 through 6.18.* (unaffected · semver)7.2.14 through 7.2.* (unaffected · semver)7.3.1 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- 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
Provider assertions
1Linux · cna
io_uring/waitid: prevent cancel reference wrap
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 33e34dd2e60978cb4bdb791b661bcea3ca107b2847ba28318c16a6a5a54d3ff1
- Ingested
- 03 Nov 2026, 19:22:39 UTC
- Source record
- Official CVE record