CVE-2021-3573: Race Condition

Published Jun 1, 2021
·
Updated

A flaw use-after-free in function hcisockboundioctl() of the Linux kernel HCI subsystem was found in the way user calls ioct HCIUNBLOCKADDR or other way triggers race condition of the call hciunregisterdev() together with one of the calls hcisockblacklistadd(), hcisockblacklistdel(), hcigetconninfo(), hcigetauthinfo(). A privileged local user could use this flaw to crash the system or escalate their privileges on the system.

Other sources

A use-after-free in function hcisockboundioctl() of the Linux kernel HCI subsystem was found in the way user calls ioct HCIUNBLOCKADDR or other way triggers race condition of the call hciunregisterdev() together with one of the calls hcisockblacklistadd(), hcisockblacklistdel(), hcigetconninfo(), hcigetauthinfo(). A privileged local user could use this flaw to crash the system or escalate their privileges on the system. This flaw affects the Linux kernel versions prior to 5.13-rc5.

A use-after-free vulnerability was found in the Linux kernel in function hcisockboundioctl(). It can allow attackers to corrupt kernel heaps (kmalloc-8k to be specific) and adopt further exploitations.

— Red Hat

Affected Software

108 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.59.1.rt56.1200.el7
0:3.10.0-1160.59.1.rt56.1200.el7
redhat/kernel<0:3.10.0-1160.59.1.el7
0:3.10.0-1160.59.1.el7
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.13
Linux Linux kernel=5.13-rc1
Linux Linux kernel=5.13-rc2
Linux Linux kernel=5.13-rc3
Linux Linux kernel=5.13-rc4
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=34
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<5.13
5.13
ubuntu/linux-aws<4.4.0-1102.107
4.4.0-1102.107
ubuntu/linux-azure<4.15.0-1122.135~14.04.1
4.15.0-1122.135~14.04.1
ubuntu/linux-lts-xenial<4.4.0-222.255~14.04.1
4.4.0-222.255~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-222.255
4.4.0-222.255
ubuntu/linux-aws<4.4.0-1138.152
4.4.0-1138.152
ubuntu/linux-aws-hwe<4.15.0-1110.117~16.04.1
4.15.0-1110.117~16.04.1
ubuntu/linux-azure<4.15.0-1122.135~16.04.1
4.15.0-1122.135~16.04.1
ubuntu/linux-gcp<4.15.0-1107.121~16.04.1
4.15.0-1107.121~16.04.1
ubuntu/linux-hwe<4.15.0-154.161~16.04.1
4.15.0-154.161~16.04.1
ubuntu/linux-kvm<4.4.0-1103.112
4.4.0-1103.112
ubuntu/linux-oracle<4.15.0-1079.87~16.04.1
4.15.0-1079.87~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1072.78
4.4.0-1072.78
ubuntu/linux-fips*
ubuntu/linux<4.15.0-154.161
4.15.0-154.161
ubuntu/linux-aws<4.15.0-1110.117
4.15.0-1110.117
ubuntu/linux-aws-5.4<5.4.0-1055.58~18.04.1
5.4.0-1055.58~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1122.135
4.15.0-1122.135
ubuntu/linux-azure-5.4<5.4.0-1056.58~18.04.1
5.4.0-1056.58~18.04.1
ubuntu/linux-dell300x<4.15.0-1027.32
4.15.0-1027.32
ubuntu/linux-gcp-4.15<4.15.0-1107.121
4.15.0-1107.121
ubuntu/linux-gcp-5.4<5.4.0-1051.55~18.04.1
5.4.0-1051.55~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1051.54~18.04.1
5.4.0-1051.54~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1022.23~18.04.1
5.4.0-1022.23~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-81.91~18.04.1
5.4.0-81.91~18.04.1
ubuntu/linux-kvm<4.15.0-1098.100
4.15.0-1098.100
ubuntu/linux-oracle<4.15.0-1079.87
4.15.0-1079.87
ubuntu/linux-oracle-5.4<5.4.0-1053.57~18.04.1
5.4.0-1053.57~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1042.46~18.04.3
5.4.0-1042.46~18.04.3
ubuntu/linux-raspi2<4.15.0-1094.100
4.15.0-1094.100
ubuntu/linux-snapdragon<4.15.0-1111.120
4.15.0-1111.120
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-gke-4.15*
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-2052.54
4.15.0-2052.54
ubuntu/linux-azure-fips<4.15.0-2034.38
4.15.0-2034.38
ubuntu/linux-fips<4.15.0-1068.77
4.15.0-1068.77
ubuntu/linux-gcp-fips<4.15.0-2017.19
4.15.0-2017.19
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-81.91
5.4.0-81.91
ubuntu/linux-aws<5.4.0-1055.58
5.4.0-1055.58
ubuntu/linux-aws-5.11<5.11.0-1016.17~20.04.1
5.11.0-1016.17~20.04.1
ubuntu/linux-aws-5.8<5.8.0-1042.44~20.04.1
5.8.0-1042.44~20.04.1
ubuntu/linux-azure<5.4.0-1056.58
5.4.0-1056.58
ubuntu/linux-azure-5.11<5.11.0-1013.14~20.04.1
5.11.0-1013.14~20.04.1
ubuntu/linux-azure-5.8<5.8.0-1040.43~20.04.1
5.8.0-1040.43~20.04.1
ubuntu/linux-bluefield<5.4.0-1019.22
5.4.0-1019.22
ubuntu/linux-gcp<5.4.0-1051.55
5.4.0-1051.55
ubuntu/linux-gcp-5.11<5.11.0-1017.19~20.04.1
5.11.0-1017.19~20.04.1
ubuntu/linux-gcp-5.8<5.8.0-1039.41
5.8.0-1039.41
ubuntu/linux-gke<5.4.0-1051.54
5.4.0-1051.54
ubuntu/linux-gkeop<5.4.0-1022.23
5.4.0-1022.23
ubuntu/linux-hwe-5.11<5.11.0-34.36~20.04.1
5.11.0-34.36~20.04.1
ubuntu/linux-kvm<5.4.0-1045.47
5.4.0-1045.47
ubuntu/linux-oem-5.10<5.10.0-1038.40
5.10.0-1038.40
ubuntu/linux-oracle<5.4.0-1053.57
5.4.0-1053.57
ubuntu/linux-oracle-5.11<5.11.0-1016.17~20.04.1
5.11.0-1016.17~20.04.1
ubuntu/linux-oracle-5.8<5.8.0-1038.39~20.04.1
5.8.0-1038.39~20.04.1
ubuntu/linux-raspi<5.4.0-1042.46
5.4.0-1042.46
ubuntu/linux-riscv-5.11<5.11.0-1017.18~20.04.1
5.11.0-1017.18~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-hwe-5.8*
ubuntu/linux-oem-5.6*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.8*
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-fips<5.4.0-1032.37
5.4.0-1032.37
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-fips*
ubuntu/linux-gcp-fips*
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:3.10.0-1160.59.1.rt56.1200.el7
  2. Upgrade

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

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

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

    Fixed in 0:4.18.0-348.rt7.130.el8
  4. Upgrade

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

    Fixed in 0:4.18.0-348.el8
  5. 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
  6. Upgrade

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

    Fixed in 5.13
  7. Upgrade

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

    Fixed in 4.4.0-1102.107
  8. Upgrade

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

    Fixed in 4.15.0-1122.135~14.04.1
  9. Upgrade

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

    Fixed in 4.4.0-222.255~14.04.1
  10. Upgrade

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

    Fixed in 4.4.0-222.255
  11. Upgrade

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

    Fixed in 4.4.0-1138.152
  12. Upgrade

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

    Fixed in 4.15.0-1110.117~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-1122.135~16.04.1
  14. Upgrade

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

    Fixed in 4.15.0-1107.121~16.04.1
  15. Upgrade

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

    Fixed in 4.15.0-154.161~16.04.1
  16. Upgrade

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

    Fixed in 4.4.0-1103.112
  17. Upgrade

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

    Fixed in 4.15.0-1079.87~16.04.1
  18. Upgrade

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

    Fixed in 4.4.0-1072.78
  19. Upgrade

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

    Fixed in 4.15.0-154.161
  20. Upgrade

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

    Fixed in 4.15.0-1110.117
  21. Upgrade

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

    Fixed in 5.4.0-1055.58~18.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1122.135
  23. Upgrade

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

    Fixed in 5.4.0-1056.58~18.04.1
  24. Upgrade

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

    Fixed in 4.15.0-1027.32
  25. Upgrade

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

    Fixed in 4.15.0-1107.121
  26. Upgrade

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

    Fixed in 5.4.0-1051.55~18.04.1
  27. Upgrade

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

    Fixed in 5.4.0-1051.54~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-1022.23~18.04.1
  29. Upgrade

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

    Fixed in 5.4.0-81.91~18.04.1
  30. Upgrade

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

    Fixed in 4.15.0-1098.100
  31. Upgrade

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

    Fixed in 4.15.0-1079.87
  32. Upgrade

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

    Fixed in 5.4.0-1053.57~18.04.1
  33. Upgrade

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

    Fixed in 5.4.0-1042.46~18.04.3
  34. Upgrade

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

    Fixed in 4.15.0-1094.100
  35. Upgrade

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

    Fixed in 4.15.0-1111.120
  36. Upgrade

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

    Fixed in 4.15.0-2052.54
  37. Upgrade

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

    Fixed in 4.15.0-2034.38
  38. Upgrade

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

    Fixed in 4.15.0-1068.77
  39. Upgrade

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

    Fixed in 4.15.0-2017.19
  40. Upgrade

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

    Fixed in 5.4.0-81.91
  41. Upgrade

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

    Fixed in 5.4.0-1055.58
  42. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  43. Upgrade

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

    Fixed in 5.8.0-1042.44~20.04.1
  44. Upgrade

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

    Fixed in 5.4.0-1056.58
  45. Upgrade

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

    Fixed in 5.11.0-1013.14~20.04.1
  46. Upgrade

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

    Fixed in 5.8.0-1040.43~20.04.1
  47. Upgrade

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

    Fixed in 5.4.0-1019.22
  48. Upgrade

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

    Fixed in 5.4.0-1051.55
  49. Upgrade

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

    Fixed in 5.11.0-1017.19~20.04.1
  50. Upgrade

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

    Fixed in 5.8.0-1039.41
  51. Upgrade

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

    Fixed in 5.4.0-1051.54
  52. Upgrade

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

    Fixed in 5.4.0-1022.23
  53. Upgrade

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

    Fixed in 5.11.0-34.36~20.04.1
  54. Upgrade

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

    Fixed in 5.4.0-1045.47
  55. Upgrade

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

    Fixed in 5.10.0-1038.40
  56. Upgrade

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

    Fixed in 5.4.0-1053.57
  57. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  58. Upgrade

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

    Fixed in 5.8.0-1038.39~20.04.1
  59. Upgrade

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

    Fixed in 5.4.0-1042.46
  60. Upgrade

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

    Fixed in 5.11.0-1017.18~20.04.1
  61. 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
  62. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  63. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  64. Upgrade

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

    Fixed in 5.4.0-1032.37
  65. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  66. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.13-rc5

Event History

Jun 1, 2021
Data Sourced
via Red Hat·12:42 PM
DescriptionSeverityAffected Software
Jun 6, 2021
CVE Published
via OSV·01:00 PM
Data Sourced
via OSV·01:00 PM
DescriptionSeverityAffected Software
Aug 13, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-3573?

CVE-2021-3573 is classified as a high severity vulnerability due to its potential impact on the Linux kernel's HCI subsystem.

2

How do I fix CVE-2021-3573?

To fix CVE-2021-3573, update your Linux kernel to version 0:3.10.0-1160.59.1.el7 or higher, or use the corresponding patched kernel versions for your distribution.

3

What versions of the Linux kernel are affected by CVE-2021-3573?

CVE-2021-3573 affects various versions of the Linux kernel up to 5.13, including specific versions like 3.10.x and 4.18.x.

4

What types of systems are impacted by CVE-2021-3573?

CVE-2021-3573 impacts systems running affected versions of the Linux kernel, such as Red Hat Enterprise Linux, Fedora, and Debian.

5

Is CVE-2021-3573 a zero-day vulnerability?

No, CVE-2021-3573 is not a zero-day vulnerability as it has been publicly disclosed and patches are available.

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