CVE-2020-10781
Vulnerability Summary
Timeline
Description
A flaw was found in the Linux Kernel before 5.8-rc6 in the ZRAM kernel module, where a user with a local account and the ability to read the /sys/class/zram-control/hot_add file can create ZRAM device nodes in the /dev/ directory. This read allocates kernel memory and is not accounted for a user that triggers the creation of that ZRAM device. With this vulnerability, continually reading the device may consume a large amount of system memory and cause the Out-of-Memory (OOM) killer to activate and terminate random userspace processes, possibly making the system inoperable.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.9AV:L/AC:L/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.31%• Percentile: 24%
Techniques & Countermeasures
- CWE-732•Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Affected Systems
- debian•linux
< 5.7.10-1 | < 5.7.10-1 | < 5.7.10-1 | < 5.7.10-1
- ubuntu•linux
< 4.15.0-115.116 | < 5.4.0-45.49
- ubuntu•linux-aws
< 4.15.0-1080.84 | < 5.4.0-1022.22
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2025.25 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1080.84~16.04.1
- ubuntu•linux-azure
< 4.15.0-1093.103~14.04.1 | < 4.15.0-1093.103~16.04.1 | all | < 5.4.0-1023.23
- ubuntu•linux-azure-4.15
< 4.15.0-1093.103
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1023.23~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2007.8 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.15.0-1039.44
- ubuntu•linux-gcp
< 4.15.0-1081.92~16.04.1 | all | < 5.4.0-1022.22
- ubuntu•linux-gcp-4.15
< 4.15.0-1081.92
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke-4.15
< 4.15.0-1067.70
- ubuntu•linux-hwe
< 4.15.0-115.116~16.04.1 | all
- ubuntu•linux-hwe-5.4
< 5.4.0-45.49~18.04.2
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.15.0-1072.73 | < 5.4.0-1021.21
- ubuntu•linux-oem
< 4.15.0-1094.104
- ubuntu•linux-oem-5.6
< 5.6.0-1053.57
- ubuntu•linux-oracle
< 4.15.0-1051.55~16.04.1 | < 4.15.0-1051.55 | < 5.4.0-1022.22
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1016.17
- ubuntu•linux-raspi-5.4
< 5.4.0-1016.17~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.15.0-1068.72 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-31.35
- ubuntu•linux-snapdragon
< 4.15.0-1084.92
- debian•debian_linux
9.0
- linux kernel•kernel
< 5.8-rc6
- linux•linux_kernel
< 5.8.0 | 5.8.0 | 5.8.0:rc1 | 5.8.0:rc2 | 5.8.0:rc3 | 5.8.0:rc4 | 5.8.0:rc5
References (10)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=853eab68afc80f59f36bbdeb715e5c88c501e680
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10781
- https://www.openwall.com/lists/oss-security/2020/06/18/1
- https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html
- https://ubuntu.com/security/CVE-2020-10781
- https://lore.kernel.org/linux-block/20200617103412.GA2027053@kroah.com/
- https://ubuntu.com/security/notices/USN-4483-1
- https://ubuntu.com/security/notices/USN-4485-1
- https://www.cve.org/CVERecord?id=CVE-2020-10781
- https://security-tracker.debian.org/tracker/CVE-2020-10781