{"id":28969,"date":"2026-09-25T20:31:37","date_gmt":"2026-09-25T12:31:37","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97537"},"modified":"2026-09-25T20:31:37","modified_gmt":"2026-09-25T12:31:37","slug":"cve-2026-97537","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97537","title":{"rendered":"CVE-2026-97537 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix qu"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: qla2xxx: Fix queue teardown NULL dma_free and bitmap locking<\/p>\n<p>qla25xx_free_req_que() and qla25xx_free_rsp_que() have two pre-existing<br \/>\nbugs exposed on the error path of qla25xx_create_{req,rsp}_que():<\/p>\n<p> 1. When dma_alloc_coherent() fails during queue creation, the error<br \/>\n    path calls the free function with req-&gt;ring \/ rsp-&gt;ring still NULL<br \/>\n    (from kzalloc).  The unconditional dma_free_coherent() with a NULL<br \/>\n    cpu_addr is undefined behavior and can panic.<\/p>\n<p> 2. The free functions clear req_qid_map \/ rsp_qid_map under vport_lock,<br \/>\n    but the create functions protect the same bitmaps with mq_lock.<br \/>\n    This provides no mutual exclusion.  Additionally, the create error<br \/>\n    path clears the bit and releases mq_lock before calling the free<br \/>\n    function, creating a window where another thread can allocate the<br \/>\n    same que_id and have its ha-&gt;req_q_map entry clobbered by the<br \/>\n    subsequent lockless NULL assignment in the free function.<\/p>\n<p>Fix by:<\/p>\n<p> &#8211; Guarding dma_free_coherent() with a NULL check on the ring pointer.<\/p>\n<p> &#8211; Using mq_lock (the lock held by all creators) in the free functions<br \/>\n   to atomically NULL the map entry and clear the bitmap bit.<\/p>\n<p> &#8211; Removing the now-redundant clear_bit blocks from the create error<br \/>\n   paths since the free functions handle it atomically.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: qla2xxx: Fix queue teardown NULL dma_free and bitmap locking<\/p>\n<p>qla25xx_free_req_que() and qla25xx_free_rsp_que() have two pre-<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28969","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28969","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=28969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}