Vulnerability · Published Dec 11, 2020 · Assigned by redhat
CVE-2020-27786
High 7.8
In plain English
A high-severity use-after-free in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-305.el8 | ALSA-2021:1578 |
| Debian:12 | linux | 5.6.14-1 | DEBIAN-CVE-2020-27786 |
| Debian:13 | linux | 5.6.14-1 | DEBIAN-CVE-2020-27786 |
| Debian:14 | linux | 5.6.14-1 | DEBIAN-CVE-2020-27786 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2020-27786 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2020-27786 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2020-27786 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2020-27786 |
Affected products (as reported)
Weakness: CWE-416
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181d x_refsource_MISC
- [oss-security] 20201203 Re: Linux Kernel: ALSA: use-after-free Write in snd_rawmidi_kernel_write1 mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=1900933 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210122-0002/ x_refsource_CONFIRM