# CVE-2025-39801: usb: dwc3: Remove WARN\_ON for device endpoint command timeouts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-29)
- **CWE:** CWE-617
- **Published:** 2025-09-15T12:36:43.936Z
- **Modified:** 2026-11-05T22:17:32.207Z

## Who should check

- Anyone running Linux \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< dfe40159eec6ca63b40133bfa783eee2e3ed829f; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 5a1a847d841505dba2bd85602daf5c218e1d85b8; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 84c95dbf5bece56086cdb65a64162af35158bdd9; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< f49697dfba2915a9ff36f94604eb76fa61413929; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< db27482b9db340402e05d4e9b75352bbaca51af2; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 45eae113dccaf8e502090ecf5b3d9e9b805add6f
- Anyone running Linux 3.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: dwc3: Remove WARN\_ON for device endpoint command timeouts

This commit addresses a rarely observed endpoint command timeout
which causes kernel panic due to warn when 'panic\_on\_warn' is enabled
and unnecessary call trace prints when 'panic\_on\_warn' is disabled.
It is seen during fast software-controlled connect/disconnect testcases.
The following is one such endpoint command timeout that we observed:

1. Connect
   =======
-\>dwc3\_thread\_interrupt
 -\>dwc3\_ep0\_interrupt
  -\>configfs\_composite\_setup
   -\>composite\_setup
    -\>usb\_ep\_queue
     -\>dwc3\_gadget\_ep0\_queue
      -\>\_\_dwc3\_gadget\_ep0\_queue
       -\>\_\_dwc3\_ep0\_do\_control\_data
        -\>dwc3\_send\_gadget\_ep\_cmd

2. Disconnect
   ==========
-\>dwc3\_thread\_interrupt
 -\>dwc3\_gadget\_disconnect\_interrupt
  -\>dwc3\_ep0\_reset\_state
   -\>dwc3\_ep0\_end\_control\_data
    -\>dwc3\_send\_gadget\_ep\_cmd

In the issue scenario, in Exynos platforms, we observed that control
transfers for the previous connect have not yet been completed and end
transfer command sent as a part of the disconnect sequence and
processing of USB\_ENDPOINT\_HALT feature request from the host timeout.
This maybe an expected scenario since the controller is processing EP
commands sent as a part of the previous connect. It maybe better to
remove WARN\_ON in all places where device endpoint commands are sent to
avoid unnecessary kernel panic due to warn.

## Affected and fixed versions

- Linux: \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< dfe40159eec6ca63b40133bfa783eee2e3ed829f; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 5a1a847d841505dba2bd85602daf5c218e1d85b8; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 84c95dbf5bece56086cdb65a64162af35158bdd9; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< f49697dfba2915a9ff36f94604eb76fa61413929; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< db27482b9db340402e05d4e9b75352bbaca51af2; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 45eae113dccaf8e502090ecf5b3d9e9b805add6f (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- Upgrade Linux to 45eae113dccaf8e502090ecf5b3d9e9b805add6f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39801. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39801.md
Affected: Linux >= 72246da40f3719af3bfd104a2365b32537c27d83, < dfe40159eec6ca63b40133bfa783eee2e3ed829f; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 5a1a847d841505dba2bd85602daf5c218e1d85b8; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 84c95dbf5bece56086cdb65a64162af35158bdd9; >= 72246da40f3719af3bfd104…
Fixed in: Linux 5a1a847d841505dba2bd85602daf5c218e1d85b8, Linux 84c95dbf5bece56086cdb65a64162af35158bdd9, Linux 45eae113dccaf8e502090ecf5b3d9e9b805add6f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39801 being exploited?

There is no confirmed exploitation: CVE-2025-39801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2025-39801?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39801?

Linux \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< dfe40159eec6ca63b40133bfa783eee2e3ed829f; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 5a1a847d841505dba2bd85602daf5c218e1d85b8; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 84c95dbf5bece56086cdb65a64162af35158bdd9; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< f49697dfba2915a9ff36f94604eb76fa61413929; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< db27482b9db340402e05d4e9b75352bbaca51af2; \>= 72246da40f3719af3bfd104a2365b32537c27d83, \< 45eae113dccaf8e502090ecf5b3d9e9b805add6f; Linux 3.2.

### Is there a fix for CVE-2025-39801?

Yes. Fixed in Linux 5a1a847d841505dba2bd85602daf5c218e1d85b8, Linux 84c95dbf5bece56086cdb65a64162af35158bdd9, Linux 45eae113dccaf8e502090ecf5b3d9e9b805add6f. Upgrade Linux to 45eae113dccaf8e502090ecf5b3d9e9b805add6f or later.

### How do I check if I'm affected by CVE-2025-39801?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/dfe40159eec6ca63b40133bfa783eee2e3ed829f>
- patch: <https://git.kernel.org/stable/c/5a1a847d841505dba2bd85602daf5c218e1d85b8>
- patch: <https://git.kernel.org/stable/c/84c95dbf5bece56086cdb65a64162af35158bdd9>
- patch: <https://git.kernel.org/stable/c/f49697dfba2915a9ff36f94604eb76fa61413929>
- patch: <https://git.kernel.org/stable/c/db27482b9db340402e05d4e9b75352bbaca51af2>
- patch: <https://git.kernel.org/stable/c/45eae113dccaf8e502090ecf5b3d9e9b805add6f>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39801>

HTML: <https://flawdb.com/CVE-2025-39801> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39801>
