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)
A vulnerability in the Linux kernel's ksmbd SMB2 SET_INFO handlers has been resolved. The issue involved the use of current worker credentials for permission checks during SET_INFO operations instead of the credentials captured when the SMB handle was opened. This could lead to incorrect permission enforcement. The fix ensures that all SET_INFO dispatches run with the opener's credentials, consolidating credential scope and improving security.
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
A vulnerability in the Linux kernel's ksmbd SMB2 SET_INFO handlers has been resolved. The issue involved the use of current worker credentials for permission checks during SET_INFO operations instead of the credentials captured when the SMB handle was opened. This could lead to incorrect permission enforcement. The fix ensures that all SET_INFO dispatches run with the opener's credentials, consolidating credential scope and improving security.
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: 07/26/2026, 05:24:11 UTC
Views: 5
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.