PatchSiren cyber security CVE debrief
CVE-2026-64400 Linux CVE debrief
A vulnerability in the Linux kernel's ksmbd module allows for path traversal bypass, enabling write-capable users to create zero-length files or directories outside the exported share. This issue arises from a bug in the __ksmbd_vfs_kern_path() function under caseless mode, which fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic. Linux administrators and users with write access to ksmbd shares should assess their exposure and apply patches or mitigations as necessary. The vulnerability allows write-capable users to bypass path traversal restrictions in the Linux kernel's ksmbd module, potentially leading to data integrity issues or data
- Vendor
- Linux
- Product
- Unknown
- CVSS
- HIGH 8.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-25
- Original CVE updated
- 2026-10-15
- Advisory published
- 2026-07-25
- Advisory updated
- 2026-10-15
Who should care
Linux administrators and users with write access to ksmbd shares should assess their exposure and apply patches or mitigations as necessary. This vulnerability allows write-capable users to bypass path traversal restrictions in the Linux kernel's ksmbd module, potentially leading to data integrity issues or unauthorized data creation. Linux administrators and users with write access to ksmbd shares should review and apply patches from Linux kernel
Why it matters
This vulnerability allows write-capable users to bypass path traversal restrictions in the Linux kernel's ksmbd module, potentially leading to data integrity issues or unauthorized data creation. Linux administrators and users with write access to ksmbd shares should assess their exposure and apply patches or mitigations as necessary.
- Write-capable users can create zero-length files or directories outside the exported share
- Potential for data integrity issues or unauthorized data creation
Technical summary
The ksmbd module in the Linux kernel has a vulnerability that allows for path traversal bypass. This is due to a bug in the __ksmbd_vfs_kern_path() function under caseless mode, which fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic. The function fails to handle the -EXDEV error properly, allowing write-capable users to create zero-length files or directories outside the exported share. This vulnerability can be resolved by ensuring that the execution only proceeds to the caseless lookup retry when the error is specifically -ENOENT.
Defensive priority
High
Recommended defensive actions
- Review and apply patches from Linux kernel maintainers
- Restrict access to the ksmbd share to only necessary users
- Monitor for suspicious activity on the ksmbd share
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability exists in the __ksmbd_vfs_kern_path() function under caseless mode, where it fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic. This allows write-capable users to create zero-length files or directories outside the exported share. The issue is resolved by ensuring that the execution only proceeds to the caseless lookup retry when the error is specifically -ENOENT. Any other errors, such as -EXDEV from a path traversal attempt, must be returned immediately. Linux kernel
Sources and references
Verified primary and authoritative sources
-
CVE-2026-64400 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-64400
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-64400 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-64400
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/54bab9ba5a9f156ffa9324fcbe5a356fd0242f95
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/8c9a4f1327eb71efbf14842e7b8a6d965077eb67
416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/cfb5a56c218888f9d74165dff0c282cd0be97983
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.