Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187467; b=jfyeViLk3iXkZLVsB2LZ8hxO9rUGRpIcS7aztjXxIos2uSZLSTjXwthobXWtqgxvr0Ht JyvLoq+FLSgQdamTp3nnQ6SgTqmUNuhGvqslNNB/CqfxP1nVWcb4YXgLMs5j1D0aBYIuc TdQuD5SEQeJJJGU8W83jRfLca+fMs+S2XVlXCrwLKPPCBZMinXszwBTJ5zy42xLHxzyps HFCRrME1MtLGybiFrqUZM+nIlFue/n5j+Sot58nVeVUJeerDZLOSnlZPId6/Jxix/U5Ak 7+BJo/IiGC1X7IdTGArbUS04xE8fkOXrMZ6M3IkUH9slRlLJFKzU/BeJXEJ0akgYMEA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187467; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=scTeDuhMRZCwV9EUuJg+1ln3Ya+/TXm57IET9O+hmGw=; b=JACXtc703U+4THWrerUvh7eZ5QO5omeBiiZjxzzSGutxJDBca+tKdjx02RjDxQ0Mrpoi KYUv7FFvtQrZoQNi8dOHrvykRda9CjYK6v5jZwqJYRdDvB8tqx1KUUo+frHg7lS2merEj 5+OMFv6oGH31fjNsKcdlkxTTu08fQalfP+2Sqtgmpji1EJGVtHvr6vCI3HplyInD7bH65 TMauxZF9ofeOs8jXFUKMbz9qEDAJp3ksF21zkyruAxzgO/dMA6JatgrClJXW3+CWLwQZ8 RMZkJfJ4uBmgtZFgCFZc7K981AQRKYpjm8hZmfcBMAWO24/8Qx910Edncn+GW7TvGPg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bIxQ5igj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDB4E606A329 for ; Wed, 28 Oct 2026 11:37:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bIxQ5igj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 048E41F031E0; Wed, 28 Oct 2026 11:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187466; bh=scTeDuhMRZCwV9EUuJg+1ln3Ya+/TXm57IET9O+hmGw=; h=From:To:Cc:Subject:Date:Reply-To; b=bIxQ5igjdMcsrzcSeHAW6Yu0uWv4msJLawaLj6u5p5TRmSwxJ6mQAAlq2oV6EONaU amfplZtHfsaZEZI+C2TLos3o6S+h98sk2fPBEMLtz44mBaU2qeglCCDveDG9jP0Xh0 X6X+U3UOQRcKMSonei89Y8PIZd9m9K2D4OBWtYh4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99130: io_uring/cancel: don't spin on local work the task can't run Date: Wed, 28 Oct 2026 11:35:17 +0100 Message-ID: <2026102858-CVE-2026-99130-2687@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3382; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=beBBKRx7ZynnTKutGqTlpSaQr7NfsRvx8OM3RmApHK0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz1+ujuKZ0yc3e/oOkYNb2WfGKuhPt/UPfm0lHcb9s stGt82vI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSzcOw4FjVlol2jUmqi4/P aG7s+mlhd8/bjWEOV0OB3Xdn6YmL/gqm8a26X5uuf+Y1AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99130 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 360cd42c4e95ff06d8d7b0a54e42236c7e7c187f and fixed in 6.18.59 with commit 94d13387b96e50a4288f7bbdfe401189246a11a1 Issue introduced in 6.4 with commit 360cd42c4e95ff06d8d7b0a54e42236c7e7c187f and fixed in 7.2.13 with commit 3005459e0ddfcef0f555b6e81f672f2c49a1c0aa Issue introduced in 6.4 with commit 360cd42c4e95ff06d8d7b0a54e42236c7e7c187f and fixed in 7.3 with commit fddcf4c5321b3ea5f72166c3fd36a9d1c34f80c7 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99130 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: io_uring/cancel.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/94d13387b96e50a4288f7bbdfe401189246a11a1 https://git.kernel.org/stable/c/3005459e0ddfcef0f555b6e81f672f2c49a1c0aa https://git.kernel.org/stable/c/fddcf4c5321b3ea5f72166c3fd36a9d1c34f80c7