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=1795098995; b=NrSZ/MRvJJVfs9G2N0QXNcHhzEzuYEBIwtunA+CfMoO6fNZP6Ssl8NMW15/NeWGVSvgK cj/meCoK9inzPZ93lhN0/no8/ecyeiYc7qv6FgaKKfG6hp5DoWfHZLVQG/KClTEWKPib3 Iq9Y9mzSnU+BxmrY6SuTGxI12m/wZwzE0LrotbyijxqJk8xf4kK0N+oJ5OHwqngnFFkHp 6h1DQ8lbWPTHZNPepdGJLg7m5FUitoIYheaGdT0wBKRxfahSdtxvhfFAVt1Nzaw9yv0yg B55iIJ3UD52PJTOqVL4m9zkuluPzgDfMhBn6I8LmyfmbzpGUg6i/L5Iz7T0pdCnHKLw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098995; 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=59XvPvkfB6CFtqDVhBHJMqkf3RTJ8TYZMpebIFjJ94w=; b=bpp25hfUNmK0QIZoTq5b4hiS9PK92dfwQ5CTqCsxJUElz9V1PLE7RmMDMbJjYN9QXPQz 9NNXVXpRgyJ9wPAALpMBk5AIu0yLZQbZOC8Td2ULqGGVlrLT6EeuUreuDbvp4t6rc6YTX M+Kx8babM7fQbrfQrIvqwHnuRWt98jp24bW2OQ2jxLQIyrhFtmj+CtcBrZ7pWdgoEwDLs qYdFwM4Od/XPiDBFxQCLKDA1vPLBoE/xkba3B90XFrvCrZZbElMQFY71x4IZCbmxBxjrd KYHgf0/DxdRBy65csDn1+8ShoAD8xjkQjO6W8f69wjgzG0suHv/U08Hki+rANG9GPiQ== 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="KYMV23/a"; 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 9014F606A320 for ; Thu, 19 Nov 2026 14:36:35 +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=KYMV23/a Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE5791F000C4; Thu, 19 Nov 2026 14:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098995; bh=59XvPvkfB6CFtqDVhBHJMqkf3RTJ8TYZMpebIFjJ94w=; h=From:To:Cc:Subject:Date:Reply-To; b=KYMV23/al4TR1L1Ei0Fao3iG1PMkc0HN5NZUj4E2OQcNNUKIc1gQU1SHoR91R9DSl OnHj97X2p61phZfmlhYrZqhft0XfFQzZIAUb1qFoMJMRneNzqqSeMt34yzk9fpOa7D qykazEKj+SlbZY4HLiP0fos2jh7ewLV0IhS4iKRg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99356: SUNRPC: Do not credit control-record octets to the RPC stream Date: Thu, 19 Nov 2026 15:24:14 +0100 Message-ID: <2026111949-CVE-2026-99356-9857@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=3421; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vVBzyuJTISowuHYmkCJb6hr1nWm3xVYvjo1kjOxjryI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2UoP1L4wvCP7ef33qTHKJ4qstwjNevJuZsQ0KQX+2 qJnsXcudMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELjEyzGZ51XadlylhjeA2 CQ/J51sU7A5Pn8+wYN7z4pN+i6dUhevbbqspVTaac8k9GAA= 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: SUNRPC: Do not credit control-record octets to the RPC stream svc_tcp_sock_recv_cmsg() receives up to two octets into a local buffer, and returns that count for any record type other than TLS_RECORD_TYPE_ALERT. Nothing reached the caller's buffer, but svc_tcp_read_marker() adds the count to sk_tcplen and svc_tcp_read_msg()'s caller adds it to sk_datalen. The RPC stream advances over octets it never received. The fragment marker is assembled from stale sk_marker octets. The message body comes from pages nothing wrote. A conforming client reaches this. RFC 8446 Section 4.6.3 lets either peer send KeyUpdate once it has sent its Finished, and svcsock has no rekey path. kTLS leaves the partially consumed record on ctx->rx_list, so the body drains two octets per svc_tcp_recvfrom() call. Each pair is credited the same way. Return -EAGAIN for a record that is not an alert. That is what svc_tcp_sock_process_cmsg()'s default arm returned before the receive moved into a local buffer. The Linux kernel CVE team has assigned CVE-2026-99356 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.42 with commit 25bb3647d30a20486b5fe7cff2b0e503c16c9692 and fixed in 6.12.117 with commit d784d46e19b52a553d5c772a18e13b4c6dc84708 Issue introduced in 6.17 with commit bee47cb026e762841f3faece47b51f985e215edb and fixed in 6.18.61 with commit 67d36b376f76a71e52a5f8ed4a4d9d90b8b68133 Issue introduced in 6.17 with commit bee47cb026e762841f3faece47b51f985e215edb and fixed in 7.3.2 with commit 99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba Issue introduced in 6.17 with commit bee47cb026e762841f3faece47b51f985e215edb and fixed in 7.4-rc1 with commit 129e7107b971009bc81643d23f3ab949f540d321 Issue introduced in 6.6.102 with commit b1df394621710b312f0393e3f240fdac0764f968 Issue introduced in 6.15.10 with commit 3b549da875414989f480b66835d514be80a0bd9c Issue introduced in 6.16.1 with commit 6b33c31cc788073bfbed9297e1f4486ed73d87da 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-99356 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/sunrpc/svcsock.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/d784d46e19b52a553d5c772a18e13b4c6dc84708 https://git.kernel.org/stable/c/67d36b376f76a71e52a5f8ed4a4d9d90b8b68133 https://git.kernel.org/stable/c/99eb91d68e73a08bfc784eff6f5c02ecb6ea58ba https://git.kernel.org/stable/c/129e7107b971009bc81643d23f3ab949f540d321