Linux Kernelのamdkfdに脆弱性、細工されたCRIU復元データで不正な動作のおそれ
Summary
Linux KernelのAMD向けドライバー(amdkfd)で、キューを復元する際に制御スタックのサイズとオフセットを検証していない脆弱性が見つかりました。CVSSは7.1で、悪用は確認されていません。影響するのは5.18.0〜6.12.118、6.13.0〜6.18.64、6.19.0〜7.3.3の各版で、6.12.119、6.18.65、7.3.4の修正版で修正されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux KernelのAMD向けドライバー(amdkfd)で、キューを復元する際に制御スタックのサイズとオフセットを検証していない脆弱性が見つかりました。CVSSは7.1で、悪用は確認されていません。影響するのは5.18.0〜6.12.118、6.13.0〜6.18.64、6.19.0〜7.3.3の各版で、6.12.119、6.18.65、7.3.4の修正版で修正されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.18.0, < 6.12.119→ 6.12.119 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.4→ 7.3.4 |
6.12.119 6.18.65 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99874 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99874 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99874 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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)
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com