CVE-2026-93786: ksmbd: preserve VFS inherited POSIX ACL mask
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: preserve VFS inherited POSIX ACL mask
The VFS initializes a child's POSIX ACL from the parent's default ACL and the requested creation mode. Do not mutate the parent ACL or overwrite the child's VFS-computed access and default ACLs afterwards.
This preserves restrictive ACLMASK entries and prevents SMB object creation from widening effective permissions.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel's ksmbd SMB server are exposed when SMB clients can create objects in directories that use inherited POSIX default ACLs, particularly where restrictive ACL_MASK entries are expected to limit effective permissions.
What must an attacker be able to do to exploit it?
An attacker needs the ability to create SMB objects through ksmbd in a directory with a default POSIX ACL. The issue can cause created objects to receive broader effective permissions than the VFS-computed inherited ACL and requested creation mode should allow.
How can I determine whether this may have affected existing objects?
Review files and directories created through ksmbd beneath directories with default POSIX ACLs, and compare their effective ACL permissions and ACL_MASK entries with the parent directory's intended inherited restrictions. Objects whose permissions are wider than those restrictions may warrant remediation.
What can be done if the update cannot be applied immediately?
Limit untrusted users' ability to create objects through ksmbd in directories that rely on restrictive default POSIX ACLs. Review and correct ACLs on SMB-created objects, especially in locations where ACL_MASK restrictions are used.