CVE-2025-38404
Linux Kernel USB TypeC Displayport Deadlock
Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: displayport: Fix potential deadlock The deadlock can occur due to a recursive lock acquisition of `cros_typec_altmode_data::mutex`. The call chain is as follows: 1. cros_typec_altmode_work() acquires the mutex 2. typec_altmode_vdm() -> dp_altmode_vdm() -> 3. typec_altmode_exit() -> cros_typec_altmode_exit() 4. cros_typec_altmode_exit() attempts to acquire the mutex again To prevent this, defer the `typec_altmode_exit()` call by scheduling it rather than calling it directly from within the mutex-protected context.
INFO
Published Date :
July 25, 2025, 2:15 p.m.
Last Modified :
July 25, 2025, 3:29 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
CVE-2025-38404
vulnerability.
Public PoC/Exploit Available at Github
CVE-2025-38404 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-38404
.
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-38404
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-38404
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).
DSA and DLA for Debian last 14 days
Python
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-38404
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-38404
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: usb: typec: displayport: Fix potential deadlock The deadlock can occur due to a recursive lock acquisition of `cros_typec_altmode_data::mutex`. The call chain is as follows: 1. cros_typec_altmode_work() acquires the mutex 2. typec_altmode_vdm() -> dp_altmode_vdm() -> 3. typec_altmode_exit() -> cros_typec_altmode_exit() 4. cros_typec_altmode_exit() attempts to acquire the mutex again To prevent this, defer the `typec_altmode_exit()` call by scheduling it rather than calling it directly from within the mutex-protected context. Added Reference https://git.kernel.org/stable/c/099cf1fbb8afc3771f408109f62bdec66f85160e Added Reference https://git.kernel.org/stable/c/63cff9f57e86b2dc25d7487ca0118df89a665296 Added Reference https://git.kernel.org/stable/c/749d9076735fb497aae60fbea9fff563f9ea3254 Added Reference https://git.kernel.org/stable/c/76cf1f33e7319fe74c94ac92f9814094ee8cc84b Added Reference https://git.kernel.org/stable/c/7be0d1ea71f52595499da39cea484a895e8ed042 Added Reference https://git.kernel.org/stable/c/80c25d7916a44715338d4f8924c8e52af50d0b9f Added Reference https://git.kernel.org/stable/c/c782f98eef14197affa8a7b91e6981420f109ea9 Added Reference https://git.kernel.org/stable/c/eb08fca56f1f39e4038cb9bac9864464b13b00aa