CVE-2025-21859

MEDIUM

Linux Kernel - Denial of Service via USB MIDI Deadlock in f_midi_transmit

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 5.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (27)
linux/Kernel 3.2.0 - 5.4.291linux
linux/Kernel 5.11.0 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.130linux
linux/Kernel 5.5.0 - 5.10.235linux
linux/Kernel 6.13.0 - 6.13.5linux
linux/Kernel 6.2.0 - 6.6.80linux
linux/Kernel 6.7.0 - 6.12.17linux
Linux/Linux < 3.2
Linux/Linux 3.2
Linux/Linux 5.10.235 - 5.10.*
... and 17 more
Published Mar 12, 2025
Tracked Since Feb 18, 2026