CVE-2025-38404: usb: typec: displayport: Fix potential deadlock
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 crostypecaltmodedata::mutex. The call chain is as follows: 1. crostypecaltmodework() acquires the mutex 2. typecaltmodevdm() -> dpaltmodevdm() -> 3. typecaltmodeexit() -> crostypecaltmodeexit() 4. crostypecaltmodeexit() attempts to acquire the mutex again
To prevent this, defer the typecaltmodeexit() call by scheduling it rather than calling it directly from within the mutex-protected context.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38404?
CVE-2025-38404 is considered to have a moderate severity due to the potential for deadlocks in the Linux kernel.
How do I fix CVE-2025-38404?
To fix CVE-2025-38404, update to the latest stable version of the Linux kernel where the vulnerability has been resolved.
What component of the Linux kernel is affected by CVE-2025-38404?
CVE-2025-38404 affects the USB Type-C DisplayPort functionality in the Linux kernel.
What types of systems are impacted by CVE-2025-38404?
CVE-2025-38404 impacts systems running specific versions of the Linux kernel that utilize USB Type-C DisplayPort.
Is there a known exploit for CVE-2025-38404?
As of now, there are no publicly known exploits for CVE-2025-38404.