CVE-2026-98169·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.43% — higher than 37% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98169 scores 7.1 on CVSS, so a successful attack would be serious — but at 0.43%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to a patched version that includes the fix for the SMB snapshot enumeration buffer overflow. Users should upgrade to kernel 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 or later depending on their current stable branch, or install their distribution's patched kernel package. Do not jump to mainline unless necessary; stay within your current kernel series for stability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the fixed versions (6.1.189+, 6.6.158+, 6.12.112+, 6.18.54+, 7.2.8+)
- Step 2: Verify SMB client functionality is in use by checking if `grep -i smb /proc/filesystems` returns entries and if any SMB mounts exist via `mount | grep -i smb`
- Step 3: Search kernel logs for SMB3 ioctl errors or copy_to_user failures related to snapshot operations: `sudo journalctl -g 'smb3_enum_snapshots|snapshot_array'`
- Step 4: After patching, reboot and confirm the new kernel version with `uname -r`, then verify no SMB-related warnings appear in `dmesg | tail -50`
FAQ
What is CVE-2026-98169?
This vulnerability is an out-of-bounds memory read in the Linux kernel's SMB3 client implementation. When enumerating snapshot metadata from an SMB server, the kernel fails to validate the server's response length, causing it to read past allocated buffer boundaries and leak adjacent kernel memory to userspace.
Is CVE-2026-98169 being actively exploited?
No. This vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though the memory disclosure nature makes it a concern for information leakage in shared environments.
What versions of Kernel are affected by CVE-2026-98169?
All kernel versions prior to the following fixed releases are vulnerable: 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, and mainline 7.3. Your distribution likely delivers one of these stable branches.
How do I check if my server is vulnerable to CVE-2026-98169?
Run `uname -r` to get your kernel version, then verify it meets or exceeds the patched version for your branch. For example, if running 6.6.x, ensure it is 6.6.158 or later.
Does Defensia detect CVE-2026-98169?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98169 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/15a221c734b9d044ab769e7e3606b2cab96fb65a
- https://git.kernel.org/stable/c/1cdf0d304d820fb13bf0faf532c3459600f9ea43
- https://git.kernel.org/stable/c/210f0f1f67817e7d2348b86b5115a9b85ef5c98b
- https://git.kernel.org/stable/c/4775c3b7a597907e0b97556c7986fda238a377ae
- https://git.kernel.org/stable/c/74995ee8305a7c4d76ee70d6acd996a75eda3c03
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98169. Free for 1 server.
Get started free