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

io_uring/cancel: don't spin on local work the task can't run

io_uring_cancel_generic() refuses to sleep while any ring on the exiting
task's tctx has local work pending. It assumes the task is that ring's
submitter and that the next io_uring_try_cancel_requests() pass will run
the work. This does not hold for a ring that was still
IORING_SETUP_R_DISABLED when the task got its tctx node from
io_uring_create() or io_ringfd_register(). The submitter is set later by
IORING_REGISTER_ENABLE_RINGS, possibly from another task, and only the
submitter may run local work on an IORING_SETUP_DEFER_TASKRUN ring. To
the exiting task the work stays pending forever, the loop never reaches
schedule(), and the task trips the WARN_ON_ONCE() once and then spins in
do_exit().

An unprivileged user can set this up at will by creating a disabled
ring, having a child enable it and stop, posting to the ring with
IORING_OP_MSG_RING and exiting with a request in flight that only the
child can complete. The exiting thread burns a CPU until the child runs
or dies, and with panic_on_warn set the WARN panics the kernel.

Fix by skipping the sleep only when io_allowed_defer_tw_run() allows the
task to run the work. This is reasonable since work it cannot run cannot
complete any of its requests either, so nothing is lost by sleeping.
Drop the WARN_ON_ONCE() since handing a disabled ring to another thread
is a supported scenario, not a bug state.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service (Kernel Panic / Resource Exhaustion)
Action: Immediate Patch
AI Analysis

Impact

The kernel code that manages io_uring cancellation can cause a task to spin when it cannot run pending work. By creating a disabled ring, moving it to another thread, and exiting while a request remains in flight, the exiting thread never sleeps, consumes CPU until the helper thread runs or dies, and when panic_on_warn is enabled the kernel will panic. The outcome is a local denial of service that exhausts CPU resources or crashes the system.

Affected Systems

This flaw affects all Linux kernel builds that include the io_uring subsystem prior to the patch committed by commit 3005459e0ddfcef0f555b6e81f672f2c49a1c0aa. Any Linux system where unprivileged users can instantiate io_uring rings, including recent distributions running v5.10 and newer, is potentially vulnerable.

Risk and Exploitability

The vulnerability is local and requires a user with permission to create io_uring instances, which is typically granted to all users. No public exploit is known and EPSS data is not available, but the severity could be high because it can trigger a kernel panic. The KEV catalog does not list this CVE. Because the issue involves a busy loop that can lead to a panic, the exploitation probability is low to moderate, yet a vulnerable system cannot tolerate any exploitation attempts.

Generated by OpenCVE AI on October 28, 2026 at 11:42 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the patch fixing the io_uring cancel busy loop.
  • If an immediate patch is not available, restrict unprivileged users from creating disabled rings, for example by disabling the IORING_SETUP_R_DISABLED flag or by using container isolation to limit io_uring access.
  • As a temporary measure, set the kernel parameter panic_on_warn=0 to prevent a kernel panic when the bug is triggered.

Generated by OpenCVE AI on October 28, 2026 at 11:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Wed, 28 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Wed, 28 Oct 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: io_uring/cancel: don't spin on local work the task can't run io_uring_cancel_generic() refuses to sleep while any ring on the exiting task's tctx has local work pending. It assumes the task is that ring's submitter and that the next io_uring_try_cancel_requests() pass will run the work. This does not hold for a ring that was still IORING_SETUP_R_DISABLED when the task got its tctx node from io_uring_create() or io_ringfd_register(). The submitter is set later by IORING_REGISTER_ENABLE_RINGS, possibly from another task, and only the submitter may run local work on an IORING_SETUP_DEFER_TASKRUN ring. To the exiting task the work stays pending forever, the loop never reaches schedule(), and the task trips the WARN_ON_ONCE() once and then spins in do_exit(). An unprivileged user can set this up at will by creating a disabled ring, having a child enable it and stop, posting to the ring with IORING_OP_MSG_RING and exiting with a request in flight that only the child can complete. The exiting thread burns a CPU until the child runs or dies, and with panic_on_warn set the WARN panics the kernel. Fix by skipping the sleep only when io_allowed_defer_tw_run() allows the task to run the work. This is reasonable since work it cannot run cannot complete any of its requests either, so nothing is lost by sleeping. Drop the WARN_ON_ONCE() since handing a disabled ring to another thread is a supported scenario, not a bug state.
Title io_uring/cancel: don't spin on local work the task can't run
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:34:43.514Z

Reserved: 2026-09-25T10:25:14.394Z

Link: CVE-2026-99130

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:32.800

Modified: 2026-10-28T11:17:32.800

Link: CVE-2026-99130

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T12:45:15Z

Weaknesses