CVE-2025-21859
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < 727dee0857946b85232526de4f5a957fe163e89a | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < 1f10923404705a94891e612dff3b75e828a78368 | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < b09957657d7767d164b3432af2129bd72947553c | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < 24a942610ee9bafb2692a456ae850c5b2e409b05 | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < deeee3adb2c01eedab32c3b4519337689ad02e8a | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < e9fec6f42c45db2f62dc373fb1a10d2488c04e79 | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < 8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba | affected |
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05 < 4ab37fcb42832cdd3e9d5e50653285ca84d6686f | affected |
| Linux | Linux | 3.2 | affected |
| Linux | Linux | 0 < 3.2 | unaffected |
| Linux | Linux | 5.4.291 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.235 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.179 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.130 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.80 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.17 <= 6.12.* | unaffected |
| Linux | Linux | 6.13.5 <= 6.13.* | unaffected |
| Linux | Linux | 6.14 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Additional References
References
- https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a
- https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368
- https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c
- https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05
- https://git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a
- https://git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79
- https://git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba
- https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.