CVE-2025-40339 drm/amdgpu: fix nullptr err of vm_handle_moved
A null pointer dereference in the AMD GPU driver allows local attackers to cause a system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40339?
CVE-2025-40339 is a vulnerability in Linux, published on 9 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix nullptr err of vm_handle_moved
If a amdgpu_bo_va is fpriv->prt_va, the bo of this one is always NULL. So, such kind of amdgpu_bo_va should be updated separately before amdgpu_vm_handle_moved.
Which versions are affected by CVE-2025-40339?
How do I fix CVE-2025-40339?
Apply the vendor's patch.
Is CVE-2025-40339 being exploited?
There is no known exploitation of CVE-2025-40339 in the wild and no public exploit code.
Sources
Also known as AZL-71801, BELL-CVE-2025-40339, DEBIAN-CVE-2025-40339, GHSA-jq6r-3qg9-jgcw, ROOT-OS-DEBIAN-11-CVE-2025-40339, ROOT-OS-DEBIAN-12-CVE-2025-40339 and 4 more.