In the Linux kernel, the following vulnerability has been resolved: ksmbd: require source read access for duplicate extents… (CVE-2026-64395)
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.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-64395 involves the ksmbd server's handling of the FSCTL_DUPLICATE_EXTENTS_TO_FILE control code. The source file handle was passed to vfs_clone_file_range() or vfs_copy_file_range() without verifying that the handle had read access (FILE_READ_DATA). Consequently, a handle opened with only attribute access could be exploited to copy file contents into a destination readable by an attacker. The fix enforces a requirement that the source handle must have FILE_READ_DATA permission before these VFS operations proceed, aligning with other ksmbd data-copy paths.
Potential Impact
An attacker with a handle opened with attribute-only access could copy file contents to an attacker-readable destination, potentially exposing sensitive data. This bypasses intended access controls on the source file, leading to unauthorized data disclosure.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to require FILE_READ_DATA permission on the source handle before performing duplicate extent copy operations in ksmbd. Users should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel release notes for the specific patch and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: require source read access for duplicate extents… (CVE-2026-64395)
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-64395 involves the ksmbd server's handling of the FSCTL_DUPLICATE_EXTENTS_TO_FILE control code. The source file handle was passed to vfs_clone_file_range() or vfs_copy_file_range() without verifying that the handle had read access (FILE_READ_DATA). Consequently, a handle opened with only attribute access could be exploited to copy file contents into a destination readable by an attacker. The fix enforces a requirement that the source handle must have FILE_READ_DATA permission before these VFS operations proceed, aligning with other ksmbd data-copy paths.
Potential Impact
An attacker with a handle opened with attribute-only access could copy file contents to an attacker-readable destination, potentially exposing sensitive data. This bypasses intended access controls on the source file, leading to unauthorized data disclosure.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to require FILE_READ_DATA permission on the source handle before performing duplicate extent copy operations in ksmbd. Users should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel release notes for the specific patch and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-33q2-xqvr-5v3j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64395"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f808443f
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:27:28 UTC
Last updated: 09/07/2026, 10:52:10 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.