Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix potential OOB read in smb3_enum_snapshots()

If snapshot_array_size is smaller than GMT_TOKEN_SIZE,
smb3_enum_snapshots() sets ret_data_len to
sizeof(struct smb_snapshot_array) without verifying the actual length
of the server's reply.

Because SMB2_ioctl() places no lower bound on the server-supplied
OutputCount and allocates retbuf to exactly that length, a short reply
results in ret_data_len exceeding the size of retbuf. The subsequent
copy_to_user() then reads past the end of retbuf, leaking adjacent slab
memory to userspace. The subsequent clamp check is ineffective as it
only reduces ret_data_len.

Fix this by rejecting replies shorter than
sizeof(struct smb_snapshot_array) with -EIO. Note that the bound is set
to the 12-byte struct size rather than the 16-byte
MIN_SNAPSHOT_ARRAY_SIZE defined in MS-SMB2 3.3.5.15.1, because 12 bytes
is exactly what copy_to_user() attempts to read.
Published: 2026-10-06
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch Now
AI Analysis

Impact

In the Linux kernel SMB client, the function smb3_enum_snapshots() can read more data than allocated when the server response is shorter than expected. This out‑of‑bounds read occurs before the data is copied to user space, allowing an attacker to expose adjacent memory contents. The flaw provides information disclosure but does not give direct code execution or denial of service, and it results from an improper boundary check of server‑supplied data. The issue is classified as CWE-125.

Affected Systems

The vulnerability affects the Linux kernel’s SMB client implementation; any distribution that ships an unpatched kernel binary is at risk. No explicit version numbers are provided, so all kernels released prior to the patches cited in the advisory are potentially vulnerable.

Risk and Exploitability

The flaw is a classic out‑of‑bounds read; an attacker would need to control a SMB server that replies with a crafted, short snapshot array. The attack could be executed remotely if an SMB connection is accepted, or locally if the attacker can invoke the SMB client with a malicious server. The EPSS score is < 1%, indicating a very low publicly observable exploitation probability, and the vulnerability is not listed in the CISA KEV catalog, meaning no publicly known exploits are currently documented. The patch resolves the issue by rejecting replies shorter than the 12‑byte minimal snapshot array size, which mitigates the memory leak entirely. The CVSS score is 7.1. The issue is classified as CWE-125.

Generated by OpenCVE AI on October 7, 2026 at 08:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the fix for smb3_enum_snapshots() as referenced in the advisory commits.
  • If the kernel cannot be updated immediately, disable or restrict SMB2/3 snapshot enumeration on clients that do not require this feature, or configure the SMB client to reject unusually short responses.
  • Run the updated kernel in a container or virtual environment isolated from sensitive data to contain potential leakage exposure until a patch can be applied.

Generated by OpenCVE AI on October 7, 2026 at 08:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}


Wed, 07 Oct 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Wed, 07 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 06 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential OOB read in smb3_enum_snapshots() If snapshot_array_size is smaller than GMT_TOKEN_SIZE, smb3_enum_snapshots() sets ret_data_len to sizeof(struct smb_snapshot_array) without verifying the actual length of the server's reply. Because SMB2_ioctl() places no lower bound on the server-supplied OutputCount and allocates retbuf to exactly that length, a short reply results in ret_data_len exceeding the size of retbuf. The subsequent copy_to_user() then reads past the end of retbuf, leaking adjacent slab memory to userspace. The subsequent clamp check is ineffective as it only reduces ret_data_len. Fix this by rejecting replies shorter than sizeof(struct smb_snapshot_array) with -EIO. Note that the bound is set to the 12-byte struct size rather than the 16-byte MIN_SNAPSHOT_ARRAY_SIZE defined in MS-SMB2 3.3.5.15.1, because 12 bytes is exactly what copy_to_user() attempts to read.
Title smb: client: fix potential OOB read in smb3_enum_snapshots()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:37:47.892Z

Reserved: 2026-09-25T10:25:14.322Z

Link: CVE-2026-98169

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:17:58.480

Modified: 2026-10-30T13:21:11.013

Link: CVE-2026-98169

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98169 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T08:30:15Z

Weaknesses