In the Linux kernel, the following vulnerability has been resolved: ksmbd: require source read access for duplicate extents… (CVE-2026-64395)
A vulnerability in the Linux kernel's ksmbd component allowed file content copying without proper source read access verification. Specifically, the FSCTL_DUPLICATE_EXTENTS_TO_FILE operation passed the source file handle directly to internal VFS functions without checking if the handle had FILE_READ_DATA permission. This could enable an attacker with attribute-only access to copy file contents to an attacker-controlled destination. The issue has been resolved by requiring FILE_READ_DATA permission on the source handle before performing the copy operation.
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
A vulnerability in the Linux kernel's ksmbd component allowed file content copying without proper source read access verification. Specifically, the FSCTL_DUPLICATE_EXTENTS_TO_FILE operation passed the source file handle directly to internal VFS functions without checking if the handle had FILE_READ_DATA permission. This could enable an attacker with attribute-only access to copy file contents to an attacker-controlled destination. The issue has been resolved by requiring FILE_READ_DATA permission on the source handle before performing the copy operation.
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: 07/26/2026, 03:11:54 UTC
Views: 2
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.