CVE-2025-38404 usb: typec: displayport: Fix potential deadlock

Medium 5.5 Published Updated

A local attacker can trigger a deadlock in the Linux kernel USB Type-C DisplayPort driver, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38404?

CVE-2025-38404 is a medium-severity vulnerability in Debian Debian Linux, published on 25 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-667

Which versions are affected by CVE-2025-38404?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38404?

Apply the vendor's patch.

Is CVE-2025-38404 being exploited?

There is no known exploitation of CVE-2025-38404 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-65678, BELL-CVE-2025-38404, DEBIAN-CVE-2025-38404, GHSA-whrv-p2hp-qr7f, ROOT-OS-DEBIAN-11-CVE-2025-38404, ROOT-OS-DEBIAN-12-CVE-2025-38404 and 1 more.

Is CVE-2025-38404 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free