CVE-2025-21859

published 12 Mar 2025 · updated 15 Oct 2026

USB: gadget: f_midi: f_midi_complete to call queue_work

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1f10923404705a94891e612dff3b75e828a78368, Kernel 24a942610ee9bafb2692a456ae850c5b2e409b05, Kernel 4ab37fcb42832cdd3e9d5e50653285ca84d6686f and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.2, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <1f10923404705a94891e612dff3b75e828a78368, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <24a942610ee9bafb2692a456ae850c5b2e409b05, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <4ab37fcb42832cdd3e9d5e50653285ca84d6686f, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <727dee0857946b85232526de4f5a957fe163e89a, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <b09957657d7767d164b3432af2129bd72947553c, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <deeee3adb2c01eedab32c3b4519337689ad02e8a, >=d5daf49b58661ec4af7a55b277176efbf945ca05 <e9fec6f42c45db2f62dc373fb1a10d2488c04e791f10923404705a94891e612dff3b75e828a78368, 24a942610ee9bafb2692a456ae850c5b2e409b05, 4ab37fcb42832cdd3e9d5e50653285ca84d6686f, 727dee0857946b85232526de4f5a957fe163e89a, 8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba, b09957657d7767d164b3432af2129bd72947553c, deeee3adb2c01eedab32c3b4519337689ad02e8a, e9fec6f42c45db2f62dc373fb1a10d2488c04e79

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21859 severity on Zeptric[![CVE-2025-21859](https://zeptric.io/badge/cve/CVE-2025-21859.svg)](https://zeptric.io/cve/CVE-2025-21859)