VDB

CVE-2026-97496

CVE-2026-97496 PUBLISHED CVSS 7.1 HIGH

drm/amdkfd: Fix OOB memory exposure in get_wave_state()

Reported by linux · Published September 24, 2026

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.

EPSS 0.12% · 2.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libperferrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.ppc64le
kernel-toolserrata.rockylinux.org0:6.12.0-264.17.1.el10_3.s390x, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-moduleserrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.s390x, 0:6.12.0-264.17.1.el10_3.ppc64le
kernel-docerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.noarch
kernel-tools-libs-develerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.ppc64le
kernel-rt-debug-coreerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.aarch64
libperf-debuginfoerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
rtla-debuginfoerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
rverrata.rockylinux.org0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-coreerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.s390x, 0:6.12.0-264.17.1.el10_3.ppc64le, 0:6.12.0-264.17.1.el10_3.aarch64
kernel-uki-virterrata.rockylinux.org0:6.12.0-264.17.1.el10_3.aarch64
rv-debuginfoerrata.rockylinux.org0:6.12.0-264.17.1.el10_3.x86_64, 0:6.12.0-264.17.1.el10_3.ppc64le

49 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score
0.12%
2.2th percentile

Affected products

VendorProductVersions
LinuxLinux42c6c48214b726c30918e8dc80e2168607d13ae4, 42c6c48214b726c30918e8dc80e2168607d13ae4, 42c6c48214b726c30918e8dc80e2168607d13ae4
LinuxLinux5.18, 0, 6.6.158
LinuxLinux6.6.158, 42c6c48214b726c30918e8dc80e2168607d13ae4, 5.18
linuxlinux_kernel5.18, 5.18, 5.18

Timeline

  • Sep 24, 2026 CVE Published
  • Sep 25, 2026 EPSS Score (4 in total, the first dated here)
  • Oct 3, 2026 CVE Updated
  • Nov 22, 2026 Distribution Patch
  • Nov 22, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97496
vulnetix vdb fixes CVE-2026-97496

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97496/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›