CVE-2025-38404

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38404
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38404.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38404
Downstream
Related
Published
2025-07-25T13:09:25Z
Modified
2025-10-16T04:24:45.096112Z
Summary
usb: typec: displayport: Fix potential deadlock
Details

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. crostypecaltmodework() acquires the mutex 2. typecaltmodevdm() -> dpaltmodevdm() -> 3. typecaltmodeexit() -> crostypecaltmodeexit() 4. crostypecaltmode_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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e0359c66c1beccbe90119a63391678eabda38007
Fixed
749d9076735fb497aae60fbea9fff563f9ea3254
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e3fb6c2c3939b4aad203cacdd613a62ce1fd032c
Fixed
eb08fca56f1f39e4038cb9bac9864464b13b00aa
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
56846793f105cf2b39ecbde4f3ae86342091f6fc
Fixed
7be0d1ea71f52595499da39cea484a895e8ed042
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e8a69b1f8c59f0505f8a1c0fb77191f27b75011
Fixed
76cf1f33e7319fe74c94ac92f9814094ee8cc84b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8851e40587013db00b71d4aeaae30f5fd59b0eec
Fixed
63cff9f57e86b2dc25d7487ca0118df89a665296
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4
Fixed
c782f98eef14197affa8a7b91e6981420f109ea9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8f6a4fa7b663468bb304cb885b93326e025ae005
Fixed
80c25d7916a44715338d4f8924c8e52af50d0b9f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b4b38ffb38c91afd4dc387608db26f6fc34ed40b
Fixed
099cf1fbb8afc3771f408109f62bdec66f85160e

Affected versions

v6.*

v6.1.143
v6.12.36
v6.15
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.15.5
v6.16-rc1
v6.16-rc2
v6.6.96

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.143
Fixed
6.1.144
Type
ECOSYSTEM
Events
Introduced
6.6.96
Fixed
6.6.97
Type
ECOSYSTEM
Events
Introduced
6.12.36
Fixed
6.12.37
Type
ECOSYSTEM
Events
Introduced
6.15.5
Fixed
6.15.6