5.5medium
USB: gadget: f_midi: f_midi_complete to call queue_work
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: f_midi: f_midi_complete to call queue_work When using USB MIDI, a lock is attempted to be acquired twice through a re-entrant call to f_midi_transmit, causing a deadlock. Fix it by using queue_work() to schedule the inner f_midi_transmit() via a high priority work queue from the completion handler.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d5daf49b58661ec4af7a55b277176efbf945ca05 before 727dee0857946b85232526de4f5a957fe163e89a, from d5daf49b58661ec4af7a55b277176efbf945ca05 before 1f10923404705a94891e612dff3b75e828a78368, from d5daf49b58661ec4af7a55b277176efbf945ca05 before b09957657d7767d164b3432af2129bd72947553c, from d5daf49b58661ec4af7a55b277176efbf945ca05 before 24a942610ee9bafb2692a456ae850c5b2e409b05, from d5daf49b58661ec4af7a55b277176efbf945ca05 before deeee3adb2c01eedab32c3b4519337689ad02e8a, from d5daf49b58661ec4af7a55b277176efbf945ca05 before e9fec6f42c45db2f62dc373fb1a10d2488c04e79, from d5daf49b58661ec4af7a55b277176efbf945ca05 before 8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba, from d5daf49b58661ec4af7a55b277176efbf945ca05 before 4ab37fcb42832cdd3e9d5e50653285ca84d6686f and 1 more Not affected: before 3.2, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.130 up to 6.1.*, from 6.6.80 up to 6.6.* | CVE List |
| linux linux_kernel | from 3.2 before 6.1.130, from 6.2 before 6.6.80, from 6.7 before 6.12.17, from 6.13 before 6.13.5, 6.14 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: f_midi: f_midi_complete to call queue_work When using USB MIDI, a lock is attempted to be acquired twice through a re-entrant call to f_midi_transmit, causing a deadlock. Fix it by using queue_work() to schedule the inner f_midi_transmit() via a high priority work queue from the completion handler.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: USB: gadget: f_midi: f_midi_complete para llamar a queue_work. Al usar USB MIDI, se intenta adquirir un bloqueo dos veces mediante una llamada reentrante a f_midi_transmit, lo que provoca un bloqueo. Se soluciona usando queue_work() para programar la función f_midi_transmit() interna mediante una cola de trabajo de alta prioridad desde el controlador de finalización.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21859 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-21859 changed 2026-10-15 | Public domain |