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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=853eab68afc80f59f36bbdeb715e5c88c501e680 Patch, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2020/06/18/1 Mailing List, Patch, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=853eab68afc80f59f36bbdeb715e5c88c501e680 Patch, Vendor Advisory
- https://www.openwall.com/lists/oss-security/2020/06/18/1 Mailing List, Patch, Third Party Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 5.5 · linux, debianNVD modified 2026-10-08 21:17
Affected (CPE criteria) 8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.8.0:rc5:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
References 8
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10781 Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=853eab68afc80f59f36bbdeb715e5c88c501e680 Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html Mailing List, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2020/06/18/1 Mailing List, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10781 Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=853eab68afc80f59f36bbdeb715e5c88c501e680 Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html Mailing List, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2020/06/18/1 Mailing List, Patch, Third Party Advisory