MEDIUM · CVSS 5.5 Published: 2025-03-12
CVE-2025-21859 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-21859 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-667 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368
- https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05
- https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f
Related Security Advisories
CVE-2025-21858 HIGH 7.8
CVE-2025-21860 LOW 3.3
CVE-2025-21857 MEDIUM 5.5
CVE-2025-21861 MEDIUM 5.5
CVE-2025-21862 MEDIUM 5.5
CVE-2025-21865 MEDIUM 5.5
CVE-2025-21866 MEDIUM 5.5
CVE-2025-21871 MEDIUM 5.5