CVE-2025-39801

Source
https://cve.org/CVERecord?id=CVE-2025-39801
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39801.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39801
Downstream
Related
Published
2025-09-15T12:36:43.936Z
Modified
2026-03-20T12:43:03.288820Z
Summary
usb: dwc3: Remove WARN_ON for device endpoint command timeouts
Details

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 'paniconwarn' is enabled and unnecessary call trace prints when 'paniconwarn' 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 ======= ->dwc3threadinterrupt ->dwc3ep0interrupt ->configfscompositesetup ->compositesetup ->usbepqueue ->dwc3gadgetep0queue ->__dwc3gadgetep0_queue ->__dwc3ep0docontroldata ->dwc3sendgadgetepcmd

  2. Disconnect ========== ->dwc3threadinterrupt ->dwc3gadgetdisconnectinterrupt ->dwc3ep0resetstate ->dwc3ep0endcontroldata ->dwc3sendgadgetepcmd

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39801.json"
}
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
72246da40f3719af3bfd104a2365b32537c27d83
Fixed
dfe40159eec6ca63b40133bfa783eee2e3ed829f
Fixed
5a1a847d841505dba2bd85602daf5c218e1d85b8
Fixed
84c95dbf5bece56086cdb65a64162af35158bdd9
Fixed
f49697dfba2915a9ff36f94604eb76fa61413929
Fixed
db27482b9db340402e05d4e9b75352bbaca51af2
Fixed
45eae113dccaf8e502090ecf5b3d9e9b805add6f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39801.json"