CVE-2020-29661: Use After Free

Published Dec 4, 2020
·
Updated

A locking issue was discovered in the tty subsystem of the Linux kernel in drivers/tty/ttyjobctrl.c which could allow an attacker with a local account to possibly corrupt memory or escalate privileges.

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

Other sources

A locking issue was discovered in the tty subsystem of the Linux kernel through 5.9.13. drivers/tty/ttyjobctrl.c allows a use-after-free attack against TIOCSPGRP, aka CID-54ffccbf053b.

A locking vulnerability was found in the tty subsystem of the Linux kernel in drivers/tty/ttyjobctrl.c. This flaw allows a local attacker to possibly corrupt memory or escalate privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

In tiocspgrp of ttyjobctrl.c, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

130 affected componentsFixes available
redhat/kernel<0:2.6.32-754.39.1.el6
0:2.6.32-754.39.1.el6
redhat/kernel-rt<0:3.10.0-1160.21.1.rt56.1158.el7
0:3.10.0-1160.21.1.rt56.1158.el7
redhat/kernel-alt<0:4.14.0-115.35.1.el7a
0:4.14.0-115.35.1.el7a
redhat/kernel<0:3.10.0-1160.21.1.el7
0:3.10.0-1160.21.1.el7
redhat/kernel<0:3.10.0-693.87.1.el7
0:3.10.0-693.87.1.el7
redhat/kernel<0:3.10.0-957.70.1.el7
0:3.10.0-957.70.1.el7
redhat/kernel<0:3.10.0-1062.46.1.el7
0:3.10.0-1062.46.1.el7
redhat/kernel-rt<0:4.18.0-240.15.1.rt7.69.el8_3
0:4.18.0-240.15.1.rt7.69.el8_3
redhat/kernel<0:4.18.0-240.15.1.el8_3
0:4.18.0-240.15.1.el8_3
redhat/kernel<0:4.18.0-147.43.1.el8_1
0:4.18.0-147.43.1.el8_1
redhat/kernel-rt<0:4.18.0-193.46.1.rt13.96.el8_2
0:4.18.0-193.46.1.rt13.96.el8_2
redhat/kernel<0:4.18.0-193.46.1.el8_2
0:4.18.0-193.46.1.el8_2
Linux Linux kernel>=2.6.26<4.4.248
Linux Linux kernel>=4.5<4.9.248
Linux Linux kernel>=4.10<4.14.212
Linux Linux kernel>=4.15<4.19.163
Linux Linux kernel>=4.20<5.4.83
Linux Linux kernel>=5.5<5.9.14
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
Oracle Tekelec Platform Distribution>=7.4.0<=7.7.1
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-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-05-05
:2021-05-05

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 0:2.6.32-754.39.1.el6
  2. Upgrade

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

    Fixed in 0:3.10.0-1160.21.1.rt56.1158.el7
  3. Upgrade

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

    Fixed in 0:4.14.0-115.35.1.el7a
  4. Upgrade

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

    Fixed in 0:3.10.0-1160.21.1.el7
  5. Upgrade

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

    Fixed in 0:3.10.0-693.87.1.el7
  6. Upgrade

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

    Fixed in 0:3.10.0-957.70.1.el7
  7. Upgrade

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

    Fixed in 0:3.10.0-1062.46.1.el7
  8. Upgrade

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

    Fixed in 0:4.18.0-240.15.1.rt7.69.el8_3
  9. Upgrade

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

    Fixed in 0:4.18.0-240.15.1.el8_3
  10. Upgrade

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

    Fixed in 0:4.18.0-147.43.1.el8_1
  11. Upgrade

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

    Fixed in 0:4.18.0-193.46.1.rt13.96.el8_2
  12. Upgrade

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

    Fixed in 0:4.18.0-193.46.1.el8_2
  13. 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
  14. Upgrade

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

    Fixed in :2021-05-05
  15. Upgrade

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

    Fixed in 3.13.0-188.239
  16. Upgrade

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

    Fixed in 4.4.0-1086.90
  17. Upgrade

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

    Fixed in 4.15.0-1108.120~14.04.1
  18. Upgrade

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

    Fixed in 4.4.0-203.235~14.04.1
  19. Upgrade

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

    Fixed in 4.4.0-203.235
  20. Upgrade

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

    Fixed in 4.4.0-1122.136
  21. Upgrade

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

    Fixed in 4.15.0-1094.101~16.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1108.120~16.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1093.106~16.04.1
  24. Upgrade

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

    Fixed in 4.15.0-136.140~16.04.1
  25. Upgrade

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

    Fixed in 4.4.0-1088.97
  26. Upgrade

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

    Fixed in 4.15.0-1065.73~16.04.1
  27. Upgrade

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

    Fixed in 4.4.0-1146.156
  28. Upgrade

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

    Fixed in 4.4.0-1150.160
  29. Upgrade

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

    Fixed in 4.4.0-1056.62
  30. Upgrade

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

    Fixed in 4.15.0-136.140
  31. Upgrade

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

    Fixed in 4.15.0-1094.101
  32. Upgrade

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

    Fixed in 5.4.0-1038.40~18.04.1
  33. Upgrade

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

    Fixed in 4.15.0-1108.120
  34. Upgrade

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

    Fixed in 5.4.0-1040.42~18.04.1
  35. Upgrade

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

    Fixed in 4.15.0-1012.16
  36. Upgrade

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

    Fixed in 4.15.0-1093.106
  37. Upgrade

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

    Fixed in 5.4.0-1037.40~18.04.1
  38. Upgrade

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

    Fixed in 4.15.0-1079.84
  39. Upgrade

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

    Fixed in 5.4.0-1036.38~18.04.1
  40. Upgrade

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

    Fixed in 5.4.0-1010.11~18.04.1
  41. Upgrade

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

    Fixed in 5.4.0-66.74~18.04.2
  42. Upgrade

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

    Fixed in 4.15.0-1085.87
  43. Upgrade

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

    Fixed in 4.15.0-1065.73
  44. Upgrade

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

    Fixed in 5.4.0-1038.41~18.04.1
  45. Upgrade

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

    Fixed in 5.4.0-1029.32~18.04.1
  46. Upgrade

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

    Fixed in 4.15.0-1079.84
  47. Upgrade

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

    Fixed in 4.15.0-1096.105
  48. Upgrade

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

    Fixed in 4.15.0-2037.39
  49. Upgrade

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

    Fixed in 4.15.0-2020.23
  50. Upgrade

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

    Fixed in 4.15.0-1053.61
  51. Upgrade

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

    Fixed in 5.4.0-66.74
  52. Upgrade

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

    Fixed in 5.4.0-1038.40
  53. Upgrade

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

    Fixed in 5.4.0-1040.42
  54. Upgrade

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

    Fixed in 5.4.0-1037.40
  55. Upgrade

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

    Fixed in 5.4.0-1036.38
  56. Upgrade

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

    Fixed in 5.4.0-1010.11
  57. Upgrade

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

    Fixed in 5.8.0-44.50~20.04.1
  58. Upgrade

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

    Fixed in 5.4.0-1033.34
  59. Upgrade

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

    Fixed in 5.6.0-1048.52
  60. Upgrade

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

    Fixed in 5.4.0-1038.41
  61. Upgrade

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

    Fixed in 5.4.0-1029.32
  62. Upgrade

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

    Fixed in 5.8.0-17.19~20.04.1
  63. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  64. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  65. 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

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
May 1, 2021
Advisory Published
via OSV·12:00 AM
Nov 17, 2021
Data Sourced
via Red Hat·11:42 AM
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 5, 2024
Exploit Published
via GitHub·06:15 AM
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

Frequently Asked Questions

1

What is the severity of CVE-2020-29661?

CVE-2020-29661 is classified as a high severity vulnerability that could allow an attacker to corrupt memory or escalate privileges.

2

How can I fix CVE-2020-29661?

To mitigate CVE-2020-29661, update your Linux kernel to the patched versions provided by your Linux distribution.

3

What versions of the Linux kernel are affected by CVE-2020-29661?

CVE-2020-29661 affects multiple versions of the Linux kernel, particularly those prior to the patched releases mentioned in your distribution's advisory.

4

Is CVE-2020-29661 exploitable remotely?

CVE-2020-29661 is not considered remotely exploitable; it requires local access to the affected system.

5

Are there any specific distributions affected by CVE-2020-29661?

Yes, CVE-2020-29661 impacts various distributions including Red Hat, Fedora, and Debian.

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