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=1793635457; b=p0JFWZ+KPVT5jNeUs2W3WScMD4X+l4LSyJeXCnQSQiQUz418xVmtOqYpQAv+9+Mu6bOI 3smSbecPQPFZLCAwpybcp6o5clIENyDlS/LkYgSTXAv9n6F1zr95nRdJn/rImLVfFLo/G DkqYtNfJ7tbxzZb31cByXdh8LCCZwTeuhUJD7IIhjSYqmxrltXZS5a61HhNsdrWatMd4e iJaeUrI7IB4vlXzLbSoVLNKiiHGupZtluo2CpqpCvlHNcoGsCQA+u+TDYGkZ3n169VWV/ kWPd/Nul35qKrr0bwr/Dk8+3Eb0A+2Sj16+KGCJrqzM12qWLzYy5lJ0/7Xd6h8+Demw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793635457; 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=Rhh7h51jlcJtqyh9zPz0G13gEw0NEp0wJmeN+l8O8qg=; b=4ZY5Yq6THfcwqg5pwKHsI6/+OaDUL6UCpJ/iZrrIq0TqmfYuuJY1SFpxSohb04RudvWm s57cBx8sRgDOXAEOaR1L931i/wbuvVnhBxLZ9MKOfJjrAHYBrG9JF9V+F9QJUA5gFKymx LH77CRa1mGR36JD193GxoE1lO4Gz6mmiCPWtmtGH0wN2FtSijJjDstKCRjipq2/oNO4kQ vETS6AsXCLThmiv/Ht0YThIf1mRF+WLPcuKDNVnu101xa3hKKSuey+u2Xrt1oXH5ikN0j p54jOPndStMFcrenDzLq3lV+p9UYIv6usXo5XpkiOkha76ZF2IcqvsUWnrJlMY6zCZQ== 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=UolRj5OS; 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 86A3C606A904 for ; Mon, 2 Nov 2026 16:04:17 +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=UolRj5OS Received: by smtp.kernel.org (Postfix) with ESMTPSA id C25E71F00A1B; Mon, 2 Nov 2026 16:04:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793635457; bh=Rhh7h51jlcJtqyh9zPz0G13gEw0NEp0wJmeN+l8O8qg=; h=From:To:Cc:Subject:Date:Reply-To; b=UolRj5OSGGfy2QR/agYEwVa4RuvFwOQVmLXfSiJjWGproBLfUdWI4e7fw2B4uV2BK zR+zpyI6YdRncPSSEykbZqDMX5GODiEZ/g4GzgQvRY3dW6XwYyWM3K/YUfVJu8/GOa OOW5O/w5T6VdY5kc1DGuS6JSGl2wDYO6r0rJCF1Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99229: io_uring/wait: don't spin on a stuck overflow list Date: Mon, 2 Nov 2026 17:04:12 +0100 Message-ID: <2026110205-CVE-2026-99229-604e@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=3527; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OJ3JhR750X96ElITWNOsbnejCdWUfKuEA1YppBXchz0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvtpROTght2bunaHPrzbUrKgNytjutCbCokZX6nT5nn vdfi4vuHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjWUM8xQSRJ/dEruhOfO2 duT1+SzOS0O+PWJYMOXpjrXBW5hcuw8HFoTudWkIvnH1EwA= 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/wait: don't spin on a stuck overflow list As long as IO_CHECK_CQ_OVERFLOW_BIT is set, io_cqring_wait_schedule() returns right away, before it gets to look at signals or arms the timeout, for io_cqring_wait() to flush the overflow list. If that doesn't empty the list, and the CQ ring doesn't hold the number of events the caller wants, the loop starts over, with the same result. The task spins in the kernel, and can't be killed. The assumption is that this can't happen: if CQEs can't be flushed, the ring is full, and min_events is capped to the size of the ring. But: - With IORING_SETUP_CQE_MIXED a 32b CQE needs two contiguous entries. It is stuck on the list if a single one is free, and then the ring holds less than cq_entries events. A single threaded application that asks for as many events as the ring has entries never gets out of io_uring_enter(). - Whether the ring is full is up to the CQ head, which the application can write to. While one thread waits for events on an empty ring, another one can move the head back so that the ring looks full and have a CQE overflow. The waiter can't be stopped any more, not even by SIGKILL. Only the application can make room in the CQ ring. Return to it if the list could not be flushed. The Linux kernel CVE team has assigned CVE-2026-99229 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 3fcf19d592d5cb63eb209400b22055651e3c27d0 and fixed in 6.6.161 with commit bf1d2ed84b3162e3b0e0bb7018ac59147da6e975 Issue introduced in 6.3 with commit 3fcf19d592d5cb63eb209400b22055651e3c27d0 and fixed in 6.12.115 with commit a6cfc85c6bf9498aaf1978b503f9663635a1aa22 Issue introduced in 6.3 with commit 3fcf19d592d5cb63eb209400b22055651e3c27d0 and fixed in 6.18.60 with commit 4a89352edd8b3e20d1e1fb33f0fc297dd137149f Issue introduced in 6.3 with commit 3fcf19d592d5cb63eb209400b22055651e3c27d0 and fixed in 7.2.14 with commit c347691e5dc5481b2d6943c123619e04847fb0dc 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-99229 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/wait.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/bf1d2ed84b3162e3b0e0bb7018ac59147da6e975 https://git.kernel.org/stable/c/a6cfc85c6bf9498aaf1978b503f9663635a1aa22 https://git.kernel.org/stable/c/4a89352edd8b3e20d1e1fb33f0fc297dd137149f https://git.kernel.org/stable/c/c347691e5dc5481b2d6943c123619e04847fb0dc https://git.kernel.org/stable/c/34f5a664c34d3cb62f6bec7f4156754594a7d25b