Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9810E48EBCE for ; Fri, 25 Sep 2026 10:24:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331884; cv=none; b=lULfP6jnqBw38FtQA4CsMhKv+92u4Jt0BR9COq8yCkYzYKJxlmxmCPuwNNvP6D0WjPGW3JReF8NVVUSqLfeJ8/ydi+ZALKGOVGGngXWfkGK+nOXppwKJbg3vi5K6BIQMjAhHGOwV+wbgCHedNXS7dlnXLSn8PU01p4Fi3FVQIFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331884; c=relaxed/simple; bh=xdB4qZyGRZeauuY/5rq6iHls60EaYHqgAFUXvXNkNYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p0s4DOqN1iqTbZsnR7xQfPW14dJ3wEJKcDO06AF9KTvMLMbVyR+CkBFXi6WIy1qXkR/itreuytR2j17cuVTo8b3zWSFI/cvOJlOBITn8HKEpXvEQIpPqEy4+2zUSAP+1qGV/+WMlLEo4FkuKoCAX/DgfaWfmUrlAKHQ3OeZRJiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z0uegJlQ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Z0uegJlQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D01B21F000FF; Fri, 25 Sep 2026 10:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331883; bh=CdPIh6QOKiTPYrQGS75Nt+YWdiK6F9b7JFZ9bqP2kQo=; h=From:To:Cc:Subject:Date:Reply-To; b=Z0uegJlQbCgZvXUYLw29gb54JTHQGbIWKsl3kvTC8OirlRuz9qbxjbxlGweJjB24d svAeIimZQZuuTLHeN+6ZHHWHi3xdD4UGhmrgy01YMj5Xs0rkK/jfdu6C5GezX6ibRZ BU+SJP9SOsMujtj1YdaHo6Jo/Kpa0Hi3JN5r7xBY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97565: smb: client: reject short READ responses in CIFSSMBRead() Date: Fri, 25 Sep 2026 12:22:25 +0200 Message-ID: <2026092553-CVE-2026-97565-3ea0@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2668; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bmAZiYnUyA6NswxdMjr+hFxptP7WlDswhe0s+IZj4yU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvB0fxr5+HO5wgM/h7anOy4YT7Nf/fX7sYMqlr59TP wjvOL05siOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmIrSSYcGEm55aGXz3bjfJ z/A4lPVUhs07+AXDgu2CC/JV1lSGOudYWG0JOtb0UWhRMAA= 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 READ responses in CIFSSMBRead() CIFSSMBRead() reads DataLengthHigh, DataLength and DataOffset out of the READ_RSP returned by the server without first checking that a whole READ_RSP was actually received. The length of the response is recorded in rsp_iov.iov_len, but nothing constrains it to be at least read_rsp_size before those fields are dereferenced. A malicious or compromised SMB1 server can return a response shorter than the READ_RSP header, so that parsing the header itself reads past the end of the receive buffer. SMB1 is not negotiated by default; reaching this code requires an explicit vers=1.0 mount. Reject the response unless it is at least read_rsp_size bytes long. The Linux kernel CVE team has assigned CVE-2026-97565 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.53 with commit 0f1f77b821506a4dacab6ce7d29cf9e0c26f14cd Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2.7 with commit aaa221c1b1d288845b55e9c366e5ef608dfff49d Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3-rc3 with commit e6142a8bfc230c7263eb8b0475249c958ce49367 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-97565 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/cifssmb.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/0f1f77b821506a4dacab6ce7d29cf9e0c26f14cd https://git.kernel.org/stable/c/aaa221c1b1d288845b55e9c366e5ef608dfff49d https://git.kernel.org/stable/c/e6142a8bfc230c7263eb8b0475249c958ce49367