CVE-2026-98169
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| microvm-kernel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e02789a53d71334b067ad72eee5d4e88a0158083, e02789a53d71334b067ad72eee5d4e88a0158083, e02789a53d71334b067ad72eee5d4e88a0158083 |
| Linux | Linux | 4.19, 0, 5.10.273 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | microvm-kernel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
…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