AZL-118022: CVE-2026-143060 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: evaluate the DACL in order for explicit access requests
For requests without MAXIMUMALLOWED, smbcheckpermdacl() selects one ACE instead of evaluating the DACL in order. When the selected ACE is a deny ACE, the function grants the complement of its mask, and deny ACEs before it are ignored. The selected ACE can also be inherit-only, unsupported, or an NFS mode ACE.
Guest and anonymous sessions also match Authenticated Users. These bugs can grant read or write access that the stored DACL does not grant. For example, a deny of FILEREADDATA grants FILEWRITEDATA, and guests can read files granted only to Authenticated Users.
Evaluate explicit requests in DACL order. Use exact SID matching for the caller, Everyone, Authenticated Users, OWNER RIGHTS and the caller's groups. Match Authenticated Users only for authenticated sessions, and ignore the NFS mode SID.
An Authenticated Users ACE must still prevent the POSIX ACL fallback from replacing the DACL result for guest and anonymous sessions. The ACE does not grant them access.
Keep the existing single-ACE behavior when a non-inherit-only object deny ACE is present because ksmbd does not parse those ACEs. Guest and anonymous sessions do not match Authenticated Users there either. MAXIMUMALLOWED behavior is unchanged.
Affected Software
Event History
Frequently Asked Questions
Which access decisions can be incorrect?
The flaw can grant read or write access that the stored DACL does not grant. For example, a deny ACE for FILE_READ_DATA can result in FILE_WRITE_DATA being granted.
Are guest and anonymous SMB sessions affected?
Yes. Guest and anonymous sessions can incorrectly match an Authenticated Users ACE, potentially allowing them to read files intended only for authenticated users.
What request and ACL conditions are involved?
The issue affects explicit access requests without MAXIMUM_ALLOWED when ksmbd selects a single ACE rather than evaluating the DACL in order. Earlier deny ACEs may be ignored, and inherit-only, unsupported, or NFS mode ACEs can be selected incorrectly.
How can I identify the affected package version?
The provided affected package is azure-linux/kernel version 6.6.161.1-1.