CVE-2026-64395
ksmbd: require source read access for duplicate extents
Reported by linux · Published July 25, 2026
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.
EPSS 0.41% · 35.6th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.4, 6.18.39, 6.12.96, 6.6.145, 6.1.178 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | eb817368f50c1cbe1bd07044124aad7db6330e3a, eb817368f50c1cbe1bd07044124aad7db6330e3a, eb817368f50c1cbe1bd07044124aad7db6330e3a |
| Linux | Linux | 5.15, 0, 6.1.178 |
| Linux | Linux | 7.2, 6.6.145, 6.12.96 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Jul 25, 2026 EPSS Score (30 in total, the first dated here)
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64395
vulnetix vdb fixes CVE-2026-64395
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64395/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart