5.5medium
usb: cdns3: Fix deadlock when using NCM gadget
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: Fix deadlock when using NCM gadget The cdns3 driver has the same NCM deadlock as fixed in cdnsp by commit 58f2fcb3a845 ("usb: cdnsp: Fix deadlock issue during using NCM gadget"). Under PREEMPT_RT the deadlock can be readily triggered by heavy network traffic, for example using "iperf --bidir" over NCM ethernet link. The deadlock occurs because the threaded interrupt handler gets preempted by a softirq, but both are protected by the same spinlock. Prevent deadlock by disabling softirq during threaded irq handler.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before eebfb64c624fc738b669100173344fb441c5e719, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before 59a760e4796a3cd88d8b9d7706e0a638de677751, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before b96239582531775f2fdcb14de29bdb6870fd4c8c, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before c27db84ed44e50ff90d9e3a2a25fae2e0a0fa015, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before 48a62deb857f0694f611949015e70ad194d97159, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before 74cd6e408a4c010e404832f0e4609d29bf1d0c41, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before 09e90a9689a4aac7a2f726dc2aa472b0b37937b7, from 7733f6c32e36ff9d7adadf40001039bf219b1cbe before a1059896f2bfdcebcdc7153c3be2307ea319501f and 1 more Not affected: before 5.4, from 5.4.293 up to 5.4.*, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.136 up to 6.1.*, from 6.6.89 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.4 before 5.4.293, from 5.5 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.136, from 6.2 before 6.6.89, from 6.7 before 6.12.26, from 6.13 before 6.14.5, 6.15 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: Fix deadlock when using NCM gadget The cdns3 driver has the same NCM deadlock as fixed in cdnsp by commit 58f2fcb3a845 ("usb: cdnsp: Fix deadlock issue during using NCM gadget"). Under PREEMPT_RT the deadlock can be readily triggered by heavy network traffic, for example using "iperf --bidir" over NCM ethernet link. The deadlock occurs because the threaded interrupt handler gets preempted by a softirq, but both are protected by the same spinlock. Prevent deadlock by disabling softirq during threaded irq handler.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: cdns3: Corrección de interbloqueo al usar el gadget NCM. El controlador cdns3 presenta el mismo interbloqueo NCM corregido en cdnsp mediante el commit 58f2fcb3a845 ("usb: cdnsp: Corrección de un problema de interbloqueo durante el uso del gadget NCM"). Bajo PREEMPT_RT, el interbloqueo puede activarse fácilmente por tráfico de red intenso, por ejemplo, al usar "iperf --bidir" a través de un enlace Ethernet NCM. El interbloqueo se produce porque el manejador de interrupciones en subprocesos es interrumpido por un softirq, pero ambos están protegidos por el mismo bloqueo de giro. Para evitar el interbloqueo, desactive el softirq durante el controlador de interrupciones en subprocesos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37812 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-37812 changed 2026-06-17 | Public domain |