CVE-2021-3564: Double Free

Published May 24, 2021
·
Updated

A flaw double-free memory corruption in the Linux kernel HCI device initialization subsystem was found in the way user attach malicious HCI TTY Bluetooth device. A local user could use this flaw to crash the system.

Other sources

A flaw was found in the Linux kernel in the BlueTooth subsystem when the HCI device initialization fails. It can lead to unexpected results, like double-free memory corruption vulnerability.

— Red Hat

Affected Software

101 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>=3.13
Fedoraproject Fedora=34
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
ubuntu/linux-aws<4.4.0-1099.104
4.4.0-1099.104
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-219.252~14.04.1
4.4.0-219.252~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-219.252
4.4.0-219.252
ubuntu/linux-aws<4.4.0-1135.149
4.4.0-1135.149
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-1100.109
4.4.0-1100.109
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-1069.75
4.4.0-1069.75
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 ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1099.104
  7. Upgrade

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

    Fixed in 4.15.0-1122.135~14.04.1
  8. Upgrade

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

    Fixed in 4.4.0-219.252~14.04.1
  9. Upgrade

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

    Fixed in 4.4.0-219.252
  10. Upgrade

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

    Fixed in 4.4.0-1135.149
  11. Upgrade

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

    Fixed in 4.15.0-1110.117~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-1122.135~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-1107.121~16.04.1
  14. Upgrade

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

    Fixed in 4.15.0-154.161~16.04.1
  15. Upgrade

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

    Fixed in 4.4.0-1100.109
  16. Upgrade

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

    Fixed in 4.15.0-1079.87~16.04.1
  17. Upgrade

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

    Fixed in 4.4.0-1069.75
  18. Upgrade

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

    Fixed in 4.15.0-154.161
  19. Upgrade

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

    Fixed in 4.15.0-1110.117
  20. Upgrade

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

    Fixed in 5.4.0-1055.58~18.04.1
  21. Upgrade

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

    Fixed in 4.15.0-1122.135
  22. Upgrade

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

    Fixed in 5.4.0-1056.58~18.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1027.32
  24. Upgrade

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

    Fixed in 4.15.0-1107.121
  25. Upgrade

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

    Fixed in 5.4.0-1051.55~18.04.1
  26. Upgrade

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

    Fixed in 5.4.0-1051.54~18.04.1
  27. Upgrade

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

    Fixed in 5.4.0-1022.23~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-81.91~18.04.1
  29. Upgrade

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

    Fixed in 4.15.0-1098.100
  30. Upgrade

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

    Fixed in 4.15.0-1079.87
  31. Upgrade

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

    Fixed in 5.4.0-1053.57~18.04.1
  32. Upgrade

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

    Fixed in 5.4.0-1042.46~18.04.3
  33. Upgrade

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

    Fixed in 4.15.0-1094.100
  34. Upgrade

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

    Fixed in 4.15.0-1111.120
  35. Upgrade

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

    Fixed in 4.15.0-2052.54
  36. Upgrade

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

    Fixed in 4.15.0-2034.38
  37. Upgrade

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

    Fixed in 4.15.0-1068.77
  38. Upgrade

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

    Fixed in 4.15.0-2017.19
  39. Upgrade

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

    Fixed in 5.4.0-81.91
  40. Upgrade

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

    Fixed in 5.4.0-1055.58
  41. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  42. Upgrade

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

    Fixed in 5.8.0-1042.44~20.04.1
  43. Upgrade

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

    Fixed in 5.4.0-1056.58
  44. Upgrade

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

    Fixed in 5.11.0-1013.14~20.04.1
  45. Upgrade

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

    Fixed in 5.8.0-1040.43~20.04.1
  46. Upgrade

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

    Fixed in 5.4.0-1019.22
  47. Upgrade

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

    Fixed in 5.4.0-1051.55
  48. Upgrade

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

    Fixed in 5.11.0-1017.19~20.04.1
  49. Upgrade

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

    Fixed in 5.8.0-1039.41
  50. Upgrade

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

    Fixed in 5.4.0-1051.54
  51. Upgrade

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

    Fixed in 5.4.0-1022.23
  52. Upgrade

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

    Fixed in 5.11.0-34.36~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1045.47
  54. Upgrade

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

    Fixed in 5.10.0-1038.40
  55. Upgrade

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

    Fixed in 5.4.0-1053.57
  56. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  57. Upgrade

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

    Fixed in 5.8.0-1038.39~20.04.1
  58. Upgrade

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

    Fixed in 5.4.0-1042.46
  59. Upgrade

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

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

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

    Fixed in 5.4.0-1069.73+fips2
  62. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  63. Upgrade

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

    Fixed in 5.4.0-1032.37
  64. 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

May 24, 2021
Data Sourced
via Red Hat·07:31 PM
DescriptionSeverityAffected Software
May 25, 2021
CVE Published
12:00 AM
Jun 8, 2021
CVE Published
via MITRE·11:59 AM
Data Sourced
via MITRE·11:59 AM
DescriptionWeakness
Data Sourced
via OSV·12:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-3564?

CVE-2021-3564 has been classified as a high severity vulnerability due to its potential to cause system crashes.

2

How do I fix CVE-2021-3564?

To resolve CVE-2021-3564, ensure that your Linux kernel is updated to the versions specified by your distribution's security advisories.

3

Who is affected by CVE-2021-3564?

CVE-2021-3564 affects local users of systems running vulnerable versions of the Linux kernel that allow for HCI Bluetooth device initialization.

4

Can CVE-2021-3564 be exploited remotely?

CVE-2021-3564 requires local access to the system, as it involves user-initiated actions that can lead to a crash.

5

What types of Linux distributions are impacted by CVE-2021-3564?

CVE-2021-3564 affects several Linux distributions including Red Hat, Fedora, and Debian, depending on the kernel version.

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