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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.67% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 76.6% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-12-11 04:05Z5 YR AGO
- Last updated
- 2024-08-04 16:25Z2 YR AGO
- Reserved
- 2020-10-27
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.1
- Document digest
- 64a998554affa72163b263352fcffad54b8d4734403ee2a875cc76b99afc7ab4
05 Affected products
06 References
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1f6e3c818dd734c30f6a7eeebf232ba2cf3181d
- www.openwall.com[oss-security] 20201203 Re: Linux Kernel: ALSA: use-after-free Write in snd_rawmidi_kernel_write1http://www.openwall.com/lists/oss-security/2020/12/03/1
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1900933
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210122-0002/
07 Fixed in
AlmaLinux 8
- kernel-tools-libs-devel Fixed in 4.18.0-305.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- kernel-tools-libs-devel Fixed in 4.18.0-305.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.6.14-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.6.14-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.6.14-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux Fixed in 4.4.0-185.215
- linux-aws Fixed in 4.4.0-1110.121
- linux-aws-hwe Fixed in 4.15.0-1074.78~16.04.1
- linux-azure Fixed in 4.15.0-1091.101~16.04.1
- linux-gcp Fixed in 4.15.0-1078.88~16.04.1
- linux-hwe Fixed in 4.15.0-107.108~16.04.1
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.4.0-1076.83
- linux-oracle Fixed in 4.15.0-1046.50~16.04.1
- linux-raspi2 Fixed in 4.4.0-1135.144
- linux-snapdragon Fixed in 4.4.0-1139.147
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux Fixed in 4.15.0-109.110
- linux-aws Fixed in 4.15.0-1077.81
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-4.15 Fixed in 4.15.0-1091.101
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-4.15 Fixed in 4.15.0-1078.88
- linux-gcp-5.3 No fix yet
- linux-gcp-edge No fix yet
- linux-gke-4.15 Fixed in 4.15.0-1064.67
- linux-gke-5.0 Fixed in 5.0.0-1043.44
- linux-gke-5.3 Fixed in 5.3.0-1030.32~18.04.1
- linux-hwe No fix yet
- linux-hwe-5.4 Fixed in 5.4.0-40.44~18.04.1
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.15.0-1069.70
- linux-oem No fix yet
- linux-oem-osp1 Fixed in 5.0.0-1063.68
- linux-oracle Fixed in 4.15.0-1048.52
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
- linux-raspi2 Fixed in 4.15.0-1065.69
- linux-raspi2-5.3 Fixed in 5.3.0-1028.30~18.04.2
- linux-snapdragon Fixed in 4.15.0-1081.88
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-40.44
- linux-aws Fixed in 5.4.0-1018.18
- linux-azure Fixed in 5.4.0-1020.20
- linux-azure-fde No fix yet
- linux-gcp Fixed in 5.4.0-1019.19
- linux-gke No fix yet
- linux-kvm Fixed in 5.4.0-1018.18
- linux-oem-5.6 Fixed in 5.6.0-1011.11
- linux-oracle Fixed in 5.4.0-1019.19
- linux-raspi Fixed in 5.4.0-1013.13
- linux-raspi2 No fix yet
- linux-riscv Fixed in 5.4.0-28.32
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
- linux-riscv No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux No fix yet
- linux-aws Fixed in 4.4.0-1074.78Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1091.101~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-185.215~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- linux-azure-fde-5.15 Fixed in 5.15.0-1114.123~20.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1042.47Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2022.22Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2006.7Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1035.40Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.