CVE-2025-40332

published 9 Dec 2025 · updated 17 Nov 2026

drm/amdkfd: Fix mmap write lock not release

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f7569ef1cf978aa87aa81b5e9bf40a77497f3685, Kernel 6.14, Kernel 6.15 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f844732e3ad9c4b78df7436232949b8d2096d1a6 <f7569ef1cf978aa87aa81b5e9bf40a77497f3685, >=6.13.12 <6.14, >=6.14.3 <6.15, >=e64be12f8401819662e608efa247638b61d023cd <e2105ba1c262dcaa9573f11844b6e1e1ca762c3f, >=f844732e3ad9c4b78df7436232949b8d2096d1a6 <7574f30337e19045f03126b4c51f525b84e5049e, =177660d7ecb34298dab5f0d1efc7e8b02f934551, =5a3c09bd25cc0a55ec9c048710d379fa2c84b4e7, =6.15, >=6.12.24 <6.12.58f7569ef1cf978aa87aa81b5e9bf40a77497f3685, 6.14, 6.15, e2105ba1c262dcaa9573f11844b6e1e1ca762c3f, 7574f30337e19045f03126b4c51f525b84e5049e, 6.12.58
linux-kernel: Kernel>=6.13.12 <6.14, >=6.14.3 <6.15, >=6.15.0 <6.17.8, >=6.12.24 <6.12.586.14, 6.15, 6.17.8, 6.12.58

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40332 severity on Zeptric[![CVE-2025-40332](https://zeptric.io/badge/cve/CVE-2025-40332.svg)](https://zeptric.io/cve/CVE-2025-40332)