5.5

CVE-2025-21859: USB: gadget: f_midi: f_midi_complete to call queue_work

Modified
AliasesUBUNTU-CVE-2025-21859DEBIAN-CVE-2025-21859
Published 12-03-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-21859 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 53 · Related 49

Timeline

  1. 12-03-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.19% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu138 products
  • linuxAll versions (No fix recorded) | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-78.78
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1035.37
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < 727dee0857946b85232526de4f5a957fe163e89a | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < 1f10923404705a94891e612dff3b75e828a78368 | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < b09957657d7767d164b3432af2129bd72947553c | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < 24a942610ee9bafb2692a456ae850c5b2e409b05 | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < deeee3adb2c01eedab32c3b4519337689ad02e8a | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < e9fec6f42c45db2f62dc373fb1a10d2488c04e79 | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < 8aa6b4be1f4efccbfc533e6ec8841d26e4fa8dba | ≥ d5daf49b58661ec4af7a55b277176efbf945ca05, < 4ab37fcb42832cdd3e9d5e50653285ca84d6686f | 3.2
  • linux_kernel≥ 3.2, < 6.1.130 | ≥ 6.2, < 6.6.80 | ≥ 6.7, < 6.12.17 | ≥ 6.13, < 6.13.5 | 6.14:rc1 | 6.14:rc2 | 6.14:rc3
Debian1 product
  • linux< 6.1.133-1 | < 6.12.17-1

3 vendors · 141 products

References

56 links
Show all 56 references