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=1794065616; b=098db2UADDjAwEa+9U2tZ+VsXGt/TFObZRKTCDclHOYaBfbZrY0NFsycC0E0dYXgHb7v HJwLjnoOP0fRc6rN1kgF9aXv+z84xeKXwTrMziSSBZRckg2DtZZdmXClvtJT4IsYqHSHr H5wPtp4lQyY/NClYvqL0GH2bpo06PLyBw5GXyv59tHVdvCcdwcLOyXflYWRCI4pWCoGx7 1dISGE07FR6VEFppvKZF+kqngtJo6iCnLjkMpcZ5B0LjFpKTjpTJs6rkE11eEYDVbxIPv +iFg062O1rNNi5vR9aKVKGIXeDYZFq3nzrxlx6WocIAufCsp3taDsa05v05AAH3ekQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794065616; 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=XlGMNB8iOF38ZUrSKMlMfP4XuNT0xnQ3u5eEY8J0o3Y=; b=aR/qeyPb0DE2b+y/RRjTHav0ojWCXg2sY3lqz3yAI0tiS5zkqqQHNICDV2Aa9yaFhMev LXJLN3o3W7xc8OPXQheVGD42F04aRrLiiWjIs0PGl6ZeO/RsuK5pBGCzb0trgtTAWHOjY AOQJPiZOUFstQD85nF5mmgSMoUjNjf1KCVLljlCKDbSKpmlPevw5udP48/f4MXr4an3TF JKwiqIPyPt0GQY/QE488Qwqx62c8VZ4bM9QPOIwNJB3eKiOQN7rI/Ed6Ax8vyg+y293a3 c5kwKoTy1Ed9Xhjl8d6LKsLTEMMPRR9rYMUjhgWrulbj0EYpNqGWSwcK54yiLNOePAg== 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=PRiOiwl0; 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 64308606A33A for ; Sat, 7 Nov 2026 15:33:36 +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=PRiOiwl0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEB251F0089F; Sat, 7 Nov 2026 15:33:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794065616; bh=XlGMNB8iOF38ZUrSKMlMfP4XuNT0xnQ3u5eEY8J0o3Y=; h=From:To:Cc:Subject:Date:Reply-To; b=PRiOiwl0Gyio8K/2VqTlvF78EITrmUSqOpvw4P8V8U3v0nMeGaf05o9py7fniHIEY jJBB2PXJm7/hcgCqINuB1G/65cGkQPIywEauj0Dlg3c7EzsjDdiK0vS4+I+R9kw//7 pQkllcw/9ZX1nooI6aqp1TZuQ3QC9GXvPe4EtYqg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99272: smb: client: validate the data area in SMB2_read() Date: Sat, 7 Nov 2026 09:08:52 -0500 Message-ID: <2026110754-CVE-2026-99272-4cf8@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=2778; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SUi/hn2HRKyrPVlsS8ynJM9pBgldrhV982yT7zI0JuY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnvDb6FCOwNWNPpIrwr9N3vSc1//vUuN47+ssNBWk1/Y suhij8FHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRP9sZ5ifLB5woLcq7GHO/ d8H22Yw7lPa+52eYK3ryFkOTfPS7dUx+VryCP5jDOBUOAAA= 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: validate the data area in SMB2_read() SMB2_read() copies le32_to_cpu(rsp->DataLength) bytes from (char *)rsp + rsp->DataOffset without checking that the range lies within the response actually received. A READ response with DataOffset == 0 makes smb2_get_data_area_len() zero the data length, so smb2_check_message() accepts a frame as short as the fixed response, while SMB2_read() still uses the server-supplied DataLength, capped only by CIFS_MAX_MSGSIZE and the caller's length. A malicious server can answer the synchronous read used by the mfsymlinks (or SFU) symlink parser with an 81-byte READ response carrying DataOffset 0 and DataLength 1067, making the client copy 1067 bytes from a 448-byte receive object (KASAN slab-out-of-bounds; up to 16 KiB in the general case). Clamp a zero (or header-overlapping) DataOffset to read_rsp_size, as handle_read_data() does for the asynchronous path, and reject the response unless DataOffset + DataLength fits within rsp_iov.iov_len. The SMB1 helper was fixed the same way in 5be5bdda5863. The Linux kernel CVE team has assigned CVE-2026-99272 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit d8e050398d23ef7c019c96200b80d73f4e5cec0c and fixed in 7.3.2 with commit 1ba1937de005e261a8858f45bfef5da7458df94c Issue introduced in 3.7 with commit d8e050398d23ef7c019c96200b80d73f4e5cec0c and fixed in 7.4-rc1 with commit 2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1 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-99272 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/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/1ba1937de005e261a8858f45bfef5da7458df94c https://git.kernel.org/stable/c/2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1