Use After Free in Linux Kernel
CVE-2020-27786
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- NetApp Cloud Backup
- NetApp Solidfire Baseboard Management Controller
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Enterprise Mrg — versions 2.0
- Red Hat Openshift Container Platform — versions 4.4, 4.5, 4.6
- Kernel — versions kernel 5.7-rc6
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- kiks7/CVE-2020-27786-Kernel-Exploit (9 stars, last pushed 2022-12-03): 4.9 Kernel Exploit for CVE-2020-27786
- ii4gsp/CVE-2020-27786 (5 stars, last pushed 2024-04-17)
- Trinadh465/linux-4.19.72_CVE-2020-27786 (last pushed 2023-06-08)
- elbiazo/CVE-2020-27786 (last pushed 2023-04-27)
- enlist12/CVE-2020-27786
Also mentioned in 24 other repositories (0xor0ne/awesome-list, ARPSyndicate/cvemon, bachkhoasoft/awesome-list-ks, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Vendor Advisory)
- [oss-security] 20201203 Re: Linux Kernel: ALSA: use-after-free Write in snd_rawmidi_kernel_write1 (mailing-list, Mailing List)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20210122-0002/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.