drm/amdkfd: Fix OOB memory exposure in get_wave_state()
CVE-2026-97496 is fixed in 37 products on 1 platform, first by DEBIAN-CVE-2026-97496, released September 24, 2026. It is not reported as exploited. Patch Radar priority: High.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix OOB memory exposure in get_wave_state() The get_wave_state() function for v9 trusts cp_hqd_cntl_stack_size and cp_hqd_cntl_stack_offset values read directly from the MQD, which are written by GPU microcode and fully attacker-controlled on the CRIU-restore path (via AMDKFD_IOC_RESTORE_PROCESS with H3). this leads to an unbounded copy_to_user() that can leak adjacent GTT/kernel memory. If offset > size, integer underflow produces a ~4 GiB read length, if size is set to 1 MiB against a 4 KiB allocation, we leak 1 MiB of adjacent kernel memory (other queues' MQDs, ring buffers, KASLR pointers). Fix by clamping both cp_hqd_cntl_stack_size to the actual allocated buffer size (q->ctl_stack_size) and cp_hqd_cntl_stack_offset to the clamped size before performing arithmetic and copy_to_user(). This ensures we never read beyond the allocated kernel BO regardless of attacker-supplied MQD field values.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| kernel-uek · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-debug-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-doc · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek-tools · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-devel · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-core · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-deprecated · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-desktop · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-extra-netfilter · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-usb · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 10 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| kernel-uek64k-modules-wireless · ol 9 | 0:6.12.0-207.111.5.1.el9uek | ELSA-2026-500374 | Oct 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.111-1 | DEBIAN-CVE-2026-97496 | Sep 24, 2026 |
| linux · Debian 14 | 7.2.6-1 | DEBIAN-CVE-2026-97496 | Sep 24, 2026 |
| linux-6.12 · Debian 12.15 (bookworm) | 6.12.111-1~deb12u1 | DEBIAN-CVE-2026-97496 | Sep 24, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.