CVE-2025-21859: linux Improper Locking
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 8.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 53 · Related 49Timeline
- 12-03-2025PublishedVulnerability first disclosed.
- 15-10-2026Last 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- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
+0.02 pp
From 0.17% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu137 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 · 140 products