{"id":17358,"date":"2026-09-05T02:31:01","date_gmt":"2026-09-04T18:31:01","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80854"},"modified":"2026-09-05T02:31:01","modified_gmt":"2026-09-04T18:31:01","slug":"cve-2026-80854","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80854","title":{"rendered":"CVE-2026-80854 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_tcm: k"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: f_tcm: keep port count until LUN teardown completes<\/p>\n<p>tcm_usbg_drop_nexus() permits session removal once tpg_port_count<br \/>\nreaches zero. However, usbg_port_unlink() currently decrements that<br \/>\ncount from the fabric_pre_unlink() callback, before core_dev_del_lun()<br \/>\nwaits for active se_lun references to drain.<\/p>\n<p>If removal of the last LUN races a nexus removal, the latter can observe<br \/>\na zero port count and call target_remove_session(). This frees<br \/>\nsess_cmd_map while an in-flight struct usbg_cmd, including its work item,<br \/>\ncan still be accessed.<\/p>\n<p>Overlapping the last-LUN unlink with nexus removal reproduces this<br \/>\nlifetime violation as a DEBUG_OBJECTS &#8220;free active&#8221; warning for<br \/>\nusbg_cmd_work, followed by a target-core BUG\/Oops.<\/p>\n<p>The generic target-core unlink path has no callback after<br \/>\ncore_dev_del_lun() completes. Add an optional fabric_post_unlink()<br \/>\ncallback and use it for the f_tcm port count. The count now remains<br \/>\nnonzero until core_dev_del_lun() has finished draining active LUN<br \/>\nreferences, preventing nexus removal from freeing the session during<br \/>\ncommand completion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>usb: gadget: f_tcm: keep port count until LUN teardown completes<\/p>\n<p>tcm_usbg_drop_nexus() permits session removal once tpg_port_count<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17358","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17358","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=17358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}