CVE-2025-21859

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

13 Mar 2025, 21:15

Type Values Removed Values Added
CWE CWE-667
References () https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 - () https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 - Patch
References () https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05 - () https://git.kernel.org/stable/c/24a942610ee9bafb2692a456ae850c5b2e409b05 - Patch
References () https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f - () https://git.kernel.org/stable/c/4ab37fcb42832cdd3e9d5e50653285ca84d6686f - Patch
References () https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a - () https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a - Patch
References () https://git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba - () https://git.kernel.org/stable/c/8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba - Patch
References () https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c - () https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c - Patch
References () https://git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a - () https://git.kernel.org/stable/c/deeee3adb2c01eedab32c3b4519337689ad02e8a - Patch
References () https://git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79 - () https://git.kernel.org/stable/c/e9fec6f42c45db2f62dc373fb1a10d2488c04e79 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

13 Mar 2025, 13:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: USB: gadget: f_midi: f_midi_complete para llamar a queue_work. Al usar USB MIDI, se intenta adquirir un bloqueo dos veces mediante una llamada reentrante a f_midi_transmit, lo que provoca un bloqueo. Se soluciona usando queue_work() para programar la función f_midi_transmit() interna mediante una cola de trabajo de alta prioridad desde el controlador de finalización.
References
  • () https://git.kernel.org/stable/c/1f10923404705a94891e612dff3b75e828a78368 -
  • () https://git.kernel.org/stable/c/727dee0857946b85232526de4f5a957fe163e89a -
  • () https://git.kernel.org/stable/c/b09957657d7767d164b3432af2129bd72947553c -

12 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-12 10:15

Updated : 2025-03-13 21:15


NVD link : CVE-2025-21859

Mitre link : CVE-2025-21859

CVE.ORG link : CVE-2025-21859


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking