{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39801","id":"CVE-2025-39801","title":"usb: dwc3: Remove WARN_ON for device endpoint command timeouts","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: Remove WARN_ON for device endpoint command timeouts\n\nThis commit addresses a rarely observed endpoint command timeout\nwhich causes kernel panic due to warn when 'panic_on_warn' is enabled\nand unnecessary call trace prints when 'panic_on_warn' is disabled.\nIt is seen during fast software-controlled connect/disconnect te","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: Remove WARN_ON for device endpoint command timeouts\n\nThis commit addresses a rarely observed endpoint command timeout\nwhich causes kernel panic due to warn when 'panic_on_warn' is enabled\nand unnecessary call trace prints when 'panic_on_warn' is disabled.\nIt is seen during fast software-controlled connect/disconnect testcases.\nThe following is one such endpoint command timeout that we observed:\n\n1. Connect\n   =======\n->dwc3_thread_interrupt\n ->dwc3_ep0_interrupt\n  ->configfs_composite_setup\n   ->composite_setup\n    ->usb_ep_queue\n     ->dwc3_gadget_ep0_queue\n      ->__dwc3_gadget_ep0_queue\n       ->__dwc3_ep0_do_control_data\n        ->dwc3_send_gadget_ep_cmd\n\n2. Disconnect\n   ==========\n->dwc3_thread_interrupt\n ->dwc3_gadget_disconnect_interrupt\n  ->dwc3_ep0_reset_state\n   ->dwc3_ep0_end_control_data\n    ->dwc3_send_gadget_ep_cmd\n\nIn the issue scenario, in Exynos platforms, we observed that control\ntransfers for the previous connect have not yet been completed and end\ntransfer command sent as a part of the disconnect sequence and\nprocessing of USB_ENDPOINT_HALT feature request from the host timeout.\nThis maybe an expected scenario since the controller is processing EP\ncommands sent as a part of the previous connect. It maybe better to\nremove WARN_ON in all places where device endpoint commands are sent to\navoid unnecessary kernel panic due to warn.","published":"2025-09-15T12:36:43.936Z","updated":"2026-11-07T02:30:55.628485697Z","reserved":"2025-04-16T07:20:57.134Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"dfe40159eec6ca63b40133bfa783eee2e3ed829f","status":"affected","versionType":"git"},{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"5a1a847d841505dba2bd85602daf5c218e1d85b8","status":"affected","versionType":"git"},{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"84c95dbf5bece56086cdb65a64162af35158bdd9","status":"affected","versionType":"git"},{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"f49697dfba2915a9ff36f94604eb76fa61413929","status":"affected","versionType":"git"},{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"db27482b9db340402e05d4e9b75352bbaca51af2","status":"affected","versionType":"git"},{"version":"72246da40f3719af3bfd104a2365b32537c27d83","lessThan":"45eae113dccaf8e502090ecf5b3d9e9b805add6f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.2","status":"affected"},{"version":"0","lessThan":"3.2","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.44","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.4","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-617"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/dfe40159eec6ca63b40133bfa783eee2e3ed829f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5a1a847d841505dba2bd85602daf5c218e1d85b8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/84c95dbf5bece56086cdb65a64162af35158bdd9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f49697dfba2915a9ff36f94604eb76fa61413929","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/db27482b9db340402e05d4e9b75352bbaca51af2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/45eae113dccaf8e502090ecf5b3d9e9b805add6f","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39801.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39801","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05199,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39801","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39801","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39801","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}