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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:40.393Z
- Modified: 2026-09-04T14:47:48.093Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from eb817368f50c1cbe1bd07044124aad7db6330e3a before 2d2ab6983620c2d60ce7db72133984ca3873b929; from eb817368f50c1cbe1bd07044124aad7db6330e3a before 67bdad9cf01b25030e3bf00bbce6c309319d6663; from eb817368f50c1cbe1bd07044124aad7db6330e3a before b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f; from eb817368f50c1cbe1bd07044124aad7db6330e3a before db231af842868268839f9f9619c68cb27830d8be; from eb817368f50c1cbe1bd07044124aad7db6330e3a before a10942af27832c2761d020863a46e79bebe0567d; from eb817368f50c1cbe1bd07044124aad7db6330e3a before cedff600f1642aa982178503552f0d007bc829c8; 5.15 (not affected: before 5.15; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.15 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/2d2ab6983620c2d60ce7db72133984ca3873b929> (patch)
- <https://git.kernel.org/stable/c/67bdad9cf01b25030e3bf00bbce6c309319d6663> (patch)
- <https://git.kernel.org/stable/c/b0d4d5cb846a1ddb7aaab9adfb5986e4540e6e5f> (patch)
- <https://git.kernel.org/stable/c/db231af842868268839f9f9619c68cb27830d8be> (patch)
- <https://git.kernel.org/stable/c/a10942af27832c2761d020863a46e79bebe0567d> (patch)
- <https://git.kernel.org/stable/c/cedff600f1642aa982178503552f0d007bc829c8> (patch)

## Sources

- CVE List: [CVE-2026-64395](https://www.cve.org/CVERecord?id=CVE-2026-64395), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64395](https://nvd.nist.gov/vuln/detail/CVE-2026-64395), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-64395 · Whole record: https://cve.day/CVE-2026-64395.json · Rebuilt by cve.day 2026-11-25T22:59:30.100Z
