CVE-2026-64584

HIGHPre-NVD 7.87.8
EchelonGraph scoreHIGH confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-06. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 4 sources updated this week
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: f_midi: cancel pending IN work before freeing the midi object

The f_midi driver embeds a work item (midi->work) whose handler, f_midi_in_work(), dereferences the enclosing struct f_midi through container_of(). This work is armed from two sites: f_midi_complete(), on a normal IN-endpoint completion, and f_midi_in_trigger(), on an ALSA rawmidi output-stream start.

Neither f_midi_disable() nor f_midi_unbind() cancels midi->work. f_midi_disable() only disables the endpoints and drains the in_req_fifo; it does not synchronize the work item, and the sound card is released asynchronously to the final free of the midi object.

The midi object is reference-counted (midi->free_ref) and is freed in f_midi_free() only once both the usb_function reference and the rawmidi private_data reference have been dropped. In f_midi_unbind(), f_midi_disable() runs before the sound card is released, so while the USB endpoints are already disabled the rawmidi device is still usable by an open substream. A concurrent userspace write on such a substream can reach f_midi_in_trigger() and queue midi->work again after f_midi_disable() has returned. A work item armed this way may still be pending when the last reference drops and f_midi_free() proceeds to kfree(midi), letting f_midi_in_work() dereference the struct after it has been freed, a use-after-free.

For this reason cancelling midi->work in f_midi_disable() would not be sufficient: the ALSA trigger path can rearm the work after disable() returns. Cancelling at the refcount-zero free site is the boundary after which neither arming source can survive, because by then both references that keep the midi object alive have been dropped: the USB endpoints are already disabled and the rawmidi device has been released.

Fix this by calling cancel_work_sync(&midi->work) in the refcount-zero block of f_midi_free(), before the embedded work_struct is freed along with the rest of the structure. opts->lock is a sleeping mutex, so calling cancel_work_sync() under it is permitted, and the handler takes midi->transmit_lock rather than opts->lock, so no self-deadlock can occur while it waits for a running instance of the work to finish.

This issue was found by an in-house static analysis tool.

CVSS v3
7.8
EG Score
7.8(high)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
2%
KEV
Not listed

Published

August 6, 2026

Last Modified

August 19, 2026

Advisory Details (5)

Auto-updated Aug 8, 2026
No patch confirmed yet.
generic

usb: gadget: f_midi: cancel pending IN work before freeing the midi object - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f45089eaad0a083d71d84ff175741d7e157d9b69
generic

usb: gadget: f_midi: cancel pending IN work before freeing the midi object - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ac9a51d910bb7465c554c45320cb6c09f3d0b49d
generic

usb: gadget: f_midi: cancel pending IN work before freeing the midi object - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/87bc316dd6fc90072297c635e10b9aa6075ecda1
generic

usb: gadget: f_midi: cancel pending IN work before freeing the midi object - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/5650c18d93a1db7e27cb5a40b394747eb4686d5b
generic

usb: gadget: f_midi: cancel pending IN work before freeing the midi object - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/380b4bef46c2eb260c7a9c6bb2c5be33ce5a38f9

