In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call… (CVE-2026-64393)
In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's ksmbd SMB2 SET_INFO handlers stemmed from the use of current ksmbd worker credentials for owner, inode permission, and LSM checks after verifying the access mask granted to the SMB handle. This approach could allow permission checks to be bypassed or incorrectly applied. The resolution involves running the entire SET_INFO dispatch with the credentials captured at handle opening, removing separate security credential setups and unifying all SET_INFO classes under one credential scope. The fix uses direct override_creds() to properly nest with existing request credential overrides.
Potential Impact
The vulnerability could have allowed improper permission checks during SMB2 SET_INFO operations, potentially leading to unauthorized file system modifications or information disclosure via the ksmbd service in the Linux kernel. No known exploits in the wild have been reported. The fix corrects credential handling to enforce proper access control.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include this patch to ensure proper credential handling in ksmbd SMB2 SET_INFO handlers. Since this is a kernel-level fix, updating to the patched kernel version is the recommended mitigation.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call… (CVE-2026-64393)
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's ksmbd SMB2 SET_INFO handlers stemmed from the use of current ksmbd worker credentials for owner, inode permission, and LSM checks after verifying the access mask granted to the SMB handle. This approach could allow permission checks to be bypassed or incorrectly applied. The resolution involves running the entire SET_INFO dispatch with the credentials captured at handle opening, removing separate security credential setups and unifying all SET_INFO classes under one credential scope. The fix uses direct override_creds() to properly nest with existing request credential overrides.
Potential Impact
The vulnerability could have allowed improper permission checks during SMB2 SET_INFO operations, potentially leading to unauthorized file system modifications or information disclosure via the ksmbd service in the Linux kernel. No known exploits in the wild have been reported. The fix corrects credential handling to enforce proper access control.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should apply the official kernel updates that include this patch to ensure proper credential handling in ksmbd SMB2 SET_INFO handlers. Since this is a kernel-level fix, updating to the patched kernel version is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r5f9-v87x-9739
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64393"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f8083bb9
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:25:47 UTC
Last updated: 09/08/2026, 10:52:11 UTC
Views: 48
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.