CVE-2025-21859CWE-667

CVE-2025-21859

Medium · published March 12, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Weakness
CWE-667 · Improper Locking
Published
2025-03-12T14:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 3.2, < 6.1.1306.1.130
linux/linux_kernel≥ 6.2, < 6.6.806.6.80
linux/linux_kernel≥ 6.7, < 6.12.176.12.17
linux/linux_kernel≥ 6.13, < 6.13.56.13.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (12)
EPSS history
Timeline
  • 12 MAR 09:42Z
    USB: gadget: f_midi: f_midi_complete to call queue_work
    cvelistv5