CVE-2020-10781: Medium severity Linux Linux kernel vulnerability

Published Sep 16, 2020
·
Updated

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/hotadd 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.

Affected Software

69 affected componentsFixes available
Linux Linux kernel<5.8.0
Linux Linux kernel=5.8.0
Linux Linux kernel=5.8.0-rc1
Linux Linux kernel=5.8.0-rc2
Linux Linux kernel=5.8.0-rc3
Linux Linux kernel=5.8.0-rc4
Linux Linux kernel=5.8.0-rc5
Debian Debian Linux=9.0
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
ubuntu/linux-azure<4.15.0-1093.103~14.04.1
4.15.0-1093.103~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1080.84~16.04.1
4.15.0-1080.84~16.04.1
ubuntu/linux-azure<4.15.0-1093.103~16.04.1
4.15.0-1093.103~16.04.1
ubuntu/linux-gcp<4.15.0-1081.92~16.04.1
4.15.0-1081.92~16.04.1
ubuntu/linux-hwe<4.15.0-115.116~16.04.1
4.15.0-115.116~16.04.1
ubuntu/linux-oracle<4.15.0-1051.55~16.04.1
4.15.0-1051.55~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-115.116
4.15.0-115.116
ubuntu/linux-aws<4.15.0-1080.84
4.15.0-1080.84
ubuntu/linux-aws-5.4<5.4.0-1022.22~18.04.1
5.4.0-1022.22~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1093.103
4.15.0-1093.103
ubuntu/linux-azure-5.4<5.4.0-1023.23~18.04.1
5.4.0-1023.23~18.04.1
ubuntu/linux-gcp-4.15<4.15.0-1081.92
4.15.0-1081.92
ubuntu/linux-gcp-5.4<5.4.0-1022.22~18.04.1
5.4.0-1022.22~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1067.70
4.15.0-1067.70
ubuntu/linux-hwe-5.4<5.4.0-45.49~18.04.2
5.4.0-45.49~18.04.2
ubuntu/linux-kvm<4.15.0-1072.73
4.15.0-1072.73
ubuntu/linux-oem<4.15.0-1094.104
4.15.0-1094.104
ubuntu/linux-oracle<4.15.0-1051.55
4.15.0-1051.55
ubuntu/linux-oracle-5.4<5.4.0-1022.22~18.04.1
5.4.0-1022.22~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1016.17~18.04.1
5.4.0-1016.17~18.04.1
ubuntu/linux-raspi2<4.15.0-1068.72
4.15.0-1068.72
ubuntu/linux-snapdragon<4.15.0-1084.92
4.15.0-1084.92
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2025.25
4.15.0-2025.25
ubuntu/linux-azure-fips<4.15.0-2007.8
4.15.0-2007.8
ubuntu/linux-fips<4.15.0-1039.44
4.15.0-1039.44
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-45.49
5.4.0-45.49
ubuntu/linux-aws<5.4.0-1022.22
5.4.0-1022.22
ubuntu/linux-azure<5.4.0-1023.23
5.4.0-1023.23
ubuntu/linux-gcp<5.4.0-1022.22
5.4.0-1022.22
ubuntu/linux-kvm<5.4.0-1021.21
5.4.0-1021.21
ubuntu/linux-oem-5.6<5.6.0-1053.57
5.6.0-1053.57
ubuntu/linux-oracle<5.4.0-1022.22
5.4.0-1022.22
ubuntu/linux-raspi<5.4.0-1016.17
5.4.0-1016.17
ubuntu/linux-riscv<5.4.0-31.35
5.4.0-31.35
ubuntu/linux-raspi2*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1093.103~14.04.1
  3. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1080.84~16.04.1
  4. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1093.103~16.04.1
  5. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1081.92~16.04.1
  6. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-115.116~16.04.1
  7. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1051.55~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-115.116
  9. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1080.84
  10. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22~18.04.1
  11. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1093.103
  12. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.23~18.04.1
  13. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1081.92
  14. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22~18.04.1
  15. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1067.70
  16. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-45.49~18.04.2
  17. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1072.73
  18. Upgrade

    Upgrade ubuntu/linux-oem to a version that resolves this vulnerability.

    Fixed in 4.15.0-1094.104
  19. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1051.55
  20. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1016.17~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1068.72
  23. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1084.92
  24. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2025.25
  25. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2007.8
  26. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1039.44
  27. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-45.49
  28. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22
  29. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.23
  30. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22
  31. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1021.21
  32. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1053.57
  33. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1022.22
  34. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1016.17
  35. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.4.0-31.35
  36. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  37. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  38. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1

Event History

Jun 18, 2020
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Sep 16, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2020-10781?

CVE-2020-10781 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2020-10781?

To fix CVE-2020-10781, upgrade to a patched version of the Linux Kernel such as 5.10.223-1 or later.

3

What is the attack vector for CVE-2020-10781?

The attack vector for CVE-2020-10781 requires a local user account with read access to the /sys/class/zram-control/hot_add file.

4

What versions of the Linux Kernel are affected by CVE-2020-10781?

CVE-2020-10781 affects Linux Kernel versions prior to 5.8-rc6.

5

Who is impacted by CVE-2020-10781?

Users with local accounts on systems running vulnerable versions of the Linux Kernel are impacted by CVE-2020-10781.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203