{"id":21559,"date":"2026-09-12T04:31:21","date_gmt":"2026-09-11T20:31:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89637"},"modified":"2026-09-12T04:31:21","modified_gmt":"2026-09-11T20:31:21","slug":"cve-2026-89637","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89637","title":{"rendered":"CVE-2026-89637 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix UAF"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2<\/p>\n<p>When a valid primary TRANSACT2 response has been received (mid-&gt;resp_buf<br \/>\nset, mid-&gt;multiRsp true) and a subsequent secondary response causes<br \/>\ncifs_check_trans2() to return false &#8212; either because the SMB header is<br \/>\ninvalid (malformed != 0) or because check2ndT2() rejects the PDU &#8212;<br \/>\nhandle_mid() overwrites mid-&gt;resp_buf with the new buffer (leaking the<br \/>\nprimary buffer) and, because mid-&gt;multiRsp is set, skips the<br \/>\nserver-&gt;smallbuf\/bigbuf NULL-out.  When the user thread frees<br \/>\nmid-&gt;resp_buf, server-&gt;smallbuf or server-&gt;bigbuf is left dangling; the<br \/>\ndemux thread reuses it for the next packet, resulting in a use-after-free.<\/p>\n<p>Combine both early-exit conditions and, when mid-&gt;multiRsp is already<br \/>\nset, abort the pending transaction inline: set multiEnd, call<br \/>\ndequeue_mid() with malformed=true, and return true so handle_mid() exits<br \/>\nwithout touching mid-&gt;resp_buf or the server buffer pointers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2<\/p>\n<p>When a valid primary TRANSACT2 response has<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21559","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21559","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=21559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}