CVE-2020-8649: Use After Free

Published Jan 30, 2020
·
Updated

A flaw was found in the Linux kernel’s implementation of the invert video code on VGA consoles when a local attacker attempts to resize the console. An out-of-bounds read can occur, leaking information to the console.

Other sources

A flaw was found in the Linux kernels implementation of VGA local console in the vgaconinvertregion functionality. An attacker with local physical access to a "VGA console" (think local virtual console) who is able to issue a terminal resize request could possibly cause a leak of information to the local console.

Reference: https://bugzilla.kernel.org/showbug.cgi?id=206357 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=513dc792d6060d5ef572e43852683097a8420f56

— Red Hat

There is a use-after-free vulnerability in the Linux kernel through 5.5.2 in the vgaconinvertregion function in drivers/video/console/vgacon.c.

Affected Software

66 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
openSUSE Leap=15.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0
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 (vgacon_invert_region in drivers/video/console/vgacon.c) to a version that resolves this vulnerability.

    Patch 513dc792d6060d5ef572e43852683097a8420f56
  44. Operational

    Apply the referenced kernel patch (513dc792d6060d5ef572e43852683097a8420f56) to remediate the use-after-free vulnerability in vgacon_invert_region in drivers/video/console/vgacon.c (present through 5.5.2).

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
DescriptionSeverityWeaknessAffected Software
Dec 15, 2023
Data Sourced
via Red Hat·05:19 PM
DescriptionSeverityAffected 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

Who is realistically exposed to this issue?

Systems that provide a local VGA console are exposed, particularly where an attacker can obtain local physical access to a virtual console. The listed affected software includes Linux kernel packages from Red Hat, Debian, and openSUSE Leap.

2

What does an attacker need to do to trigger the flaw?

The attacker needs local physical access to a VGA console and the ability to issue a terminal resize request. No user interaction is required, but the CVSS vector indicates low privileges are required.

3

What is the potential impact of successful exploitation?

The reported behavior can leak information to the local console through an out-of-bounds read. The CVSS vector also rates confidentiality and availability impact as high, while integrity impact is not indicated.

4

What kernel versions are identified as affected?

The vulnerability is described as present in the Linux kernel through version 5.5.2. No fixed version is provided in the supplied data.

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