Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix mmap write lock not release If mmap write lock is taken while draining retry fault, mmap write lock is not released because svm_range_restore_pages calls mmap_read_unlock then returns. This causes deadlock and system hangs later because mmap read or write lock cannot be taken. Downgrade mmap write lock to read lock if draining retry fault fix this bug.
References
- https://git.kernel.org/stable/c/7574f30337e19045f03126b4c51f525b84e5049e
- https://git.kernel.org/stable/c/e2105ba1c262dcaa9573f11844b6e1e1ca762c3f
- https://git.kernel.org/stable/c/f7569ef1cf978aa87aa81b5e9bf40a77497f3685
FAQ
What is CVE-2025-40332?
CVE-2025-40332 is a documented vulnerability. In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix mmap write lock not release If mmap write lock is taken while draining retry fault, mmap write lock is not release...
How severe is CVE-2025-40332?
CVSS scoring is not yet available for CVE-2025-40332. Check NVD for updates.
Is there a patch for CVE-2025-40332?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.