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=1793706612; b=rY0mWJXNw431H6myjdJZW7r7Pi04yW3ltTtCQpFvqftNMEe8amMdS2n1+S0Nyuu+EtdD /Aag4Tt86vnoV56SZ28c+x5HfkX6Rrc01MWQ5kG6usz1A/y1G+uEHPlj7zHVkxua0vfmC qTbJf+QZjkCiTYWprhZG78mSlAEvHpZPTByTY1dQGLU0Fj+0aAODKtpDI6OZ7dpB8A39k V7oEK5z+73rPC20C+MZbsqRW62Q/IaFLXnielmmvMwLDhYK4yP0rtcoxlP52GpTu1CC2w pUb02g01y9izQ9lLi1gNcXuHCPvIXe8HiVhP/aBwApvMs5GHckQIDDgNP+wvonz06nw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793706612; 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=XigSEXRf8eGyfYvWfBNEqLsJDJfCveJzUmQdIHsas5k=; b=Zpdb6PmhQcVHE1TNZZulIkx6CFVh47rpf0JPczh+KQbHa8KMy4i/GrP5cklnqOO5qlRV 7o6OTf30F2KzrDac1+9Qh8R3BeryDM7oPHfP0LVHwxTJvlAtr9a8yIHId6sR2oLNOCe0h Y0CU3DW8H1LtScsyKpRh6D+ZzNQvxYX1DZY8jd8Zy/owBUX4xHI8Jt8wSZTVAVaE2tOQ2 fojF1bER0ZSAyL0qP20Pt0Em78GjES5ppsljobTtEGNBYoF0mVHYzkv9icP9lKbkG+f7s 0zSMvC/sYLLc4+2C6zbz5qDg/lssAyylBQ4abw+y6spuF2NVSzZcpKVP8Ea0SucgJvQ== 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=VCh4YabK; 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 8CF0B606A333 for ; Tue, 3 Nov 2026 11:50:12 +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=VCh4YabK Received: by smtp.kernel.org (Postfix) with ESMTPSA id 226241F00919; Tue, 3 Nov 2026 11:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793706612; bh=XigSEXRf8eGyfYvWfBNEqLsJDJfCveJzUmQdIHsas5k=; h=From:To:Cc:Subject:Date:Reply-To; b=VCh4YabK9uXhtG5236a5X1KDDWwqmYqd6am8cVcvkza/WyH/LInp0mZlalT4ZKnM3 OlNGJp1Kw9weP5AXq0BweBV5uvchNYScOFfrFQRF8zkmAGyoqpC0SvF8CO2BEBiPSs jloCphkXs/S/EmVGUlW7ilgxJr+hcc5uMa3GNrO8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99262: io_uring/timeout: don't lose a cancel as io-wq arms a timeout Date: Tue, 3 Nov 2026 12:48:22 +0100 Message-ID: <2026110321-CVE-2026-99262-34d1@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=3835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k/Q9SbpQhtLvc6S7EG/VSFii06ce7rHk0v2M3pqjF3I=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvT7F+0l5jcMxK6smlV6vUrVg+b19+K9ah56e5Cbe1u OSOs7KbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiTesZ5ilteClolf7s9rQN F94/m1RVKOS7fjHDgqOGyr0vTVZqKAlc4Ph/6NehxL3N/AA= 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/timeout: don't lose a cancel as io-wq arms a timeout An IORING_OP_TIMEOUT run by io-wq, because of IOSQE_ASYNC, has the same problem as poll, futex and waitid. io_wq_submit_work() looks at IO_WQ_WORK_CANCEL once, before it issues the request. A cancel in between flags the work, gets -EALREADY, and searches ->timeout_list in vain, while the worker then adds the request and starts the timer: io-wq worker io_try_cancel() io_wq_submit_work() IO_WQ_WORK_CANCEL isn't set io_async_cancel_one() sets IO_WQ_WORK_CANCEL = -EALREADY io_timeout_cancel() = -ENOENT io_timeout() adds the request to ->timeout_list hrtimer_start() = IOU_ISSUE_SKIP_COMPLETE Nobody looks at the flag again, and the timeout runs its course. At ring exit, io_uring_try_cancel_requests() cancels io-wq work and then kills the timeouts the same way, so an exiting task can get stuck for the full duration of such a timeout. Look at the flag under ->timeout_lock, which the search takes as well, and fail the request if it is set. If the search came first, the flag is visible. If it comes later, it finds the request on the list. The Linux kernel CVE team has assigned CVE-2026-99262 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit ce35a47a3a0208a77b4d31b7f2e8ed57d624093d and fixed in 6.1.191 with commit f1fabf17f37b252b11d8fe5c70c8056b70b005ca Issue introduced in 5.6 with commit ce35a47a3a0208a77b4d31b7f2e8ed57d624093d and fixed in 6.6.161 with commit 68cd06ba918d9658c36c1973a0184795738dcc46 Issue introduced in 5.6 with commit ce35a47a3a0208a77b4d31b7f2e8ed57d624093d and fixed in 6.12.115 with commit f9d5e02649587885852f46b6dc7c081b87f0ac3a Issue introduced in 5.6 with commit ce35a47a3a0208a77b4d31b7f2e8ed57d624093d and fixed in 6.18.60 with commit f10ab47077e63d6eee35b242c257c3947bb49e64 Issue introduced in 5.6 with commit ce35a47a3a0208a77b4d31b7f2e8ed57d624093d and fixed in 7.2.14 with commit df705a274da10da7bb546e08b49fa80a6ef19c78 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-99262 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/io_uring.h io_uring/timeout.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/f1fabf17f37b252b11d8fe5c70c8056b70b005ca https://git.kernel.org/stable/c/68cd06ba918d9658c36c1973a0184795738dcc46 https://git.kernel.org/stable/c/f9d5e02649587885852f46b6dc7c081b87f0ac3a https://git.kernel.org/stable/c/f10ab47077e63d6eee35b242c257c3947bb49e64 https://git.kernel.org/stable/c/df705a274da10da7bb546e08b49fa80a6ef19c78 https://git.kernel.org/stable/c/89f193dc3ef462059387e9691bf6af4b1808379a