{"id":41252,"date":"2026-10-19T00:32:50","date_gmt":"2026-10-18T16:32:50","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98780"},"modified":"2026-10-19T00:32:50","modified_gmt":"2026-10-18T16:32:50","slug":"cve-2026-98780","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98780","title":{"rendered":"CVE-2026-98780 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndrm\/amdgpu: fix IP in"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdgpu: fix IP instance memory leak on kobject add failure<\/p>\n<p>amdgpu_discovery_sysfs_ips() allocates ip_hw_instance with<br \/>\nkzalloc_flex() and initializes its embedded kobject before calling<br \/>\nkobject_add().<\/p>\n<p>If kobject_add() fails, the return value is ignored and execution<br \/>\ncontinues without dropping the initial kobject reference. The failed<br \/>\nkobject is not retained in the kset list, so the normal sysfs teardown<br \/>\npath cannot find it. As a result, ip_hw_instance_release() is never<br \/>\ncalled and the ip_hw_instance allocation is leaked.<\/p>\n<p>Call kobject_put() when kobject_add() fails so the initial reference is<br \/>\ndropped and ip_hw_instance_release() can free the allocation. Keep the<br \/>\nexisting best-effort sysfs behavior by continuing with the remaining IP<br \/>\nentries after the failed registration.<\/p>\n<p>The issue was identified by a static analysis tool I developed and<br \/>\nconfirmed by manual review.<\/p>\n<p>(cherry picked from commit 5c75fbcca8af1096d8d9415b91d8ea6212c22ee1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdgpu: fix IP instance memory leak on kobject add failure<\/p>\n<p>amdgpu_discovery_sysfs_ips() allocates ip_hw_instance with<br \/>\nkzalloc_<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41252","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41252","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=41252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}