CVE-2020-36558: Race Condition

Published Feb 10, 2020
·
Updated

A NULL pointer dereference flaw was found in the Linux kernel’s Virtual Terminal subsystem was found in how a user calls the VTRESIZEX ioctl. This flaw allows a local user to crash the system.

Other sources

A NULL pointer dereference vulnerability was found in drivers/tty/vt/vtioctl.c in the Linux kernel before 5.5.7. A race condition when call to VTRESIZEX ioctl and vccons[i].d is already NULL could lead to crash.

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6cd1ed50efd88261298577cd92a14f2768eddeeb

— Red Hat

A race condition in the Linux kernel before 5.5.7 involving VTRESIZEX could lead to a NULL pointer dereference and general protection fault.

Affected Software

74 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:4.18.0-372.75.1.el8_6
0:4.18.0-372.75.1.el8_6
Linux Linux kernel<5.5.7
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-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-kvm<4.15.0-1059.60
4.15.0-1059.60
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-raspi2<4.15.0-1061.65
4.15.0-1061.65
ubuntu/linux-snapdragon<4.15.0-1077.84
4.15.0-1077.84
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-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
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-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

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:4.18.0-425.3.1.rt7.213.el8
  2. Upgrade

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

    Fixed in 0:4.18.0-425.3.1.el8
  3. Upgrade

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

    Fixed in 0:4.18.0-372.75.1.el8_6
  4. Upgrade

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

    Fixed in 4.4.0-1066.70
  5. Upgrade

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

    Fixed in 4.15.0-1082.92~14.04.1
  6. Upgrade

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

    Fixed in 4.4.0-178.208~14.04.1
  7. Upgrade

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

    Fixed in 4.4.0-178.208
  8. Upgrade

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

    Fixed in 4.4.0-1106.117
  9. Upgrade

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

    Fixed in 4.15.0-1066.70~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1082.92~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1061.65
  12. Upgrade

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

    Fixed in 4.15.0-99.100~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1070.77
  14. Upgrade

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

    Fixed in 4.15.0-1038.42~16.04.1
  15. Upgrade

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

    Fixed in 4.4.0-1033.38
  16. Upgrade

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

    Fixed in 4.15.0-99.100
  17. Upgrade

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

    Fixed in 4.15.0-1066.70
  18. Upgrade

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

    Fixed in 4.15.0-1059.60
  19. Upgrade

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

    Fixed in 5.0.0-1050.55
  20. Upgrade

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

    Fixed in 4.15.0-1038.42
  21. Upgrade

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

    Fixed in 4.15.0-1061.65
  22. Upgrade

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

    Fixed in 4.15.0-1077.84
  23. Upgrade

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

    Fixed in 4.15.0-2018.18
  24. Upgrade

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

    Fixed in 4.15.0-2006.7
  25. Upgrade

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

    Fixed in 4.15.0-1029.34

Event History

Feb 10, 2020
CVE Published
10:00 AM
Jul 21, 2022
CVE Published
via MITRE·03:46 AM
Data Sourced
via MITRE·03:46 AM
Description
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Event
via OSV·04:15 AM
Data Sourced
via NVD·04:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 31, 2022
Data Sourced
via Red Hat·05:29 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who can exploit this issue?

A local user can trigger the flaw. The available data does not indicate that authentication, user interaction, or network access is required.

2

Which systems are affected?

The issue affects Linux kernel versions before 5.5.7, including the listed Red Hat kernel and kernel-rt software. It is in the Virtual Terminal subsystem and involves the VT_RESIZEX ioctl.

3

What is the likely impact of successful exploitation?

Successful exploitation can crash the system through a NULL pointer dereference and general protection fault. The supplied severity vector indicates no confidentiality or integrity impact, but high availability impact.

4

How can I determine whether a system is exposed?

Check whether the running Linux kernel is earlier than 5.5.7 and whether it includes the vulnerable Virtual Terminal VT_RESIZEX handling. The supplied data does not provide a reliable runtime detection method beyond version and code or vendor patch status.

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