{"id":"CVE-2025-39801","aliases":["CVE-2025-39801"],"related":[],"kind":"vulnerability","state":"published","title":"usb: dwc3: Remove WARN_ON for device endpoint command timeouts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: dwc3: Eliminar WARN_ON para los tiempos de espera de comandos de punto final de dispositivo\n\nEsta confirmación aborda un tiempo de espera de comando de punto final raramente observado que causa pánico del kernel debido a una advertencia cuando 'panic_on_warn' está habilitado y rastreos de llamadas innecesarios cuando 'panic_on_warn' está deshabilitado. Se observa durante casos de prueba de conexión/desconexión rápidos controlados por software. El siguiente es uno de esos tiempos de espera de comandos de punto final que observamos:\n\n1. Conectar\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. Desconectar\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\nEn el escenario del problema, en plataformas Exynos, observamos que las transferencias de control para la conexión anterior aún no se han completado y el comando de finalización de transferencia enviado como parte de la secuencia de desconexión y el procesamiento de la solicitud de característica USB_ENDPOINT_HALT del host agotan el tiempo de espera. Este podría ser un escenario esperado ya que el controlador está procesando comandos de EP enviados como parte de la conexión anterior. Podría ser mejor eliminar WARN_ON en todos los lugares donde se envían comandos de punto final de dispositivo para evitar pánicos del kernel innecesarios debido a una advertencia.","source":"nvd"}],"published":"2025-09-15T12:36:43.936Z","modified":"2026-11-05T22:17:32.207Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-617"],"affected":[{"ranges":[{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"dfe40159eec6ca63b40133bfa783eee2e3ed829f","status":"affected"},{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"5a1a847d841505dba2bd85602daf5c218e1d85b8","status":"affected"},{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"84c95dbf5bece56086cdb65a64162af35158bdd9","status":"affected"},{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"f49697dfba2915a9ff36f94604eb76fa61413929","status":"affected"},{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"db27482b9db340402e05d4e9b75352bbaca51af2","status":"affected"},{"type":"git","introduced":"72246da40f3719af3bfd104a2365b32537c27d83","fixed":"45eae113dccaf8e502090ecf5b3d9e9b805add6f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dfe40159eec6ca63b40133bfa783eee2e3ed829f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a1a847d841505dba2bd85602daf5c218e1d85b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84c95dbf5bece56086cdb65a64162af35158bdd9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f49697dfba2915a9ff36f94604eb76fa61413929","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db27482b9db340402e05d4e9b75352bbaca51af2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45eae113dccaf8e502090ecf5b3d9e9b805add6f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:11:47.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39801","url":"https://www.cve.org/CVERecord?id=CVE-2025-39801","licence":"CVE Terms of Use","modified":"2026-11-05T21:12:58.732Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39801","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39801","licence":"Public domain","modified":"2026-11-05T22:17:32.207Z"}],"updatedAt":"2026-11-25T22:59:04.652Z","epss":{"score":0.0016,"percentile":0.05404,"date":"2026-12-01T12:00:22.000Z"}}