# CVE-2025-40339: drm/amdgpu: fix nullptr err of vm_handle_moved

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-12-09T04:09:55.697Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 47281febebe337586569aa4c5694a7511063a42e; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 273d1ea12e42e9babb9783837906f3c466f213d3; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 859958a7faefe5b7742b7b8cdbc170713d4bf158; 4.2 (not affected: before 4.2; from 6.12.58 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/47281febebe337586569aa4c5694a7511063a42e>
- <https://git.kernel.org/stable/c/273d1ea12e42e9babb9783837906f3c466f213d3>
- <https://git.kernel.org/stable/c/859958a7faefe5b7742b7b8cdbc170713d4bf158>

## Sources

- CVE List: [CVE-2025-40339](https://www.cve.org/CVERecord?id=CVE-2025-40339), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40339](https://nvd.nist.gov/vuln/detail/CVE-2025-40339), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40339 · Whole record: https://cve.day/CVE-2025-40339.json · Rebuilt by cve.day 2026-11-25T22:59:08.475Z
