CVE-2025-21859
"Linux USB Gadget MIDI Deadlock"
Description
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.
INFO
Published Date :
March 12, 2025, 10:15 a.m.
Last Modified :
March 13, 2025, 9:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21859
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21859
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21859
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 13, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-667 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 from (excluding) 6.13.5 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.80 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.17 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.2 from (excluding) 6.1.130 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 Added Reference https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a Added Reference https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 12, 2025
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05 Added Reference https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f Added Reference https://git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba Added Reference https://git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a Added Reference https://git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21859
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21859
weaknesses.