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=1795158157; b=2DOlSicIds9rl/aZ7KBDStQ5mVgKM9/OmaU0rwY0c0vAox6TKtBpCzH+/W1EENsudquW Od2jP3vepCQFk9AhfW4HJZ4Qjw+FHePNmWpBXyuA1G0U8XF+4H97qW1MpBb4i2d9e6FBf j8U22LAR5MYX9nwRw4u3JXEBJReUjGks1coQGus2XsLOxCF+8Whb2urVu+z5ut1ulJQoF EDB5nhZbt1KptGrBsgwQuCqysK7el7/Jy0LLRH5jMOj9wmJGLLLoTDJGGJsebhbNh/FBb HscJSkeH3YAkjDXggq7USTyg9C24m6w3Lctd9yNKx1aQK0fqCua1jV3sIp6jPx0G+Zg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795158157; 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=LYqULUpWXU2jIFqfYuKnNOjGnT3wAJJOp2Vq7EeCdtM=; b=Fp7rBXpyMQWqkLBt+NQqT8jJeiJItH5AP1XJxRwMHWtJlrbI4CfoILbh0KbLFapyAKPN hEAN3CudVDxrTEvgK+GFa1KIF1KvmcCLAaGA2mpuIjH0fDrXZIsqtwRTSb+kR0FUNwE40 pNG6WV6mnliSrflWnWgGFtDTq2UkVssLTTAmIcuLsardi3nWnjl1J+/pFBECVqxj/q7Fe FZDfOd+xSpZs5WtriTEnizzP+V1kHhWX5gj7ENcjtazKrYn1YOmQm/LEyRD08nVJmVHLq 4cm6BDZtRzMDdS5LPa7EeiV4CvHrPHdVABBjeldZjEdZTnYxhPws2MXnQhUeX4mCHxg== 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=CfBQahzi; 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 744D1606A320 for ; Fri, 20 Nov 2026 07:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=CfBQahzi Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE61A1F000C6; Fri, 20 Nov 2026 07:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795158157; bh=LYqULUpWXU2jIFqfYuKnNOjGnT3wAJJOp2Vq7EeCdtM=; h=From:To:Cc:Subject:Date:Reply-To; b=CfBQahziENBdgPTuy74FolNbkCrYt8aaiomQkEhX4p9aqgfd39aS52V0Nd8kRJgj+ 3ElZEmmXZVO3SUq/KYHUeyOW1Aks3KAnce7i90GNzBuQDoNrDCm+6w5FaFVvsnzYK+ 2RRPDrSkVCk3hSxl+tM7b+UkZB2PJ4zLdBGVJK4I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99800: io_uring: free the task context after a grace period Date: Fri, 20 Nov 2026 08:02:19 +0100 Message-ID: <2026112017-CVE-2026-99800-5c75@gregkh> X-Mailer: git-send-email 2.56.1 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=2704; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZeET7cT4jEp2RFAWFAg80R/NXcqn8ykAnh2FFI7/Jqo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/P1TmyC8948mxrjH22GyVb0ss3pbvWR7At8Bitfhr2 X/v1YPmd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtvUwLLikfub3+dfPlraL nCw4tOkY68VXIbUMCxbefGYXlnZpbg7T1axcZpMFfCXJ+gA= 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: free the task context after a grace period A task other than the owner can free a request, io_ring_exit_work() running the local task_work of a DEFER_TASKRUN ring for example, or io_do_iopoll() reaping completions. io_put_task() then takes the else branch: percpu_counter_sub(&tctx->inflight, 1); if (unlikely(atomic_read(&tctx->in_cancel))) wake_up(&tctx->wait); put_task_struct(tctx->task); The first line is what lets the owner leave io_uring_cancel_generic(), and on exec it frees the tctx right after. Nothing holds that off for the remaining three lines, the task reference only covers a tctx freed along with the task_struct. It used to work out because io_uring_del_tctx_node() took the uring_lock that the freeing side holds across io_put_task(), until that moved to tctx_lock. Free the tctx with kfree_rcu(), and enter an RCU read section in io_put_task() before the count is dropped. The Linux kernel CVE team has assigned CVE-2026-99800 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 5623eb1ed035f01dfa620366a82b667545b10c82 and fixed in 7.3.2 with commit 953174dcb862a7a364efdb65e178dcd3aea5562e Issue introduced in 6.19 with commit 5623eb1ed035f01dfa620366a82b667545b10c82 and fixed in 7.4-rc1 with commit 9f5315d3f4368590c9fe06d4313b7247470bcf15 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-99800 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: include/linux/io_uring_types.h io_uring/io_uring.c io_uring/tctx.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/953174dcb862a7a364efdb65e178dcd3aea5562e https://git.kernel.org/stable/c/9f5315d3f4368590c9fe06d4313b7247470bcf15