CVE-2020-27786: Use After Free

Published Nov 24, 2020
·
Updated

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

15 affected componentsFixes available
redhat/kernel<5.7
5.7
Linux Linux kernel<4.4.224
Linux Linux kernel>=4.5<4.9.224
Linux Linux kernel>=4.10<4.14.181
Linux Linux kernel>=4.15<4.19.124
Linux Linux kernel>=4.20<5.4.42
Linux Linux kernel>=5.5<5.6.14
redhat OpenShift Container Platform=4.4
redhat OpenShift Container Platform=4.5
redhat OpenShift Container Platform=4.6
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise MRG=2.0
NetApp Cloud Backup
NetApp Solidfire Baseboard Management Controller

Event History

Dec 11, 2020
CVE Published
via MITRE·04:05 AM
Data Sourced
via MITRE·04:05 AM
DescriptionWeakness

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2020-27786?

The severity of CVE-2020-27786 is high with a CVSS score of 7.8.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203