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=1793706603; b=2rtiXNWt0rojnOvI0+OEJWHpEMze0bJTmX8iZ1Op3NtGSsPJ5PnGz4YDR+GDI7aWLwe8 15wZmNd0iVQQzIU0Vsx9Pi+avMuKA/cY5yFXnmqcdA2koyz/CiOsmrnnym/sLISdlWHM9 xleHizZHlh5kh/NrndY33YmEm9DH+Z/ioi7ehpAG7jzB4aFpo5wAjPSLuYblxzt0qcbZq Pxsyf0HZxr5pLBtT4D5dIzSh2ilexL2pRxz7SLUs84ITKitW6Cta+nXX9MNMx8UOFp76v EJuM1m5PXY1ndHY1Na7Kj+xqIbV6sMDjPprtWrvM5emVETLhWRBNsBj6XwcUozaf7aQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793706603; 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=EUGWJZ9hqb2n4ugXrugS71MNugauegxmIaYOgjaoEAs=; b=On8fhCtgwz2h+bA+Z3BnStXi6df7LZrk+8CAHJf64tOdFRa8Ob9u1NJ9zzjIM3CYP9qA t16HY/APlvM89qXO9JLbA7D/7ffEoOweYlrixr8i1h6f7nkIq9rmAJeHi0ObbGuqLlQOU nPwlVfjIwoCU6FQ75g7j+wOIGWw46JTKGq+Bnz8k7Oi+AtHydmFu8bakKTD5BxEkXxARU Q7WoeBTkLPeaQbdRltolWWSfXG+JE/yd1YcnjflL1NP54a+G8QWwR7EWsgSARVjmxLfOr T3uMKfgrpggYM8om3n6E+5xuB+ynkg9MuyUDTRXCFEPoebsp3QfgtQsEdownR+h1KWg== 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=gqgPsYLe; 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 EA261606D807 for ; Tue, 3 Nov 2026 11:50:02 +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=gqgPsYLe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A5791F00A20; Tue, 3 Nov 2026 11:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793706602; bh=EUGWJZ9hqb2n4ugXrugS71MNugauegxmIaYOgjaoEAs=; h=From:To:Cc:Subject:Date:Reply-To; b=gqgPsYLeTJaY23HXu+xj2CgzHiyutRddMDXOJPJ0lVSPNNyfW8g3I98p0mywKWqWg oJcY2A1WeW84c5c1B+Q6vBHDzxnZs46vDGQimIsxygjMN6TEiMLx8DOETG9tAh/DC3 tFZ8Uxics2aT2B+F7LqfuTYKU7YxFWMChjeDJ9p4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99264: io_uring/net: don't retry recv on uncommitted buffers Date: Tue, 3 Nov 2026 12:48:24 +0100 Message-ID: <2026110324-CVE-2026-99264-3183@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=3898; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Rzn0JsjMaZU4PaVtAU6z9TBL0RzzL1bkPLF7cYuvrWI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvT3HcML7YtX2JwY93axxDP39LSblSvS3y0vngorefW WIYOTeHd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdI8yLJhsFLurZxt3VPbj bS/qdA0aJyuIXmGYzf5QQ7zrnal81pT6h8ev7TdP6Oi9BAA= 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/net: don't retry recv on uncommitted buffers Commit 41b70df5b38b ("io_uring/net: commit partial buffers on retry") commits ring provided buffers when a receive is going to be retried after a partial transfer, so that another request using the same buffer group can't be handed the memory the first one keeps receiving into. It commits the number of bytes received so far. That does the job for a single buffer which is consumed as a whole, but the request hangs on to all it has mapped: - For a buffer ring with IOU_PBUF_RING_INC only these bytes are consumed. The rest of the buffer stays at the head of the ring. - For a bundle only the buffers which hold these bytes are consumed, the others that were peeked stay in the ring. In both cases the next receive with that buffer group gets memory that the retried request is still going to write to, and whoever comes last overwrites the data of the other. What the retry fills isn't committed at all, as the buffer list isn't known any more at that point. So the kernel hands it out again later on, while the CQE tells the application that it was used, and for an incremental buffer that it is done with. The remainder can't be committed in advance: if the request ends up receiving less, there is no way to tell the application that more was consumed than the CQE accounts for. Complete the request with what it has got instead of retrying it. MSG_WAITALL is no longer honoured for receives into incremental buffers or multi buffer bundles, they can return a short count, with the request marked as failed like for other short MSG_WAITALL transfers. The Linux kernel CVE team has assigned CVE-2026-99264 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.44 with commit fe9da1812f8697a38f7e30991d568ec199e16059 and fixed in 6.12.115 with commit 21cb1770a56a51266ab96d4ed2a3b6979db59694 Issue introduced in 6.17 with commit 41b70df5b38bc80967d2e0ed55cc3c3896bba781 and fixed in 6.18.60 with commit fc8506eea4498ecba26ef8bf6dbbd74af3dc891d Issue introduced in 6.17 with commit 41b70df5b38bc80967d2e0ed55cc3c3896bba781 and fixed in 7.2.14 with commit 97b8dc36ba3cb176b74a7929140aeaeb40d5cdc0 Issue introduced in 6.6.103 with commit 3b53dc1c641f2884d4750fc25aaf6c36b90db606 Issue introduced in 6.15.11 with commit 21a4ddb0f5e933f372808c10b9ac704505751bb1 Issue introduced in 6.16.2 with commit 2eb7937b5fc7fcd90eab7bebb0181214b61b9283 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-99264 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/net.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/21cb1770a56a51266ab96d4ed2a3b6979db59694 https://git.kernel.org/stable/c/fc8506eea4498ecba26ef8bf6dbbd74af3dc891d https://git.kernel.org/stable/c/97b8dc36ba3cb176b74a7929140aeaeb40d5cdc0 https://git.kernel.org/stable/c/8444de681a179e41a4eb92d5bbe770a0677074a6