cve.bz

CVE-2020-10781

5.5 mediumEPSS 0.3%Fix available

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-10781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-10781?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-10781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-10781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.8.0
linux:linux_kernel5.8.0
linux:linux_kernel5.8.0:rc1
linux:linux_kernel5.8.0:rc2
linux:linux_kernel5.8.0:rc3
linux:linux_kernel5.8.0:rc4
linux:linux_kernel5.8.0:rc5
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.146-1~deb9u1DLA-2385-1
Debian12, 13, 14linux5.7.10-1DEBIAN-CVE-2020-10781
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1080.84~16.04.1UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu16.04:LTSlinux-azure4.15.0-1093.103~16.04.1UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1081.92~16.04.1UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu16.04:LTSlinux-hwe4.15.0-115.116~16.04.1UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-10781
Ubuntu16.04:LTSlinux-oracle4.15.0-1051.55~16.04.1UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu18.04:LTSlinux4.15.0-115.116UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu18.04:LTSlinux-aws4.15.0-1080.84UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu18.04:LTSlinux-aws-5.4, linux-gcp-5.4, linux-oracle-5.45.4.0-1022.22~18.04.1UBUNTU-CVE-2020-10781 USN-4483-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1093.103UBUNTU-CVE-2020-10781 USN-4485-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1023.23~18.04.1UBUNTU-CVE-2020-10781 USN-4483-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-azure and 9 moreno fix listedUBUNTU-CVE-2020-10781
27 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.29.1SUSE-SU-2020:2122-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.66.1SUSE-SU-2021:0438-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.48.1SUSE-SU-2020:2107-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.9.1SUSE-SU-2020:2105-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.66.1SUSE-SU-2021:0438-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_71-8.3.1SUSE-SU-2020:2122-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_221-1.3.1SUSE-SU-2021:0438-1
SUSELinux Enterprise Live Patching 15 SP1kernel-livepatch-SLE15-SP1_Update_131-3.3.1SUSE-SU-2020:2107-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_11-5.3.6SUSE-SU-2020:2105-1
SUSELinux Enterprise Module for Basesystem 15 SP1kernel-source, kernel-default, kernel-zfcpdump4.12.14-197.48.1SUSE-SU-2020:2107-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-default-base5.3.18-24.9.1.9.2.6SUSE-SU-2020:2105-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-source, kernel-default, kernel-preempt5.3.18-24.9.1SUSE-SU-2020:2105-1
11 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-docs, kernel-syms, kernel-debug and 6 more4.12.14-lp151.28.59.1openSUSE-SU-2020:1153-1
openSUSELeap 15.2bbswitch0.8-lp152.6.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2crash7.2.8-lp152.3.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2dpdk19.11.1-lp152.2.5.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2drbd9.0.22~1+git.fe2b5983-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2hdjmod1.28-lp152.6.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.36.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1
openSUSELeap 15.2mhvtl1.62-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2openafs1.8.5-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2pcfclock0.44-lp152.4.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2rtl8812au5.6.4.2+git20200318.49e98ff-lp152.2.2.1openSUSE-SU-2020:1236-1
5 more for openSUSE in the JSON and on openSUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw is rated as having Low impact, because it is a denial of service only and requires the ZRAM kernel module to be loaded, which it is not the default, and oading kernel modules is a privileged operation.

Red Hat's mitigation

Changing permissions on the files within /sys will prevent regular users from being able to trigger this issue, however permissions changed within /sys do not persist between reboots and will need to be reapplied after each boot.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altFix deferred
Red Hat Enterprise Linux 7kernelFix deferred
Red Hat Enterprise Linux 7kernel-rtFix deferred
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise MRG 2kernel-rtOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-10781.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON