CVE-2020-8647: Use After Free

Published Jan 30, 2020
·
Updated

A flaw was found in the Linux kernel’s virtual console resize functionality. An attacker with local access to virtual consoles can use the virtual console resizing code to gather kernel internal data structures.

Other sources

An out of bounds read vulnerability in the virtual console/virtual terminal resize functionality. An attacker with a local account can use the resize functionality to possibly leak kernel internal information to the local console which may be captured for use in a further attack to increase the reliability and successfulness of the next attack.

Reference: Kernel Bugzilla: https://bugzilla.kernel.org/showbug.cgi?id=206359 Proposed patch: https://lkml.org/lkml/2020/3/1/415

— Red Hat

There is a use-after-free vulnerability in the Linux kernel through 5.5.2 in the vcdoresize function in drivers/tty/vt/vt.c.

Affected Software

67 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.rt56.1131.el7
0:3.10.0-1160.rt56.1131.el7
redhat/kernel<0:3.10.0-1160.el7
0:3.10.0-1160.el7
redhat/kernel-rt<0:4.18.0-240.rt7.54.el8
0:4.18.0-240.rt7.54.el8
redhat/kernel<0:4.18.0-240.el8
0:4.18.0-240.el8
redhat/kernel-rt<0:4.18.0-193.80.1.rt13.130.el8_2
0:4.18.0-193.80.1.rt13.130.el8_2
redhat/kernel<0:4.18.0-193.80.1.el8_2
0:4.18.0-193.80.1.el8_2
Linux Linux kernel<=5.5.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0
openSUSE Leap=15.1
Google Android
ubuntu/linux-aws<4.4.0-1066.70
4.4.0-1066.70
ubuntu/linux-azure<4.15.0-1082.92~14.04.1
4.15.0-1082.92~14.04.1
ubuntu/linux-lts-xenial<4.4.0-178.208~14.04.1
4.4.0-178.208~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-178.208
4.4.0-178.208
ubuntu/linux-aws<4.4.0-1106.117
4.4.0-1106.117
ubuntu/linux-aws-hwe<4.15.0-1066.70~16.04.1
4.15.0-1066.70~16.04.1
ubuntu/linux-azure<4.15.0-1082.92~16.04.1
4.15.0-1082.92~16.04.1
ubuntu/linux-gcp<4.15.0-1061.65
4.15.0-1061.65
ubuntu/linux-hwe<4.15.0-99.100~16.04.1
4.15.0-99.100~16.04.1
ubuntu/linux-kvm<4.4.0-1070.77
4.4.0-1070.77
ubuntu/linux-oracle<4.15.0-1038.42~16.04.1
4.15.0-1038.42~16.04.1
ubuntu/linux-raspi2<4.4.0-1132.141
4.4.0-1132.141
ubuntu/linux-snapdragon<4.4.0-1136.144
4.4.0-1136.144
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1033.38
4.4.0-1033.38
ubuntu/linux-fips*
ubuntu/linux<4.15.0-99.100
4.15.0-99.100
ubuntu/linux-aws<4.15.0-1066.70
4.15.0-1066.70
ubuntu/linux-aws-5.3<5.3.0-1017.18~18.04.1
5.3.0-1017.18~18.04.1
ubuntu/linux-azure-5.3<5.3.0-1020.21~18.04.1
5.3.0-1020.21~18.04.1
ubuntu/linux-gcp-5.3<5.3.0-1018.19~18.04.1
5.3.0-1018.19~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1058.61
4.15.0-1058.61
ubuntu/linux-gke-5.0<5.0.0-1035.36
5.0.0-1035.36
ubuntu/linux-gke-5.3<5.3.0-1018.19~18.04.1
5.3.0-1018.19~18.04.1
ubuntu/linux-hwe<5.3.0-51.44~18.04.2
5.3.0-51.44~18.04.2
ubuntu/linux-kvm<4.15.0-1059.60
4.15.0-1059.60
ubuntu/linux-oem<4.15.0-1080.90
4.15.0-1080.90
ubuntu/linux-oem-osp1<5.0.0-1050.55
5.0.0-1050.55
ubuntu/linux-oracle<4.15.0-1038.42
4.15.0-1038.42
ubuntu/linux-oracle-5.3<5.3.0-1016.18~18.04.1
5.3.0-1016.18~18.04.1
ubuntu/linux-raspi2<4.15.0-1061.65
4.15.0-1061.65
ubuntu/linux-raspi2-5.3<5.3.0-1023.25~18.04.1
5.3.0-1023.25~18.04.1
ubuntu/linux-snapdragon<4.15.0-1077.84
4.15.0-1077.84
ubuntu/linux-aws-5.0*
ubuntu/linux-azure*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-aws-fips<4.15.0-2018.18
4.15.0-2018.18
ubuntu/linux-azure-fips<4.15.0-2006.7
4.15.0-2006.7
ubuntu/linux-fips<4.15.0-1029.34
4.15.0-1029.34
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-azure-fde*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-raspi-realtime*
debian/linux
3.16.84-14.9.210-1+deb9u14.19.118-15.5.13-1
debian/linux-4.9
4.9.210-1+deb9u1~deb8u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.rt56.1131.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.el7
  3. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.rt7.54.el8
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.el8
  5. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.80.1.rt13.130.el8_2
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.80.1.el8_2
  7. Upgrade

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

    Fixed in 4.4.0-1066.70
  8. Upgrade

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

    Fixed in 4.15.0-1082.92~14.04.1
  9. Upgrade

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

    Fixed in 4.4.0-178.208~14.04.1
  10. Upgrade

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

    Fixed in 4.4.0-178.208
  11. Upgrade

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

    Fixed in 4.4.0-1106.117
  12. Upgrade

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

    Fixed in 4.15.0-1066.70~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-1082.92~16.04.1
  14. Upgrade

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

    Fixed in 4.15.0-1061.65
  15. Upgrade

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

    Fixed in 4.15.0-99.100~16.04.1
  16. Upgrade

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

    Fixed in 4.4.0-1070.77
  17. Upgrade

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

    Fixed in 4.15.0-1038.42~16.04.1
  18. Upgrade

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

    Fixed in 4.4.0-1132.141
  19. Upgrade

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

    Fixed in 4.4.0-1136.144
  20. Upgrade

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

    Fixed in 4.4.0-1033.38
  21. Upgrade

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

    Fixed in 4.15.0-99.100
  22. Upgrade

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

    Fixed in 4.15.0-1066.70
  23. Upgrade

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

    Fixed in 5.3.0-1017.18~18.04.1
  24. Upgrade

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

    Fixed in 5.3.0-1020.21~18.04.1
  25. Upgrade

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

    Fixed in 5.3.0-1018.19~18.04.1
  26. Upgrade

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

    Fixed in 4.15.0-1058.61
  27. Upgrade

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

    Fixed in 5.0.0-1035.36
  28. Upgrade

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

    Fixed in 5.3.0-1018.19~18.04.1
  29. Upgrade

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

    Fixed in 5.3.0-51.44~18.04.2
  30. Upgrade

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

    Fixed in 4.15.0-1059.60
  31. Upgrade

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

    Fixed in 4.15.0-1080.90
  32. Upgrade

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

    Fixed in 5.0.0-1050.55
  33. Upgrade

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

    Fixed in 4.15.0-1038.42
  34. Upgrade

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

    Fixed in 5.3.0-1016.18~18.04.1
  35. Upgrade

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

    Fixed in 4.15.0-1061.65
  36. Upgrade

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

    Fixed in 5.3.0-1023.25~18.04.1
  37. Upgrade

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

    Fixed in 4.15.0-1077.84
  38. Upgrade

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

    Fixed in 4.15.0-2018.18
  39. Upgrade

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

    Fixed in 4.15.0-2006.7
  40. Upgrade

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

    Fixed in 4.15.0-1029.34
  41. Upgrade

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

    Fixed in 3.16.84-1Fixed in 4.9.210-1+deb9u1Fixed in 4.19.118-1Fixed in 5.5.13-1
  42. Upgrade

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

    Fixed in 4.9.210-1+deb9u1~deb8u1
  43. Upgrade

    Upgrade linux kernel to a version that resolves this vulnerability.

    Patch 206359
  44. Compensating control

    Prevent users from logging into the local virtual console (deny local console login). Use the referenced Red Hat instructions on disabling local login and the pam_console section to deny users logging into the console.

Event History

Jan 30, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 6, 2020
CVE Published
via MITRE·12:06 AM
Data Sourced
via MITRE·12:06 AM
Description
Data Sourced
via OSV·01:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 15, 2023
Data Sourced
via Red Hat·05:19 PM
DescriptionSeverityAffected Software
Apr 29, 2024
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:36 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2020-8647?

The severity of CVE-2020-8647 is assessed as medium with a CVSS score of 6.1.

2

How do I fix CVE-2020-8647?

To fix CVE-2020-8647, update to the latest kernel version provided by your Linux distribution.

3

Can CVE-2020-8647 be exploited remotely?

No, CVE-2020-8647 requires local access to virtual consoles to be exploited.

4

What types of systems are affected by CVE-2020-8647?

CVE-2020-8647 affects various Linux distributions including Red Hat, Debian, Google Android, and openSUSE Leap.

5

What kind of vulnerability is CVE-2020-8647?

CVE-2020-8647 is an out of bounds read vulnerability leading to potential information leakage from the Linux kernel.

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