{"id":5324,"date":"2026-09-04T18:47:45","date_gmt":"2026-09-04T10:47:45","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68100"},"modified":"2026-09-04T18:47:45","modified_gmt":"2026-09-04T10:47:45","slug":"cve-2026-68100","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-68100","title":{"rendered":"CVE-2026-68100 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate num_s"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: validate num_subauth when copying ACE in set_ntacl_dacl<\/p>\n<p>set_ntacl_dacl() copies each ACE from the attacker-controlled stored<br \/>\nsecurity descriptor verbatim into the response DACL without checking<br \/>\nsid.num_subauth. The ACE bytes (including an unchecked num_subauth)<br \/>\noriginate from an authenticated SMB2_SET_INFO(SecInfo=DACL) that is<br \/>\nstored raw via ksmbd_vfs_set_sd_xattr(); parse_dacl() rejects a bad ACE<br \/>\nwith `break` rather than an error, so parse_sec_desc() still returns<br \/>\nsuccess and the malformed SD reaches the xattr intact.<\/p>\n<p>On a subsequent SMB2_QUERY_INFO(SecInfo=DACL) for an inode carrying a<br \/>\nPOSIX access ACL, build_sec_desc() -&gt; set_ntacl_dacl() -&gt;<br \/>\nset_posix_acl_entries_dacl() walks the copied ACEs and reads<\/p>\n<p>    ntace-&gt;sid.sub_auth[ntace-&gt;sid.num_subauth &#8211; 1]<\/p>\n<p>with num_subauth taken straight from the stored SD. Since sub_auth[]<br \/>\nis fixed at SID_MAX_SUB_AUTHORITIES (15), a crafted num_subauth (e.g.<br \/>\n255) drives an out-of-bounds heap read of ~1 KB with an offset fully<br \/>\ncontrolled by an authenticated client.<\/p>\n<p>The sibling functions already gate this field:<br \/>\n  parse_dacl()    &#8212; num_subauth == 0 || &gt; SID_MAX_SUB_AUTHORITIES<br \/>\n  parse_sid()     &#8212; num_subauth &gt; SID_MAX_SUB_AUTHORITIES<br \/>\n  smb_copy_sid()  &#8212; min_t(u8, num_subauth, SID_MAX_SUB_AUTHORITIES)<br \/>\nset_ntacl_dacl() is the lone inconsistent path that omits the check.<\/p>\n<p>Add the same num_subauth validation in set_ntacl_dacl() before copying<br \/>\nthe ACE, matching the gate already enforced by parse_dacl().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: validate num_subauth when copying ACE in set_ntacl_dacl<\/p>\n<p>set_ntacl_dacl() copies each ACE from the attacker-controlled store<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-5324","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/5324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}