{"id":25571,"date":"2026-09-18T04:31:34","date_gmt":"2026-09-17T20:31:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90162"},"modified":"2026-09-18T04:31:34","modified_gmt":"2026-09-17T20:31:34","slug":"cve-2026-90162","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90162","title":{"rendered":"CVE-2026-90162 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: defer publishi"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: defer publishing granted locks to prevent UAF\/double-free race<\/p>\n<p>In smb2_lock(), mid-batch granted locks are published to connection-wide<br \/>\n(conn-&gt;lock_list) and file-wide (fp-&gt;lock_list) lists immediately upon<br \/>\nvfs_lock_file() success, while also remaining tracked on the stack-local<br \/>\nrollback_list.<\/p>\n<p>If a subsequent element in the same SMB2_LOCK request array fails<br \/>\nvalidation or execution, the thread jumps to out: and walks<br \/>\nrollback_list to undo previously granted locks. However, because the<br \/>\ngranted lock was already published to conn-&gt;lock_list, a concurrent<br \/>\nUNLOCK request on the same connection can find the lock object and<br \/>\nkfree() it before the rollback loop executes.<\/p>\n<p>When the granting thread subsequently walks rollback_list, it<br \/>\ndereferences and frees the already-freed ksmbd_lock structure, resulting<br \/>\nin a Use-After-Free and Double-Free (on both ksmbd_lock and struct<br \/>\nfile_lock).<\/p>\n<p>Fix this by deferring the publication of granted locks to<br \/>\nconn-&gt;lock_list and fp-&gt;lock_list until after the entire array of lock<br \/>\nelements has been processed without error. Mid-batch grants remain<br \/>\ntracked exclusively on the request-local rollback_list until the whole<br \/>\nbatch succeeds, eliminating the race window.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ksmbd: defer publishing granted locks to prevent UAF\/double-free race<\/p>\n<p>In smb2_lock(), mid-batch granted locks are published to con<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-25571","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/25571","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=25571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}