{"id":17418,"date":"2026-09-05T02:31:05","date_gmt":"2026-09-04T18:31:05","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80870"},"modified":"2026-09-05T02:31:05","modified_gmt":"2026-09-04T18:31:05","slug":"cve-2026-80870","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80870","title":{"rendered":"CVE-2026-80870 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndrm\/amdkfd: Validate"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdkfd: Validate CRIU-restored IDs before idr_alloc<\/p>\n<p>The KFD CRIU restore flow restores previously saved object IDs from<br \/>\nuserspace.<\/p>\n<p>For event restore:<\/p>\n<p>  kfd_criu_restore_event()<br \/>\n      -&gt; create_signal_event() \/ create_other_event()<br \/>\n          -&gt; allocate_event_notification_slot()<br \/>\n              -&gt; idr_alloc(&#8230;, *restore_id, *restore_id + 1, &#8230;)<\/p>\n<p>For BO restore:<\/p>\n<p>  criu_restore_memory_of_gpu()<br \/>\n      -&gt; idr_alloc(&#8230;, bo_priv-&gt;idr_handle, &#8230;)<\/p>\n<p>In both cases, the restored ID comes from userspace-provided CRIU data.<\/p>\n<p>idr_alloc() expects the ID range values to fit within signed int<br \/>\nlimits. If a restored ID is larger than INT_MAX, it can trigger a WARN<br \/>\nin the IDR layer.<\/p>\n<p>A kernel WARN is undesirable because it prints a warning trace and may<br \/>\ncause a panic or reboot on systems with panic_on_warn enabled.<\/p>\n<p>Smatch reported these paths as allowing unchecked userspace values to<br \/>\nreach idr_alloc().<\/p>\n<p>Add INT_MAX validation before using restored IDs in:<\/p>\n<p>&#8211; kfd_criu_restore_event()<br \/>\n&#8211; criu_restore_memory_of_gpu()<\/p>\n<p>If the restored ID is invalid, return -EINVAL.<\/p>\n<p>This prevents invalid restore data from reaching the IDR layer and<br \/>\navoids WARN-triggering paths, while keeping valid restore behavior<br \/>\nunchanged.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdkfd: Validate CRIU-restored IDs before idr_alloc<\/p>\n<p>The KFD CRIU restore flow restores previously saved object IDs from<br \/>\nusersp<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17418","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17418","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=17418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}