drm/amdgpu: check amdgpu_vm_ready() in dma-buf move notify
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d534c4d5d99c079e760b5d38b1f1813ea81292ea, Kernel 6.17, Kernel 357f2a753287d878ba13d49248c55343bb5e0090 and 3 more.
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)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=aa5fc4362fac9351557eb27c745579159a2e4520 <d534c4d5d99c079e760b5d38b1f1813ea81292ea, >=6.16.4 <6.17, >=aa5fc4362fac9351557eb27c745579159a2e4520 <357f2a753287d878ba13d49248c55343bb5e0090, >=aa5fc4362fac9351557eb27c745579159a2e4520 <920ca822f527e45ce084b36f3c420b625eb7c62a, =3a0dc1f487c30521a0fba0b935d0886b9b1984a5, =6.17 | d534c4d5d99c079e760b5d38b1f1813ea81292ea, 6.17, 357f2a753287d878ba13d49248c55343bb5e0090, 920ca822f527e45ce084b36f3c420b625eb7c62a |
| linux-kernel: Kernel | >=6.17.0 <6.18.64, >=6.19.0 <7.3.5, >=6.16.4 <6.17 | 6.18.64, 7.3.5, 6.17 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket