VDB

CVE-2026-98169

CVE-2026-98169 PUBLISHED CVSS 7.1 HIGH

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

Reported by linux · Published October 6, 2026

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.

EPSS 0.45% · 39.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
kernel-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.189-236.399.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023

7 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
EPSS Score
0.45%
39.7th percentile

Affected products

VendorProductVersions
LinuxLinuxe02789a53d71334b067ad72eee5d4e88a0158083, e02789a53d71334b067ad72eee5d4e88a0158083, e02789a53d71334b067ad72eee5d4e88a0158083
LinuxLinux4.19, 0, 5.10.273
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-headers0
amazon:2023microvm-kernel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023perf6.180
amazon:2023perf6.120
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023bpftool6.120
amazon:2023kernel-tools0
amazon:2023bpftool0

…and 19 more

Timeline

  • Oct 6, 2026 EPSS Score (18 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98169
vulnetix vdb fixes CVE-2026-98169

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98169/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›