CVE-2025-40339: drm/amdgpu: fix nullptr err of vm_handle_moved
drm/amdgpu: fix nullptr err of vmhandlemoved
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Update an amdgpu_bo_va separately before calling amdgpu_vm_handle_moved when it is fpriv->prt_va, because its bo is always NULL.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40339?
The severity of CVE-2025-40339 is classified as moderate due to potential null pointer dereference issues.
How do I fix CVE-2025-40339?
To fix CVE-2025-40339, ensure you update your Linux kernel to the latest version that includes the security patch.
Which versions of the Linux kernel are affected by CVE-2025-40339?
CVE-2025-40339 affects specific versions of the Linux kernel that utilize the amdgpu driver.
What is the nature of the vulnerability in CVE-2025-40339?
CVE-2025-40339 involves a null pointer dereference that can occur when an amdgpu_bo_va is referenced incorrectly.
Is CVE-2025-40339 related to graphics drivers?
Yes, CVE-2025-40339 specifically relates to the AMD graphics driver within the Linux kernel.