0.0
NA
CVE-2025-40332
AMD KFD Linux Kernel Unreleased Lock Deadlock 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.

INFO

Published Date :

Dec. 9, 2025, 6:28 a.m.

Last Modified :

Dec. 9, 2025, 6:28 a.m.

Remotely Exploit :

No

Source :

None
Affected Products

The following products are affected by CVE-2025-40332 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix a deadlock by downgrading the mmap write lock to a read lock.
  • Downgrade mmap write lock to read lock.
  • Apply the provided kernel patch.
  • Update the Linux kernel.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-40332.

URL Resource
https://git.kernel.org/stable/c/e2105ba1c262dcaa9573f11844b6e1e1ca762c3f
https://git.kernel.org/stable/c/f7569ef1cf978aa87aa81b5e9bf40a77497f3685
https://git.kernel.org/stable/c/7574f30337e19045f03126b4c51f525b84e5049e
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-40332 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-40332 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-40332 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.