Vendor Advisories for CVE-2026-64584(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFixed inDependents
linux5.10.103-1 ... 7.2~rc5-1~exp1 (500 versions)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 7.2~rc5-1~exp1 (338 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 6.12.96-1 (32 versions)6.12.101-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 7.1~rc7-1~exp1 (158 versions)7.1.6-1

Data Freshness Timeline

(refreshed 44× in last 7d / 72× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-20 06:30 UTCGHSA enrichment
  2. 2026-08-19 17:26 UTCEG score recompute
  3. 2026-08-19 17:26 UTCVendor advisory
  4. 2026-08-19 17:26 UTCGHSA enrichment
  5. 2026-08-19 17:04 UTCEPSS rescore
  6. 2026-08-19 16:56 UTCEG score recompute
  7. 2026-08-19 16:56 UTCVendor advisory
  8. 2026-08-19 16:56 UTCGHSA enrichment
  9. 2026-08-19 10:45 UTCVendor advisory
  10. 2026-08-19 10:45 UTCGHSA enrichment
  11. 2026-08-18 21:41 UTCVendor advisory
  12. 2026-08-18 21:41 UTCGHSA enrichment
  13. 2026-08-18 08:38 UTCGHSA enrichment
  14. 2026-08-17 19:26 UTCEG score recompute
  15. 2026-08-17 19:26 UTCVendor advisory
  16. 2026-08-17 19:26 UTCGHSA enrichment
  17. 2026-08-17 13:47 UTCEPSS rescore
  18. 2026-08-17 05:41 UTCEG score recompute
  19. 2026-08-17 05:41 UTCVendor advisory
  20. 2026-08-17 05:41 UTCGHSA enrichment
  21. 2026-08-17 05:13 UTCEG score recompute
  22. 2026-08-17 05:13 UTCVendor advisory
  23. 2026-08-17 05:13 UTCGHSA enrichment
  24. 2026-08-16 19:10 UTCEG score recompute
  25. 2026-08-16 19:10 UTCVendor advisory
Show 47 more
  1. 2026-08-16 19:10 UTCGHSA enrichment
  2. 2026-08-16 14:56 UTCEPSS rescore
  3. 2026-08-16 06:06 UTCEG score recompute
  4. 2026-08-16 06:06 UTCVendor advisory
  5. 2026-08-16 06:06 UTCGHSA enrichment
  6. 2026-08-15 17:03 UTCVendor advisory
  7. 2026-08-15 17:03 UTCGHSA enrichment
  8. 2026-08-15 03:59 UTCEG score recompute
  9. 2026-08-15 03:59 UTCVendor advisory
  10. 2026-08-15 03:59 UTCGHSA enrichment
  11. 2026-08-15 01:30 UTCEPSS rescore
  12. 2026-08-14 14:55 UTCVendor advisory
  13. 2026-08-14 14:55 UTCGHSA enrichment
  14. 2026-08-14 01:52 UTCEG score recompute
  15. 2026-08-14 01:52 UTCVendor advisory
  16. 2026-08-14 01:52 UTCGHSA enrichment
  17. 2026-08-13 22:00 UTCEPSS rescore
  18. 2026-08-13 12:48 UTCVendor advisory
  19. 2026-08-13 12:48 UTCGHSA enrichment
  20. 2026-08-12 23:44 UTCEG score recompute
  21. 2026-08-12 23:44 UTCGHSA enrichment
  22. 2026-08-12 13:51 UTCEPSS rescore
  23. 2026-08-12 10:41 UTCVendor advisory
  24. 2026-08-12 10:41 UTCGHSA enrichment
  25. 2026-08-11 21:37 UTCEG score recompute
  26. 2026-08-11 21:37 UTCVendor advisory
  27. 2026-08-11 21:37 UTCGHSA enrichment
  28. 2026-08-11 08:34 UTCEG score recompute
  29. 2026-08-11 08:34 UTCVendor advisory
  30. 2026-08-11 08:34 UTCGHSA enrichment
  31. 2026-08-11 00:00 UTCEPSS rescore
  32. 2026-08-10 19:30 UTCGHSA enrichment
  33. 2026-08-10 06:27 UTCVendor advisory
  34. 2026-08-10 06:27 UTCGHSA enrichment
  35. 2026-08-09 17:23 UTCEG score recompute
  36. 2026-08-09 17:23 UTCGHSA enrichment
  37. 2026-08-09 13:47 UTCEPSS rescore
  38. 2026-08-09 04:20 UTCEG score recompute
  39. 2026-08-09 04:20 UTCGHSA enrichment
  40. 2026-08-08 16:37 UTCEPSS rescore
  41. 2026-08-08 15:17 UTCEG score recompute 7.80
  42. 2026-08-08 15:17 UTCGHSA enrichment
  43. 2026-08-08 15:16 UTCMITRE cvelistV5CVSS v3 → 7.8 · severity → HIGH
  44. 2026-08-06 13:47 UTCEPSS rescore
  45. 2026-08-06 08:21 UTCNVD update
  46. 2026-08-06 07:25 UTCEG score recompute
  47. 2026-08-06 07:25 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-64584?
CVE-2026-64584 is a high vulnerability published on August 6, 2026. In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_midi: cancel pending IN work before freeing the midi object The f_midi driver embeds a work item (midi->work) whose handler, fmidiinwork(), dereferences the enclosing struct fmidi through containerof(). This work is…
When was CVE-2026-64584 disclosed?
CVE-2026-64584 was first published in the National Vulnerability Database on August 6, 2026, with the most recent update on August 19, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-64584 actively exploited?
CVE-2026-64584 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 98.1% of all scored CVEs.
What is the CVSS score of CVE-2026-64584?
CVE-2026-64584 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-64584?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-64584, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-64584

Explore →

Is Your Infrastructure Affected by CVE-2026-64584?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.