CVE
CVE-2026-64395
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.19, < 7.1.4Fixed in 7.1.4
- ≥ 6.13, < 6.18.39Fixed in 6.18.39
- ≥ 6.7, < 6.12.96Fixed in 6.12.96
- ≥ 6.2, < 6.6.145Fixed in 6.6.145
- ≥ 5.15, < 6.1.178Fixed in 6.1.178
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2d2ab6983620c2d60ce7db72133984ca3873b929 · Patch
- git.kernel.org/stable/c/67bdad9cf01b25030e3bf00bbce6c309319d6663 · Patch
- git.kernel.org/stable/c/a10942af27832c2761d020863a46e79bebe0567d · Patch
- git.kernel.org/stable/c/b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f · Patch
- git.kernel.org/stable/c/cedff600f1642aa982178503552f0d007bc829c8 · Patch
- git.kernel.org/stable/c/db231af842868268839f9f9619c68cb27830d8be · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.