CVEvulnerability

CVE-2025-21859

5.5 MEDIUM Published 2025-03-12 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2025-03-12
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

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.

Affected configurations

• linux linux kernel (>= 3.2 < 6.1.130) • linux linux kernel (>= 6.2 < 6.6.80) • linux linux kernel (>= 6.7 < 6.12.17) • linux linux kernel (>= 6.13 < 6.13.5) • linux linux kernel 6.14

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References