{"id":"CVE-2026-143060","summary":"ksmbd: evaluate the DACL in order for explicit access requests","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: evaluate the DACL in order for explicit access requests\n\nFor requests without MAXIMUM_ALLOWED, smb_check_perm_dacl() selects one\nACE instead of evaluating the DACL in order. When the selected ACE is a\ndeny ACE, the function grants the complement of its mask, and deny ACEs\nbefore it are ignored. The selected ACE can also be inherit-only,\nunsupported, or an NFS mode ACE.\n\nGuest and anonymous sessions also match Authenticated Users. These bugs\ncan grant read or write access that the stored DACL does not grant. For\nexample, a deny of FILE_READ_DATA grants FILE_WRITE_DATA, and guests can\nread files granted only to Authenticated Users.\n\nEvaluate explicit requests in DACL order. Use exact SID matching for the\ncaller, Everyone, Authenticated Users, OWNER RIGHTS and the caller's\ngroups. Match Authenticated Users only for authenticated sessions, and\nignore the NFS mode SID.\n\nAn Authenticated Users ACE must still prevent the POSIX ACL fallback\nfrom replacing the DACL result for guest and anonymous sessions. The ACE\ndoes not grant them access.\n\nKeep the existing single-ACE behavior when a non-inherit-only object\ndeny ACE is present because ksmbd does not parse those ACEs. Guest and\nanonymous sessions do not match Authenticated Users there either.\nMAXIMUM_ALLOWED behavior is unchanged.","modified":"2026-12-03T11:01:04.169101979Z","published":"2026-12-03T09:18:38.080Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143060.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20bed0d6ff62d985fe8222958825504b8aad4e88"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7524688d9f61b216b866f8761526b358313e7c35"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143060.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143060"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"7524688d9f61b216b866f8761526b358313e7c35"},{"fixed":"20bed0d6ff62d985fe8222958825504b8aad4e88"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143060.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143060.json"}}],"schema_version":"1.9.2"}