{"id":28728,"date":"2026-09-25T04:31:39","date_gmt":"2026-09-24T20:31:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97496"},"modified":"2026-09-25T04:31:39","modified_gmt":"2026-09-24T20:31:39","slug":"cve-2026-97496","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97496","title":{"rendered":"CVE-2026-97496 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ndrm\/amdkfd: Fix OOB m"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdkfd: Fix OOB memory exposure in get_wave_state()<\/p>\n<p>The get_wave_state() function for v9 trusts cp_hqd_cntl_stack_size and<br \/>\ncp_hqd_cntl_stack_offset values read directly from the MQD, which are<br \/>\nwritten by GPU microcode and fully attacker-controlled on the<br \/>\nCRIU-restore path (via AMDKFD_IOC_RESTORE_PROCESS with H3).<\/p>\n<p>this leads to an unbounded copy_to_user() that can leak adjacent<br \/>\nGTT\/kernel memory. If offset &gt; size, integer underflow produces a ~4 GiB<br \/>\nread length, if size is set to 1 MiB against a 4 KiB allocation, we leak<br \/>\n1 MiB of adjacent kernel memory (other queues&#8217; MQDs, ring buffers, KASLR<br \/>\npointers).<\/p>\n<p>Fix by clamping both cp_hqd_cntl_stack_size to the actual allocated<br \/>\nbuffer size (q-&gt;ctl_stack_size) and cp_hqd_cntl_stack_offset to the<br \/>\nclamped size before performing arithmetic and copy_to_user().<\/p>\n<p>This ensures we never read beyond the allocated kernel BO regardless of<br \/>\nattacker-supplied MQD field values.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdkfd: Fix OOB memory exposure in get_wave_state()<\/p>\n<p>The get_wave_state() function for v9 trusts cp_hqd_cntl_stack_size and<br \/>\ncp_<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28728","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28728","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=28728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}