CVE-2026-99743: ksmbd: grant a POSIX ACL group entry only to the group's members
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: grant a POSIX ACL group entry only to the group's members
When no ACE of the DACL matches the caller, Everyone or Authenticated Users, smbcheckpermdacl() falls back to the file's POSIX ACL. It takes the first ACLUSER or ACLGROUP entry whose id equals the caller's uid. For ACLGROUP, this compares a gid with the caller's uid. A numerical match grants the group's permissions even when the caller is not a member.
Match a group entry only when the caller is also in the group.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.5-1
Event History
Frequently Asked Questions
Who can exploit this issue?
An SMB caller whose numeric UID matches the numeric GID in a POSIX ACL group entry may receive that group's permissions even if the caller is not a member of the group. The affected path is reached when no DACL ACE matches the caller, Everyone, or Authenticated Users.
Under what access-control conditions does the incorrect permission grant occur?
ksmbd falls back to the file's POSIX ACL after no applicable DACL ACE is found. In that fallback, an ACL_GROUP entry with an ID numerically equal to the caller's UID can be selected without verifying group membership.
How can I determine whether a system may be exposed?
Review files served through ksmbd that use POSIX ACLs and identify ACL_GROUP entries whose GID numerically matches a user's UID while that user is not a member of the group. Exposure also requires DACL evaluation to fall back to the POSIX ACL for that caller.
What is the remediation?
Apply a Linux kernel update containing the ksmbd fix referenced by the listed stable kernel commits. The correction requires ACL_GROUP permissions to be granted only when the caller is actually a member of the matching group.