What’s Vulnerable › Vulnerabilities

CVE-2026-64392: ksmbd: use opener credentials for delete-on-close

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be completed by deferred or durable handle teardown, where no request work is available. Both the base-file unlink and the ADS xattr removal consequently run with the ksmbd worker credentials and can bypass filesystem permission checks. Run both operations with the credentials captured in struct file when the handle was opened. This preserves the authenticated user's fsuid, fsgid, supplementary groups and capability restrictions at final close.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.145, 6.12.96, 6.18.39, 7.1.4; Linux 7.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-64392 or the next vulnerability affects your stack