CVE-2026-64395·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ksmbd: require source read access for duplicate extents FSCTL_DUPLICATE_EXTENTS_TO_FILE passes the source file directly to vfs_clone_file_range() or vfs_copy_file_range() without checking the SMB access mask granted to the source handle. A handle opened with attribute access can consequently be used to copy file contents into an attacker-readable destination. Require FILE_READ_DATA on the source handle before either VFS operation, matching other ksmbd data-copy paths.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.1.4
- 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.55% — higher than 44% 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-64395 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.55%, 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.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to patch the ksmbd SMB server access control bypass. This vulnerability allows improperly validated file operations to bypass SMB access restrictions, potentially exposing file contents. Apply the kernel security update through your distribution's package manager and reboot your system to complete remediation.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — vulnerable if output shows version 6.19 through 7.1.3
- Verify ksmbd is running: systemctl status ksmbd or ps aux | grep ksmbd — if running, the vulnerable code path is loaded
- Search kernel logs for FSCTL_DUPLICATE_EXTENTS calls: journalctl -u ksmbd -n 1000 | grep -i 'duplicate\|clone\|copy' — look for patterns showing file operations on handles with limited permissions
- Confirm patch application: grep -i 'FILE_READ_DATA' /boot/config-$(uname -r) and verify kernel version is ≥7.1.4 using uname -r
FAQ
What is CVE-2026-64395?
This is a privilege escalation vulnerability in the Linux kernel's ksmbd SMB server implementation where the FSCTL_DUPLICATE_EXTENTS_TO_FILE operation bypasses SMB access mask validation, allowing attackers with limited file handle permissions to copy confidential file contents to attacker-controlled locations.
Is CVE-2026-64395 being actively exploited?
No, this vulnerability is not currently listed on the CISA KEV catalog and no public exploits are available, though the access control bypass nature makes it a high-priority fix for environments running vulnerable ksmbd versions.
What versions of Kernel are affected by CVE-2026-64395?
Linux kernel versions 6.19 through 7.1.3 are affected. Version 7.1.4 and later contain the security patch.
How do I check if my server is vulnerable to CVE-2026-64395?
Run uname -r to check your kernel version — if it falls between 6.19 and 7.1.3 and ksmbd is enabled, your system is vulnerable. Verify ksmbd status with systemctl status ksmbd.
Does Defensia detect CVE-2026-64395?
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-64395 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2d2ab6983620c2d60ce7db72133984ca3873b929
- https://git.kernel.org/stable/c/67bdad9cf01b25030e3bf00bbce6c309319d6663
- https://git.kernel.org/stable/c/a10942af27832c2761d020863a46e79bebe0567d
- https://git.kernel.org/stable/c/b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f
- https://git.kernel.org/stable/c/cedff600f1642aa982178503552f0d007bc829c8
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64395. Free for 1 server.
Get started free