CVE-2026-99631 in Linux
Summary
by MITRE • 11/20/2026
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: check amdgpu_vm_ready() in dma-buf move notify
amdgpu_dma_buf_move_notify() touches the page tables without first calling amdgpu_vm_ready(). When a process is SIGKILLed, its VM entities are stopped. Teardown of an imported dma-buf then tries to clear PTEs by submitting to one of those stopped entities. That eventually hangs the task.
Commit aa5fc4362fac ("drm/amdgpu: fix task hang from failed job submission during process kill") added the stopped entity check in amdgpu_vm_ready() and used it in amdgpu_cs_vm_handling(). That did not cover a call in amdgpu_dma_buf_move_notify(), what was already mentioned in: https://lists.freedesktop.org/archives/amd-gfx/2025-October/133076.html
Tested by SIGKILLing a GPU workload holding imported dma-bufs. Without the patch "Trying to push to a killed entity" errors are logged, then a task hangs. With the patch there are no hung tasks. This was tested on a 6.18 kernel.
(cherry picked from commit bee5c9d7a34cb1b510ad3b4c18c30f9d38b0ab7d)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/20/2026
The Linux kernel's AMDGPU driver contains a critical synchronization flaw within the dma-buf subsystem that can lead to system hangs or process deadlocks when handling imported buffer objects during process termination. The vulnerability resides in the amdgpu_dma_buf_move_notify function, which is responsible for managing page table updates associated with memory buffers shared between different drivers or devices via the dma-buf interface. Specifically, this function attempts to touch and modify GPU page tables without first verifying whether the virtual memory context of the owning process remains active and ready for such operations. This oversight creates a race condition where hardware commands are submitted to a graphics execution entity that has already been suspended due to the termination of its parent user-space process.
The operational impact becomes apparent when a user-space application holding imported dma-buffers is terminated abruptly, typically via a SIGKILL signal. Upon receiving this signal, the Linux kernel stops all virtual memory entities associated with that process to prevent further execution and begin cleanup procedures. However, if an imported buffer requires movement or unmapping at this precise moment, amdgpu_dma_buf_move_notify proceeds to submit job requests to clear page table entries using one of these now-stopped entities. Because the entity is no longer accepting new work, the submission fails silently in terms of completion but causes the kernel thread handling the dma-buf teardown to wait indefinitely for a response that will never arrive. This results in a hard hang of the task performing the cleanup, potentially blocking other system operations or requiring manual intervention such as a reboot if the hung process holds critical locks.
This issue represents an incomplete fix relative to previous patches addressing similar race conditions during process kills. A prior commit introduced checks within amdgpu_vm_ready and applied them in command submission handling paths but failed to extend this protection to the dma-buf move notification path. Consequently, while general command submissions were safeguarded against operating on killed entities, the specific pathway for managing shared memory buffers remained exposed. This gap highlights a common challenge in complex kernel subsystems where security or stability fixes are applied piecemeal across different functional areas without comprehensive coverage of all entry points that interact with virtual memory state changes.
From a classification perspective, this vulnerability aligns with CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization, as the race condition arises from accessing shared kernel structures (the GPU VM entity) while its state is being modified by another thread during process teardown. It also relates to CWE-835: Loop of Death, given that the waiting mechanism effectively creates an infinite loop or deadlock scenario for the affected task. In terms of MITRE ATT&CK mapping, this behavior could be leveraged in Denial of Service scenarios (T1499) by malicious actors who can trigger rapid creation and destruction of processes with imported buffers to exhaust system resources or freeze specific kernel threads, although it is primarily a stability issue rather than an exploitable privilege escalation vector.
Mitigation for this vulnerability requires applying the upstream Linux kernel patch that adds the amdgpu_vm_ready check within amdgpu_dma_buf_move_notify before any page table manipulation occurs. System administrators should ensure their systems are updated to include commits from version 6.18 and later, or backport the specific fix if running older supported kernels. For developers integrating AMDGPU drivers into custom environments, it is essential to verify that all code paths interacting with GPU virtual memory entities perform state validation before submitting hardware jobs. Regular stress testing involving rapid process termination while holding shared buffers can help identify similar synchronization gaps in driver implementations.