Unauthorized file overwrite via unchecked clone permissions
Published Jul 25, 2026 · Updated Jul 25, 2026
Improper authorization in Linux Kernel ksmbd allows remote attackers to overwrite destination file data through a crafted SMB IOCTL. The FSCTL_DUPLICATE_EXTENTS_TO_FILE arm of smb2_ioctl() calls vfs_clone_file_range() without checking a writable share or FILE_WRITE_DATA on the destination handle. A guest session on a guest-enabled share, or a handle limited to FILE_WRITE_ATTRIBUTES, is sufficient to replace file ranges and corrupt stored data.
Summary
What happened
Improper authorization in Linux Kernel ksmbd allows remote attackers to overwrite destination file data through a crafted SMB IOCTL. The FSCTL_DUPLICATE_EXTENTS_TO_FILE arm of smb2_ioctl() calls vfs_clone_file_range() without checking a writable share or FILE_WRITE_DATA on the destination handle. A guest session on a guest-enabled share, or a handle limited to FILE_WRITE_ATTRIBUTES, is sufficient to replace file ranges and corrupt stored data.
The record
- CVE
- CVE-2026-64399
- Published
- Jul 25, 2026
- Updated
- Jul 25, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 25, 2026CVE publishedPublication date reported by the CVE source.
- Jul 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <6.1.178
- Affected versionversion=0 <6.12.96
- Affected versionversion=0 <6.18.39
- Affected versionversion=0 <6.6.145
- Affected versionversion=0 <7.1.4
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <388e4139db27a9e3612c9d356b826f5b1ff6a9e3
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <620d133d469295ee7c017ca6aafac335f65c4a5a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9b9cf7e65cbeaae1b6636144bacee611cdd7a5d6
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <baae7b39673ec21073a25e3d14f8feaada01d5df
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bf460ad5958d506492de4524a656439da3f99c51
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c917e4522d251071dde9871b9142d8ea1186ebfe
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo