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=1795154042; b=kjjdtH5+4lIeUTsIbY4FBO9pRU6UPqa/Il55Vt7jL2uDX8CpDKhUi+QGBbPNUus/3bK8 RXfKCWGcjz4WsFdHsskhxsB5apALqbsFiLGx6c7yf3XlccpgCJymp3cfc0dp91teO1SOD 53kVt/m/glantT/noQIL4Ln3HD1w2ScUauV396BAfhuq7B8pkJoSXosRQB+z++X+qVYku jb1oFZEAAX8VVr7+A8wYAYtPT+N/GSRUZLRFTwbDiqwOEahbfksryYnJcCvKj1VMxl7tP B/shjreDBWgqboeGtGH8z3dzfgESLHuKTtzoCAl2hGOcrWL7z2q5q6HeoxILzj24RHQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154042; 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=zS5QicD6rWudoOw0dj6431Vdp289P2GfzqKsl3PN0Yw=; b=t6/Y47+gUD+FXdRcfPcCgZeeSxX4ftaC3vqFP7e4XUn+gP1X8W9xKpylPLwu8E0kx6hv UrdLgKJndH89p+B4N+VXp3XxaeYS/9Gxfw0xD8IR9QAfPhaomSRgeDgkBEp4saJKMmdg/ 1mjNS+3IiRR8y5zaeCMyu8nsMzfEjcMj07G9jutPY65pAMppQ1VMZjlZi/fouMrBFxV8i msbr20xVa3QxFB23+KreV/6XYz7GPbs/TVF5B4nrC74CNQRAQwxxzRPEJo4hrQDtiBqP7 RBAaC/F69wnnB8UzancW/W8+CWc/iWdFQw708J/P0T0Vz5q7xL4rHmebfs+oUV/Dgsg== 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=P0DKekcZ; 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 4A0C2606A325 for ; Fri, 20 Nov 2026 05:54:02 +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=P0DKekcZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id C024C1F000CA; Fri, 20 Nov 2026 05:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154042; bh=zS5QicD6rWudoOw0dj6431Vdp289P2GfzqKsl3PN0Yw=; h=From:To:Cc:Subject:Date:Reply-To; b=P0DKekcZVyTdyFfIJbD4hluGcxAlX8wIOrYUt18jGQgu5YkFZ1L8kHHVbflTXlOkm 19TpRWPzz4SWzOxTJAVAaunzzSS7xJVQuJSufZ0xDV9PunLy4X0uM9W3mNqslTp52l V7+2V3QgoGItfX+5S5SfqQf+xMirLcWgsbRxAQQc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99606: net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data Date: Fri, 20 Nov 2026 06:49:52 +0100 Message-ID: <2026112027-CVE-2026-99606-6578@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=3311; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yMht7PasOYux6+nEP9SDKLVidD2lYXTgnGKrUBO+fXU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/72dw8XM2nxeo6JX1WPZa2DVz+5MCnxWbnrQ3RSq9W lGQLKrXEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZ2cEwV8ZFfBKn/IaJVnPT Hr26v96MW1jtPcNcQfaLb0pl/m+8z1dyxohr8j4F773pAA== 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: net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data While bytes spliced off the RMB are still in a pipe, recvmsg() waits for the pipe to release them before it copies the data behind them. The path to that wait skips the timeout and signal checks, and smc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending, after SHUT_RD, or once the peer closes or shuts down writing, recvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot stop it. MSG_DONTWAIT and an expired SO_RCVTIMEO wait there too instead of returning -EAGAIN. Check the timeout and signals before that wait, and end it when the pipe releases the data or the connection is killed, not on RCV_SHUTDOWN. A zero-length read returns 0 without waiting for the pipe; a non-blocking one returns -EAGAIN while poll() still reports the socket readable (splice() can still take those bytes). The wait sets SOCKWQ_ASYNC_WAITDATA like smc_rx_wait(), so a byte arriving behind the pipe raises no SIGIO on a reader already asleep for it, and a full barrier orders its wait queue entry before its read of splice_pending, so no wake is lost. The Linux kernel CVE team has assigned CVE-2026-99606 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f and fixed in 6.12.118 with commit 16bbd8c8381c01598ae91bc72e62f617353d9bd9 Issue introduced in 4.18 with commit 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f and fixed in 6.18.64 with commit f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7 Issue introduced in 4.18 with commit 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f and fixed in 7.3.5 with commit 883b66d11ee3ed89cc22599280d3c319cf38903f Issue introduced in 4.18 with commit 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f and fixed in 7.4-rc2 with commit 8288ba942cfd20621c05e16978b7c3da91513ae1 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-99606 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: net/smc/smc_rx.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/16bbd8c8381c01598ae91bc72e62f617353d9bd9 https://git.kernel.org/stable/c/f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7 https://git.kernel.org/stable/c/883b66d11ee3ed89cc22599280d3c319cf38903f https://git.kernel.org/stable/c/8288ba942cfd20621c05e16978b7c3da91513ae1