CVE-2026-99632
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence
What happened?
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: use the queue's process info for the WPTR BO eviction fence
amdgpu_amdkfd_map_gtt_bo_to_gart() removes the eviction fence of bo->vm_bo->vm->process_info from the WPTR BO of a new queue. bo->vm_bo is the VM which opened the BO last, not necessarily the KFD process' VM, and a render node VM has no process info.
On navi31, an unprivileged process which exports its WPTR BO with AMDKFD_IOC_EXPORT_DMABUF and imports it on a second render node fd oopses in AMDKFD_IOC_CREATE_QUEUE:
BUG: kernel NULL pointer dereference, address: 0000000000000060 RIP: 0010:amdgpu_amdkfd_map_gtt_bo_to_gart+0x86/0x1a0 [amdgpu] init_user_queue.part.0+0x180/0x250 [amdgpu] pqm_create_queue+0x32d/0x730 [amdgpu] kfd_ioctl_create_queue+0x583/0x9f0 [amdgpu]
Pass the process info of the queue instead. With the fix, the queue is created and destroyed normally.
(cherry picked from commit 6b4157498a176bd1c6083f6bb5aaf8a257a2027e)
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| LinuxLinux | affected: 7f347e3f821743a02c249abe50e467a333fabcfe to < bd2eef06c2daa634877a47508bb6834987f0a5f4; affected: 7f347e3f821743a02c249abe50e467a333fabcfe to < 70ea9ed012b756fac5909e0d6be530731dc1e484; affected: 7f347e3f821743a02c249abe50e467a333fabcfe to < c964cd06eb35d2ca2d9b49a7423b5d5cd01441c0; affected: 7f347e3f821743a02c249abe50e467a333fabcfe to < 3044e6e19f5746d2c279d0105fd61e759bcb42b3; affected: 7f347e3f821743a02c249abe50e467a333fabcfe to < da2897ee8b811945fd40ecc4aaf03291c14ce61c | See vendor advisory |
| LinuxLinux | affected: 6.3; unaffected: 0 to < 6.3; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.119 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ * | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.
Sources and remediation references
- https://www.cve.org/CVERecord?id=CVE-2026-99632
- https://git.kernel.org/stable/c/bd2eef06c2daa634877a47508bb6834987f0a5f4
- https://git.kernel.org/stable/c/70ea9ed012b756fac5909e0d6be530731dc1e484
- https://git.kernel.org/stable/c/c964cd06eb35d2ca2d9b49a7423b5d5cd01441c0
- https://git.kernel.org/stable/c/3044e6e19f5746d2c279d0105fd61e759bcb42b3
- https://git.kernel.org/stable/c/da2897ee8b811945fd40ecc4aaf03291c14ce61c