PT-2026-68417 · Linux · Linux Kernel
CVE-2026-64584
·
Published
2026-08-06
·
Updated
2026-08-09
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free issue exists in the
f midi driver. The driver uses a work item midi->work handled by the f midi in work() function, which dereferences the f midi structure. This work is triggered by f midi complete() during IN-endpoint completion or f midi in trigger() during an ALSA rawmidi output-stream start. Because f midi disable() and f midi unbind() do not cancel this work, a concurrent userspace write can re-queue midi->work after f midi disable() has returned. If the work remains pending when the reference count drops to zero and f midi free() calls kfree(midi), the f midi in work() handler may dereference the structure after it has been freed.Recommendations
As a temporary mitigation, restrict the use of the
f midi driver.
Update the Linux kernel to a version where cancel work sync(&midi->work) is called within the refcount-zero block of the f midi free() function.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux Kernel