What’s Vulnerable › Vulnerabilities

CVE-2026-64395: ksmbd: require source read access for duplicate extents

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.178, 6.12.96, 6.18.39, 6.6.145. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-64395 or the next vulnerability affects your stack