CVE-2025-21859
USB: gadget: f_midi: f_midi_complete to call queue_work
Reported by linux · Published March 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14, 6.13.5, 6.12.17, 6.6.80, 6.1.130, 5.15.179, 5.10.235, 5.4.291 |
| Linux | Linux | e9fec6f42c45db2f62dc373fb1a10d2488c04e79, deeee3adb2c01eedab32c3b4519337689ad02e8a, b09957657d7767d164b3432af2129bd72947553c, 727dee0857946b85232526de4f5a957fe163e89a, 4ab37fcb42832cdd3e9d5e50653285ca84d6686f, 24a942610ee9bafb2692a456ae850c5b2e409b05, 1f10923404705a94891e612dff3b75e828a78368 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d5daf49b58661ec4af7a55b277176efbf945ca05, d5daf49b58661ec4af7a55b277176efbf945ca05, d5daf49b58661ec4af7a55b277176efbf945ca05 |
| Linux | Linux | 3.2, 0, 5.4.291 |
| linux | linux_kernel | 3.2, 3.2, 3.2 |
| Linux | Linux | 6.12.17, 6.13.5, 6.6.80 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
Timeline
- Mar 11, 2025 CVE Published
- Mar 13, 2025 EPSS Score (30 in total, the first dated here)
- Mar 13, 2025 Coalition ESS Score (18 in total, the first dated here)
- Dec 22, 2025 Security Advisory (173 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (172 in total, the first dated here)
- Oct 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21859
vulnetix vdb fixes CVE-2025-21859
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21859/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart