Linux kernel SMB client out-of-bounds read in smb3_enum_snapshots()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel SMB client in smb3_enum_snapshots() can read past the end of a slab buffer. When the server's reply is shorter than the 12-byte smb_snapshot_array structure, ret_data_len exceeds the size of retbuf, and copy_to_user() leaks adjacent slab memory to userspace. The CVSS 3.1 base score is 7.1 (HIGH) for a network attack that needs no privileges and user interaction. CISA has not added it to KEV, and Red Hat rates it Moderate.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update to a fixed Linux kernel: 4.10, 4.15, 4.19, 5.10.273, 5.15.224, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 or 7.3. The fix rejects server replies shorter than the 12-byte structure with -EIO. Red Hat lists no available fix for Red Hat Enterprise Linux 8, 9 and 10 or for OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA Linux (Linux) Fixed in 4.10, 4.15, 4.19
- Fix · CNA Linux (Linux) Fixed in 5.10.273, 5.15.224, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-06 Threatist record created from CVE-2026-98169
- 2026-10-06 Alias added: GHSA-2c6m-5vjc-xqc6
- 2026-10-07 CVSS score added · CNA
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-07 CVSS score added · Red Hat
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/[email protected], Linux/Linux@5edf5b398d49b881c0df79d6e4f6df251236c533 +1 · CNA
- 2026-10-30 2 new references · CNA
- 2026-10-30 Affected versions changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/67ef1d6da00f4f39eb5fcebe7a44fe494b645059
- https://git.kernel.org/stable/c/5edf5b398d49b881c0df79d6e4f6df251236c533
- https://git.kernel.org/stable/c/15a221c734b9d044ab769e7e3606b2cab96fb65a
- https://git.kernel.org/stable/c/74995ee8305a7c4d76ee70d6acd996a75eda3c03
- https://git.kernel.org/stable/c/210f0f1f67817e7d2348b86b5115a9b85ef5c98b
- https://git.kernel.org/stable/c/1cdf0d304d820fb13bf0faf532c3459600f9ea43
- https://git.kernel.org/stable/c/dbe452a905dfe2804647530a9ff3d7e3826ed04d
- https://git.kernel.org/stable/c/4775c3b7a597907e0b97556c7986fda238a377ae
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-98169 · CVE Program
- CVE-2026-98169 · NVD
- FIRST EPSS
- GHSA-2c6m-5vjc-xqc6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-98169 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences