CVE-2026-99874

HIGHCVSS 7.1/10

Last modified

CVE-2026-99874 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Validate the control stack of a restored queue kfd_criu_restore_queue() takes the control stack size from the checkpoint image without the topology check create-queue does in kfd_queue_acquire_buffers(), which restore stopped calling in commit 1cafa8b29e02 ("drm/amdkfd: Don't acquire buffers during CRIU queue restore."). An image size of 0x300000 is accepted and sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning in kmalloc(). restore_mqd() also keeps the image's cp_hqd_cntl_stack_size, cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Validate the control stack of a restored queue kfd_criu_restore_queue() takes the control stack size from the checkpoint image without the topology check create-queue does in kfd_queue_acquire_buffers(), which restore stopped calling in commit 1cafa8b29e02 ("drm/amdkfd: Don't acquire buffers during CRIU queue restore."). An image size of 0x300000 is accepted and sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning in kmalloc(). restore_mqd() also keeps the image's cp_hqd_cntl_stack_size, cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset > size or wave state offset < size, get_wave_state() returns wrapped sizes. Take the per-XCC size from topology, 0 for queues without a control stack, and reject larger images. In restore_mqd(), set the size to it and bound both offsets as init_mqd() does. (cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)

Metrics

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 626f7b3190b4c07917f0262162cb7fef7272c34d, < a3e9af053b5e881025eb9358946a51ab4c61d22a; >= 626f7b3190b4c07917f0262162cb7fef7272c34d, < 250e92ce55aa3c37ab0a7a6b8aad688e7bb8b25e; >= 626f7b3190b4c07917f0262162cb7fef7272c34d, < 9cfce679d88f6f83d15e99fdba0d5769120f0faf; >= 626f7b3190b4c07917f0262162cb7fef7272c34d, < 90d91a192751cd9a7d9d2286299bc72ec1c28179
LinuxLinux5.18

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99874?
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Validate the control stack of a restored queue kfd_criu_restore_queue() takes the control stack size from the checkpoint image without the topology check create-queue does in kfd_queue_acquire_buffers(), which restore stopped calling in commit 1cafa8b29e02 ("drm/amdkfd: Don't acquire buffers during CRIU queue restore."). An image size of 0x300000 is accepted and sizes the MQD allocation, and 0xFFFFFFFF trips a page allocator warning in kmalloc(). restore_mqd() also keeps the image's cp_hqd_cntl_stack_size, cp_hqd_cntl_stack_offset and cp_hqd_wg_state_offset. With offset > size or wave state offset < size, get_wave_state() returns wrapped sizes. Take the per-XCC size from topology, 0 for queues without a control stack, and reject larger images. In restore_mqd(), set the size to it and bound both offsets as init_mqd() does. (cherry picked from commit 92249023caee17bfc6f29c71d6aaa5f2298cf507)
How severe is CVE-2026-99874?
CVE-2026-99874 has a CVSS score of 7.1/10 (HIGH severity).
How do I fix CVE-2026-99874?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99874?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST