In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be… (CVE-2026-64392)
A vulnerability in the Linux kernel's ksmbd component allowed delete-on-close operations to bypass filesystem permission checks by running with worker credentials instead of the opener's credentials. This could lead to unauthorized file deletions or attribute removals. The issue has been resolved by ensuring these operations run with the credentials of the authenticated user who opened the file, preserving proper permission enforcement.
AI Analysis
Technical Summary
The Linux kernel's ksmbd module had a vulnerability where delete-on-close operations, which can be completed during deferred or durable handle teardown without active request work, executed with ksmbd worker credentials. This caused both base-file unlink and ADS xattr removal to bypass filesystem permission checks. The fix involves running these operations with the credentials stored in the file handle at open time, maintaining the authenticated user's fsuid, fsgid, supplementary groups, and capability restrictions during final close.
Potential Impact
An attacker able to trigger delete-on-close operations could bypass filesystem permission checks, potentially deleting files or removing extended attributes without proper authorization. This undermines filesystem security and could lead to unauthorized data modification or loss.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by using the opener's credentials for delete-on-close operations. Users should apply the official kernel updates that include this patch to remediate the issue. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be… (CVE-2026-64392)
Description
A vulnerability in the Linux kernel's ksmbd component allowed delete-on-close operations to bypass filesystem permission checks by running with worker credentials instead of the opener's credentials. This could lead to unauthorized file deletions or attribute removals. The issue has been resolved by ensuring these operations run with the credentials of the authenticated user who opened the file, preserving proper permission enforcement.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's ksmbd module had a vulnerability where delete-on-close operations, which can be completed during deferred or durable handle teardown without active request work, executed with ksmbd worker credentials. This caused both base-file unlink and ADS xattr removal to bypass filesystem permission checks. The fix involves running these operations with the credentials stored in the file handle at open time, maintaining the authenticated user's fsuid, fsgid, supplementary groups, and capability restrictions during final close.
Potential Impact
An attacker able to trigger delete-on-close operations could bypass filesystem permission checks, potentially deleting files or removing extended attributes without proper authorization. This undermines filesystem security and could lead to unauthorized data modification or loss.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this vulnerability by using the opener's credentials for delete-on-close operations. Users should apply the official kernel updates that include this patch to remediate the issue. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cq4q-mqm3-8r2p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64392"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f808416f
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:26:53 UTC
Last updated: 07/26/2026, 03:42:39 UTC
Views: 4
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.