PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-64584 Linux CVE debrief

A use-after-free vulnerability was found in the Linux kernel's f_midi driver. The vulnerability occurs when the f_midi driver fails to cancel a pending work item before freeing the midi object, allowing the work item to dereference the freed object. This issue can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition. The f_midi driver embeds a work item whose handler dereferences the enclosing struct f_midi through container_of(). The work is armed from two sites: f_midi_complete() and f_midi_in_trigger(). To verify, defenders should review the Linux kernel source code, specifically the f_midi driver implementation, and assess the patch provided to cancel the pending work item before freeing the midi object. The vulnerability was found by an in-house static analysis tool.

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-06
Original CVE updated
2026-08-19
Advisory published
2026-08-06
Advisory updated
2026-08-19

Who should care

Linux kernel developers, Linux distribution maintainers, and users of Linux-based systems should review and apply the patch to prevent potential exploitation of this vulnerability. Additionally, security teams and vulnerability management teams should assess the impact of this vulnerability on their systems and prioritize patching accordingly. Affected operators should review the Linux kernel source code, specifically the f_midi driver implementation, and assess the patch provided to cancel the pending work item before freeing the midi object.

Technical summary

The f_midi driver in the Linux kernel fails to cancel a pending work item before freeing the midi object, leading to a use-after-free vulnerability. An attacker may potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability occurs when the f_midi driver fails to synchronize the work item, and the sound card is released asynchronously to the final free of the midi object. The f_midi driver embeds a work item whose handler dereferences the enclosing struct f_midi through container_of(). The work is armed from two sites: f_midi_complete() and f_midi_in_trigger(). To verify, defenders should review the Linux kernel source code, specifically the f_midi driver implementation, and assess the patch provided to cancel the pending work item before freeing the midi object.

Defensive priority

High

Recommended defensive actions

  • Apply the patch to cancel the pending work item before freeing the midi object
  • Review and update the f_midi driver's synchronization mechanisms
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability was found by an in-house static analysis tool. The f_midi driver embeds a work item whose handler dereferences the enclosing struct f_midi through container_of(). The work is armed from two sites: f_midi_complete() and f_midi_in_trigger(). To verify, defenders should review the Linux kernel source code, specifically the f_midi driver implementation, and assess the patch provided to cancel the pending work item before freeing the midi object.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-64584 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-64584

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-64584 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-64584

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

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

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.