Linux kernel USB MIDI gadget deadlock via re-entrant call
CVE-2025-21859Medium
The Linux kernel's USB MIDI gadget driver attempts to acquire the same lock twice when f_midi_transmit is called re-entrantly from a completion handler, causing a deadlock. An attacker with the ability to trigger USB MIDI operations could cause the system to hang. The fix involves using queue_work() to schedule the inner f_midi_transmit() call through a high priority work queue instead of calling it directly.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 3.2, before 6.1.130
- linux linux kernel: from 6.2, before 6.6.80
- linux linux kernel: from 6.7, before 6.12.17
- linux linux kernel: from 6.13, before 6.13.5
- linux linux kernel: 6.14
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)