CVE-2025-40332
drm/amdkfd: Fix mmap write lock not release
Reported by linux · Published December 9, 2025
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.
EPSS 0.23% · 14.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e2105ba1c262dcaa9573f11844b6e1e1ca762c3f, 7574f30337e19045f03126b4c51f525b84e5049e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e64be12f8401819662e608efa247638b61d023cd, f844732e3ad9c4b78df7436232949b8d2096d1a6, f844732e3ad9c4b78df7436232949b8d2096d1a6 |
| Linux | Linux | 6.15, 0, 6.12.58 |
| Linux | Linux | 6.14.3, 6.17.8, 6.18 |
| linux | linux_kernel | 6.15, 6.13.12, 6.14.3 |
Timeline
- Dec 8, 2025 CVE Published
- Dec 9, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (91 in total, the first dated here)
- Mar 29, 2026 Security Advisory (94 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40332
vulnetix vdb fixes CVE-2025-40332
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40332/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart