CVE-2026-64584: Linux kernel · usb: gadget: f_midi: cancel pending IN work before freeing the midi object
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.15.0-1117.124~20.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1117.124~20.04.1, 5.15.0-1123.132~20.04.1, 5.15.0-1122.131~20.04.1 +42
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and should be applied by updating the Linux kernel to the patched versions provided by the vendor. The patch cancels pending work synchronously before freeing the midi object, eliminating the use-after-free condition. Users should apply the official kernel updates from their distribution and reboot to ensure the fix is in effect. No additional mitigation steps are required beyond applying the official patch.
Description
A use-after-free vulnerability in the Linux kernel's usb gadget f_midi driver was resolved by ensuring pending work is cancelled before freeing the midi object. The flaw allowed a race condition where a work item could be re-armed after disablement but before the midi object was freed, leading to dereferencing freed memory. This issue affects multiple Linux kernel versions and was fixed by cancelling the work synchronously at the point where the midi object's reference count drops to zero.
References
- nvd.nist.gov/vuln/detail/CVE-2026-64584 (opens in a new tab)
- git.kernel.org/stable/c/380b4bef46c2eb260c7a9c6bb2c5be33ce5a38f9 (opens in a new tab)
- git.kernel.org/stable/c/5650c18d93a1db7e27cb5a40b394747eb4686d5b (opens in a new tab)
- git.kernel.org/stable/c/87bc316dd6fc90072297c635e10b9aa6075ecda1 (opens in a new tab)
- git.kernel.org/stable/c/ac9a51d910bb7465c554c45320cb6c09f3d0b49d (opens in a new tab)
- git.kernel.org/stable/c/f45089eaad0a083d71d84ff175741d7e157d9b69 (opens in a new tab)
- msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64584.json (opens in a new tab)
- support.microsoft.com/lifecycle (opens in a new tab)
- first.org/cvss (opens in a new tab)
- ubuntu.com/security/CVE-2026-64584 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-64584 (opens in a new tab)
- git.kernel.org/linus/5650c18d93a1db7e27cb5a40b394747eb4686d5b (opens in a new tab)
- ubuntu.com/security/notices/USN-8876-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8878-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8879-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8877-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8875-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8888-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8889-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8887-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8886-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8888-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8887-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8875-2 (opens in a new tab)