CVE-2025-40332 Details
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.
A vulnerability in the Linux kernel's AMD GPU driver can lead to a deadlock situation. When the memory mapping (mmap) write lock is engaged while handling a retry fault, the lock is not properly released. This occurs because the function responsible for restoring pages in the SVM range first unlocks the read lock before returning, leaving the write lock in place. As a result, subsequent attempts to acquire either a read or write lock can fail, causing the system to hang. The issue can be resolved by downgrading the mmap write lock to a read lock when the retry fault is being processed.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7574f30337e19045f03126b4c51f525b84e5049e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e2105ba1c262dcaa9573f11844b6e1e1ca762c3f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f7569ef1cf978aa87aa81b5e9bf40a77497f3685 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion