Vulnerabilities · 2025 · Linux
CVE-2025-21859
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 · Patch
- git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05 · Patch
- git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f · Patch
- git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a · Patch
- git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba · Patch
- git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c · Patch
- git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a · Patch
- git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-21859
- cve.org/CVERecord?id=CVE-2025-21859
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.