CVE-2026-97563

smb: client: reject out-of-bounds DataOffset in CIFSSMBRead()

CVE-2026-97563 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2026-97563, released October 2, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.3
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0020
9th percentile

In the Linux kernel, the following vulnerability has been resolved: smb: client: reject out-of-bounds DataOffset in CIFSSMBRead() The SMB1 synchronous read helper CIFSSMBRead() validates the server's DataLength against CIFSMaxBufSize and the caller's count, but never validates DataOffset. The copy source is formed as &pSMBr->hdr.Protocol + le16_to_cpu(pSMBr->DataOffset) and memcpy()'d for DataLength bytes with no check that the [DataOffset, DataOffset + DataLength) range lies within the response actually received from the server. A malicious or compromised SMB1 server can return a response carrying an in-range DataLength and a large DataOffset, driving the source pointer past the end of the response buffer. The memcpy() then copies adjacent kernel heap into the caller's read buffer (information disclosure), or reads unmapped memory and oopses (denial of service). SMB1 is not negotiated by default; reaching this code requires an explicit vers=1.0 mount. Both DataOffset and the received response length recorded in rsp_iov.iov_len are relative to the start of the SMB header, so reject the response unless DataOffset + DataLength fits within that length, using overflow-safe arithmetic, before forming the source pointer. The response length has been validated by the previous patch, so the DataOffset and DataLength fields can be read safely here. While here, make data_length unsigned. It holds a length derived from unsigned on-the-wire fields and is only ever compared against unsigned quantities; print it with %u accordingly, and add __func__ to the cifs_dbg() calls in this function.

Where it's fixed

ProductFixed inFixReleased
Linux
dtb-aarch64 · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-64kb · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-64kb · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-azure · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-azure · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-default · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-default · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-default-base · opensuse-leap 16.0 6.12.0-160000.40.1.160000.2.29 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-default-base · sles 16.0 6.12.0-160000.40.1.160000.2.29 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-docs · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-docs · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-kvmsmall · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-kvmsmall · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-obs-build · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-obs-qa · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-obs-qa · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-rt · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-source · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-source · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-syms · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-syms · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
kernel-zfcpdump · opensuse-leap 16.0 6.12.0-160000.40.1 OPENSUSE-SU-2026:22167-1 Nov 7, 2026
kernel-zfcpdump · sles 16.0 6.12.0-160000.40.1 SUSE-SU-2026:24446-1 Nov 7, 2026
linux · Debian 14 7.2.7-1 DEBIAN-CVE-2026-97563 Oct 2, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.