CVE-2020-27786: Use After Free
A flaw was found in the Linux kernel’s implementation of MIDI, where an attacker with a local account and the permissions to issue ioctl commands to midi devices could trigger a use-after-free issue. A write to this specific memory while freed and before use causes the flow of execution to change and possibly allow for memory corruption or privilege escalation. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Other sources
A flaw was found in the Linux kernels implementation of MIDI, where an attacker with a local account and the permissions to issue an ioctl commands to midi devices, could trigger a use-after-free. A write to this specific memory while freed and before use could cause the flow of execution to change and possibly allow for memory corruption or privilege escalation.
This would only affect systems that have attached local MIDI hardware with the midi kernel modules loaded.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the vulnerability ID for this flaw in the Linux kernel’s implementation of MIDI?
The vulnerability ID for this flaw is CVE-2020-27786.
What is the severity of CVE-2020-27786?
The severity of CVE-2020-27786 is high with a CVSS score of 7.8.
How can an attacker exploit CVE-2020-27786?
An attacker with a local account and permissions to issue ioctl commands to MIDI devices can exploit CVE-2020-27786 by triggering a use-after-free issue.
Which versions of the Linux kernel are affected by CVE-2020-27786?
The Linux kernel versions affected by CVE-2020-27786 are 4.4.224 up to exclusive 5.7.
How can I fix CVE-2020-27786 in the Linux kernel?
To fix CVE-2020-27786 in the Linux kernel, update to version 5.7 or apply the appropriate patch provided by your Linux distribution.