PT-2026-162841
CVE-2026-99874
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.1
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
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)
Found an issue in the description? Have something to add? Feel free to write us 👾