VDB

CVE-2025-21859

CVE-2025-21859 PUBLISHED CVSS 5.5 MEDIUM

USB: gadget: f_midi: f_midi_complete to call queue_work

Reported by linux · Published March 12, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.14, 6.13.5, 6.12.17, 6.6.80, 6.1.130, 5.15.179, 5.10.235, 5.4.291
LinuxLinuxe9fec6f42c45db2f62dc373fb1a10d2488c04e79, deeee3adb2c01eedab32c3b4519337689ad02e8a, b09957657d7767d164b3432af2129bd72947553c, 727dee0857946b85232526de4f5a957fe163e89a, 4ab37fcb42832cdd3e9d5e50653285ca84d6686f, 24a942610ee9bafb2692a456ae850c5b2e409b05, 1f10923404705a94891e612dff3b75e828a78368

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd5daf49b58661ec4af7a55b277176efbf945ca05, d5daf49b58661ec4af7a55b277176efbf945ca05, d5daf49b58661ec4af7a55b277176efbf945ca05
LinuxLinux3.2, 0, 5.4.291
linuxlinux_kernel3.2, 3.2, 3.2
LinuxLinux6.12.17, 6.13.5, 6.6.80
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0

Timeline

  • Mar 11, 2025 CVE Published
  • Mar 13, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 13, 2025 Coalition ESS Score (18 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (173 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (172 in total, the first dated here)
  • Oct 11, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21859
vulnetix vdb fixes CVE-2025-21859

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21859/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›