CVE-2020-29660: Use After Free

Published Dec 4, 2020
·
Updated

A locking inconsistency issue was discovered in the tty subsystem of the Linux kernel through 5.9.13. drivers/tty/ttyio.c and drivers/tty/ttyjobctrl.c may allow a read-after-free attack against TIOCGSID, aka CID-c8bcd9c5be24.

Other sources

A locking inconsistency issue was discovered in the tty subsystem of the Linux kernel through 5.9.13. drivers/tty/ttyio.c and drivers/tty/ttyjobctrl.c may allow a read-after-free attack against TIOCGSID.

Reference and upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c8bcd9c5be24fb9e6132e97da5a35e55a83e36b9

— Red Hat

A locking inconsistency issue was discovered in the tty subsystem of the Linux kernel. A local user could use this flaw to read numerical value from memory after free.

In several functions of ttyio.c and related files, there is a possible way to corrupt kernel memory due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

115 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-348.rt7.130.el8
0:4.18.0-348.rt7.130.el8
redhat/kernel<0:4.18.0-348.el8
0:4.18.0-348.el8
Linux Linux kernel<=5.9.13
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Debian Debian Linux=9.0
Debian Debian Linux=10.0
NetApp Active Iq Unified Manager Vmware Vsphere
Broadcom Fabric Operating System
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp A700s Firmware
NetApp A700s
All of the following
NetApp 8300 Firmware
NetApp 8300
All of the following
NetApp 8700 Firmware
NetApp 8700
All of the following
NetApp A400 Firmware
NetApp A400
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
NetApp H410c Firmware
NetApp H410c
NetApp A700s Firmware
NetApp A700s
NetApp 8300 Firmware
NetApp 8300
NetApp 8700 Firmware
NetApp 8700
NetApp A400 Firmware
NetApp A400
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Google Android
ubuntu/linux<3.13.0-188.239
3.13.0-188.239
ubuntu/linux-aws<4.4.0-1086.90
4.4.0-1086.90
ubuntu/linux-azure<4.15.0-1108.120~14.04.1
4.15.0-1108.120~14.04.1
ubuntu/linux-lts-xenial<4.4.0-203.235~14.04.1
4.4.0-203.235~14.04.1
ubuntu/linux<4.4.0-203.235
4.4.0-203.235
ubuntu/linux-aws<4.4.0-1122.136
4.4.0-1122.136
ubuntu/linux-aws-hwe<4.15.0-1094.101~16.04.1
4.15.0-1094.101~16.04.1
ubuntu/linux-azure<4.15.0-1108.120~16.04.1
4.15.0-1108.120~16.04.1
ubuntu/linux-gcp<4.15.0-1093.106~16.04.1
4.15.0-1093.106~16.04.1
ubuntu/linux-hwe<4.15.0-136.140~16.04.1
4.15.0-136.140~16.04.1
ubuntu/linux-kvm<4.4.0-1088.97
4.4.0-1088.97
ubuntu/linux-oracle<4.15.0-1065.73~16.04.1
4.15.0-1065.73~16.04.1
ubuntu/linux-raspi2<4.4.0-1146.156
4.4.0-1146.156
ubuntu/linux-snapdragon<4.4.0-1150.160
4.4.0-1150.160
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1056.62
4.4.0-1056.62
ubuntu/linux-fips*
ubuntu/linux<4.15.0-136.140
4.15.0-136.140
ubuntu/linux-aws<4.15.0-1094.101
4.15.0-1094.101
ubuntu/linux-aws-5.4<5.4.0-1038.40~18.04.1
5.4.0-1038.40~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1108.120
4.15.0-1108.120
ubuntu/linux-azure-5.4<5.4.0-1040.42~18.04.1
5.4.0-1040.42~18.04.1
ubuntu/linux-dell300x<4.15.0-1012.16
4.15.0-1012.16
ubuntu/linux-gcp-4.15<4.15.0-1093.106
4.15.0-1093.106
ubuntu/linux-gcp-5.4<5.4.0-1037.40~18.04.1
5.4.0-1037.40~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1079.84
4.15.0-1079.84
ubuntu/linux-gke-5.4<5.4.0-1036.38~18.04.1
5.4.0-1036.38~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1010.11~18.04.1
5.4.0-1010.11~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-66.74~18.04.2
5.4.0-66.74~18.04.2
ubuntu/linux-kvm<4.15.0-1085.87
4.15.0-1085.87
ubuntu/linux-oracle<4.15.0-1065.73
4.15.0-1065.73
ubuntu/linux-oracle-5.4<5.4.0-1038.41~18.04.1
5.4.0-1038.41~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1029.32~18.04.1
5.4.0-1029.32~18.04.1
ubuntu/linux-raspi2<4.15.0-1079.84
4.15.0-1079.84
ubuntu/linux-snapdragon<4.15.0-1096.105
4.15.0-1096.105
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-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2037.39
4.15.0-2037.39
ubuntu/linux-azure-fips<4.15.0-2020.23
4.15.0-2020.23
ubuntu/linux-fips<4.15.0-1053.61
4.15.0-1053.61
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-66.74
5.4.0-66.74
ubuntu/linux-aws<5.4.0-1038.40
5.4.0-1038.40
ubuntu/linux-azure<5.4.0-1040.42
5.4.0-1040.42
ubuntu/linux-gcp<5.4.0-1037.40
5.4.0-1037.40
ubuntu/linux-gke<5.4.0-1036.38
5.4.0-1036.38
ubuntu/linux-gkeop<5.4.0-1010.11
5.4.0-1010.11
ubuntu/linux-hwe-5.8<5.8.0-44.50~20.04.1
5.8.0-44.50~20.04.1
ubuntu/linux-kvm<5.4.0-1033.34
5.4.0-1033.34
ubuntu/linux-oem-5.6<5.6.0-1048.52
5.6.0-1048.52
ubuntu/linux-oracle<5.4.0-1038.41
5.4.0-1038.41
ubuntu/linux-raspi<5.4.0-1029.32
5.4.0-1029.32
ubuntu/linux-riscv-5.8<5.8.0-17.19~20.04.1
5.8.0-17.19~20.04.1
ubuntu/linux-azure-fde-5.15<5.15.0-1114.123~20.04.1
5.15.0-1114.123~20.04.1
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
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*
android/:linux_kernel:>=:0<:2021-10-05
:2021-10-05

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-348.rt7.130.el8
  2. Upgrade

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

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

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  4. Upgrade

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

    Fixed in 3.13.0-188.239
  5. Upgrade

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

    Fixed in 4.4.0-1086.90
  6. Upgrade

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

    Fixed in 4.15.0-1108.120~14.04.1
  7. Upgrade

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

    Fixed in 4.4.0-203.235~14.04.1
  8. Upgrade

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

    Fixed in 4.4.0-203.235
  9. Upgrade

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

    Fixed in 4.4.0-1122.136
  10. Upgrade

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

    Fixed in 4.15.0-1094.101~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1108.120~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-1093.106~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-136.140~16.04.1
  14. Upgrade

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

    Fixed in 4.4.0-1088.97
  15. Upgrade

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

    Fixed in 4.15.0-1065.73~16.04.1
  16. Upgrade

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

    Fixed in 4.4.0-1146.156
  17. Upgrade

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

    Fixed in 4.4.0-1150.160
  18. Upgrade

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

    Fixed in 4.4.0-1056.62
  19. Upgrade

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

    Fixed in 4.15.0-136.140
  20. Upgrade

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

    Fixed in 4.15.0-1094.101
  21. Upgrade

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

    Fixed in 5.4.0-1038.40~18.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1108.120
  23. Upgrade

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

    Fixed in 5.4.0-1040.42~18.04.1
  24. Upgrade

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

    Fixed in 4.15.0-1012.16
  25. Upgrade

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

    Fixed in 4.15.0-1093.106
  26. Upgrade

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

    Fixed in 5.4.0-1037.40~18.04.1
  27. Upgrade

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

    Fixed in 4.15.0-1079.84
  28. Upgrade

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

    Fixed in 5.4.0-1036.38~18.04.1
  29. Upgrade

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

    Fixed in 5.4.0-1010.11~18.04.1
  30. Upgrade

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

    Fixed in 5.4.0-66.74~18.04.2
  31. Upgrade

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

    Fixed in 4.15.0-1085.87
  32. Upgrade

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

    Fixed in 4.15.0-1065.73
  33. Upgrade

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

    Fixed in 5.4.0-1038.41~18.04.1
  34. Upgrade

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

    Fixed in 5.4.0-1029.32~18.04.1
  35. Upgrade

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

    Fixed in 4.15.0-1079.84
  36. Upgrade

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

    Fixed in 4.15.0-1096.105
  37. Upgrade

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

    Fixed in 4.15.0-2037.39
  38. Upgrade

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

    Fixed in 4.15.0-2020.23
  39. Upgrade

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

    Fixed in 4.15.0-1053.61
  40. Upgrade

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

    Fixed in 5.4.0-66.74
  41. Upgrade

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

    Fixed in 5.4.0-1038.40
  42. Upgrade

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

    Fixed in 5.4.0-1040.42
  43. Upgrade

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

    Fixed in 5.4.0-1037.40
  44. Upgrade

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

    Fixed in 5.4.0-1036.38
  45. Upgrade

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

    Fixed in 5.4.0-1010.11
  46. Upgrade

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

    Fixed in 5.8.0-44.50~20.04.1
  47. Upgrade

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

    Fixed in 5.4.0-1033.34
  48. Upgrade

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

    Fixed in 5.6.0-1048.52
  49. Upgrade

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

    Fixed in 5.4.0-1038.41
  50. Upgrade

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

    Fixed in 5.4.0-1029.32
  51. Upgrade

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

    Fixed in 5.8.0-17.19~20.04.1
  52. Upgrade

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

    Fixed in 5.15.0-1114.123~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  54. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  55. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  56. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2021-10-05

Event History

Dec 4, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 9, 2020
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·04:57 PM
Data Sourced
via MITRE·04:57 PM
Description
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Oct 1, 2021
Advisory Published
via OSV·12:00 AM
Nov 9, 2021
Data Sourced
via Red Hat·07:53 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:21 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:21 AM
Affected 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 21, 2024
Updated
via NVD·05:24 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·03:11 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2020-29660?

CVE-2020-29660 is considered a medium-severity vulnerability that can lead to read-after-free attacks in the Linux kernel.

2

How do I fix CVE-2020-29660?

To fix CVE-2020-29660, upgrade to kernel versions 0:4.18.0-348.rt7.130.el8 or 0:4.18.0-348.el8 or later.

3

Which Linux kernel versions are affected by CVE-2020-29660?

CVE-2020-29660 affects Linux kernel versions through 5.9.13.

4

Are there any specific distributions impacted by CVE-2020-29660?

Yes, CVE-2020-29660 affects Red Hat, Debian, and various Fedora distributions.

5

What component of the Linux kernel is vulnerable in CVE-2020-29660?

CVE-2020-29660 involves a locking inconsistency issue in the tty subsystem of 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