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=1794065626; b=FD0rmxmQuRRQm4a0KK9mvat4M/FBmjZEWhjV2wgBWtYmDWQNISTN4rH/EVTdcCJCWzjf H2U4oO7TyAsyRmQiPSLISioORPfoIV1pSJhA3nMyJdnV1SqMy5tMyttmV0E24i9xVo7mP GNC2t3K76YJ4Gt6Qd4KnmiE75g14xszmtmu8TW+d3pG1i+p5SU8tjE0XJ4GBpZaiQOUGl LcnDA8nipQx+JRDIc1YQrwxqXU5FE7pB5mwtOgWIL5meIzIO2khzIQl6+eqKfvdsCf6iM w+eN2zR/tq8gY1MhiJ2V0kz9t6BQWthLmz8MYJRBRdNt7FGFHgeLeSuGNOpQ1rBe29g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794065626; 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=jyMpDRy9ZrMeX/cr1KCNrGkrXyrLZ3e2YoETH4d1LQY=; b=gekvY+kbgrt3feh9KYs79cE2gikjbSr/kD01N4jx7pl5b7tFVkp8GOmEeP5JZybmul96 y1Myy/CXWHB1iAxAl3L6JVuf6n/c38gYa4kGWmyP3BvAK5/4MmX8kZbBM43/T9lZ5zN1S QMLsc0YO3qN+1V0u9wMxQ+Ks4ZR0F721e63+AYF4aJIGdeY817GsHKrkB84NkfTuXxs7G ZJRhOse0HPVylA7Sn2QD5A5MyygBYLY8T0COIWAtNI77gyar1KBQm28ZQnjwcms202GfU XgVQ4mLEO+uNZnYbQcQKmJHKgpkKmHoeVb23MOu2YdDBXhcFVmznOFqgfMjnOgVBnoQ== 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=TGGxsBEJ; 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 E7C18606A339 for ; Sat, 7 Nov 2026 15:33:45 +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=TGGxsBEJ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D9C41F008A2; Sat, 7 Nov 2026 15:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794065625; bh=jyMpDRy9ZrMeX/cr1KCNrGkrXyrLZ3e2YoETH4d1LQY=; h=From:To:Cc:Subject:Date:Reply-To; b=TGGxsBEJzqpAq5S388fuWkMVfqW2eJjnNZRot/mIgOMFKnKHMeD6eUnXe6Urd82iZ iz4EDxmDy2+YMg4VhuA6kGTkvARHH0GirmQVYsez9CXV+bXadTh3iGOfgvpgy9fhwL s9zidLpqoY3M1lWf/YYydZnSogR5MQ68Inq5kvDc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99275: smb: client: reject short SESSION_SETUP responses Date: Sat, 7 Nov 2026 09:08:55 -0500 Message-ID: <2026110754-CVE-2026-99275-d9aa@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=2922; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=37Nb3juUObiue67+QMFVZrm8z+FGWgmXV3a7syMRdaw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnvDb7tMszfGd+2+9rRmtJ7slkvlTjEn2cr+xupl81Ya aWzZoNTRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEw5RhwZWlbQELlXQkWhUX 81r0P52+9RtbOcOCk9OzlqYefOPkv/PYoUbFzgcfmZYHAAA= 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: smb: client: reject short SESSION_SETUP responses smb2_check_message() accepts frames shorter than struct smb2_pdu when the SMB2 status is non-zero, before the minimum-PDU check added by b4694f269e66d. A 64-byte STATUS_MORE_PROCESSING_REQUIRED SESSION_SETUP response is therefore accepted even though it cannot contain the SecurityBufferOffset and SecurityBufferLength fields. The parser then reads those fields from stale bytes left in the reused receive buffer by an earlier frame. With a long stale SecurityBufferLength, decode_ntlmssp_challenge() copies up to about 64 KB from beyond the receive object and sends the data back to the server in the NTLMv2 AUTHENTICATE target info. Reject short MPR SESSION_SETUP responses before the short-error path, and validate SecurityBufferOffset + SecurityBufferLength against the received response length before decoding the challenge. The ordering bypass is not new: the short-error early return predates b4694f269e66d, and the unvalidated SecurityBufferLength read predates the 2016 raw NTLMSSP split in 166cea4dc3a4, so all supported stable trees are affected. Reproduced on 6.6.87.2; the path is unchanged on mainline. The Linux kernel CVE team has assigned CVE-2026-99275 to this issue. Affected and fixed versions =========================== Issue introduced in 3.6 with commit 5478f9ba9a34d660eb3227dcd16314689c51f946 and fixed in 7.3.2 with commit df63e01933886153e40706483b9635b2456ad91f Issue introduced in 3.6 with commit 5478f9ba9a34d660eb3227dcd16314689c51f946 and fixed in 7.4-rc1 with commit 4d8930afa3446041358a7db33e7b23a0bb9459b5 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-99275 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: fs/smb/client/smb2misc.c fs/smb/client/smb2pdu.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/df63e01933886153e40706483b9635b2456ad91f https://git.kernel.org/stable/c/4d8930afa3446041358a7db33e7b23a0bb9459b5