{"id":29102,"date":"2026-09-25T20:31:52","date_gmt":"2026-09-25T12:31:52","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97946"},"modified":"2026-09-25T20:31:52","modified_gmt":"2026-09-25T12:31:52","slug":"cve-2026-97946","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97946","title":{"rendered":"CVE-2026-97946 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nx86\/amd_node: Fix PCI"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>x86\/amd_node: Fix PCI device reference counting in amd_smn_init()<\/p>\n<p>The local &#8220;root&#8221; pointer is a temporary variable used during the device<br \/>\nsearch. Therefore, refcount related to the search iterators should be cleaned<br \/>\nup after the search is complete.<\/p>\n<p>Use the __free() cleanup macro to ensure the refcount is decremented when the<br \/>\ntemporary pointer goes out of scope.<\/p>\n<p>Additionally, increment the refcount when caching a root pointer. This ensures<br \/>\nthe in-use refcount is separate from the temporary search refcounting.<\/p>\n<p>Finally, drop the redundant &#8220;root = NULL&#8221; before the second search loop. The<br \/>\npci_get_class() iterator always decrements the refcount of its &#8220;from&#8221;<br \/>\nargument, so the first loop can only fall through with &#8220;root&#8221; already NULL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>x86\/amd_node: Fix PCI device reference counting in amd_smn_init()<\/p>\n<p>The local &#8220;root&#8221; pointer is a temporary variable used during the<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29102","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29102","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=29102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}