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

104 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
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*
debian/linux<5.10.46-1
5.10.46-1
debian/linux<5.10.46-1
5.10.46-1
debian/linux<5.10.46-1
5.10.46-1
debian/linux
4.9.272-14.19.194-15.10.46-1
debian/linux-4.19
4.19.194-1~deb9u1

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 ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1099.104
  6. Upgrade

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

    Fixed in 4.15.0-1122.135~14.04.1
  7. Upgrade

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

    Fixed in 4.4.0-219.252~14.04.1
  8. Upgrade

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

    Fixed in 4.4.0-219.252
  9. Upgrade

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

    Fixed in 4.4.0-1135.149
  10. Upgrade

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

    Fixed in 4.15.0-1110.117~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-1122.135~16.04.1
  12. Upgrade

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

    Fixed in 4.15.0-1107.121~16.04.1
  13. Upgrade

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

    Fixed in 4.15.0-154.161~16.04.1
  14. Upgrade

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

    Fixed in 4.4.0-1100.109
  15. Upgrade

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

    Fixed in 4.15.0-1079.87~16.04.1
  16. Upgrade

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

    Fixed in 4.4.0-1069.75
  17. Upgrade

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

    Fixed in 4.15.0-154.161
  18. Upgrade

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

    Fixed in 4.15.0-1110.117
  19. Upgrade

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

    Fixed in 5.4.0-1055.58~18.04.1
  20. Upgrade

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

    Fixed in 4.15.0-1122.135
  21. Upgrade

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

    Fixed in 5.4.0-1056.58~18.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1027.32
  23. Upgrade

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

    Fixed in 4.15.0-1107.121
  24. Upgrade

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

    Fixed in 5.4.0-1051.55~18.04.1
  25. Upgrade

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

    Fixed in 5.4.0-1051.54~18.04.1
  26. Upgrade

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

    Fixed in 5.4.0-1022.23~18.04.1
  27. Upgrade

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

    Fixed in 5.4.0-81.91~18.04.1
  28. Upgrade

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

    Fixed in 4.15.0-1098.100
  29. Upgrade

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

    Fixed in 4.15.0-1079.87
  30. Upgrade

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

    Fixed in 5.4.0-1053.57~18.04.1
  31. Upgrade

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

    Fixed in 5.4.0-1042.46~18.04.3
  32. Upgrade

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

    Fixed in 4.15.0-1094.100
  33. Upgrade

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

    Fixed in 4.15.0-1111.120
  34. Upgrade

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

    Fixed in 4.15.0-2052.54
  35. Upgrade

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

    Fixed in 4.15.0-2034.38
  36. Upgrade

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

    Fixed in 4.15.0-1068.77
  37. Upgrade

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

    Fixed in 4.15.0-2017.19
  38. Upgrade

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

    Fixed in 5.4.0-81.91
  39. Upgrade

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

    Fixed in 5.4.0-1055.58
  40. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  41. Upgrade

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

    Fixed in 5.8.0-1042.44~20.04.1
  42. Upgrade

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

    Fixed in 5.4.0-1056.58
  43. Upgrade

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

    Fixed in 5.11.0-1013.14~20.04.1
  44. Upgrade

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

    Fixed in 5.8.0-1040.43~20.04.1
  45. Upgrade

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

    Fixed in 5.4.0-1019.22
  46. Upgrade

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

    Fixed in 5.4.0-1051.55
  47. Upgrade

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

    Fixed in 5.11.0-1017.19~20.04.1
  48. Upgrade

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

    Fixed in 5.8.0-1039.41
  49. Upgrade

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

    Fixed in 5.4.0-1051.54
  50. Upgrade

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

    Fixed in 5.4.0-1022.23
  51. Upgrade

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

    Fixed in 5.11.0-34.36~20.04.1
  52. Upgrade

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

    Fixed in 5.4.0-1045.47
  53. Upgrade

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

    Fixed in 5.10.0-1038.40
  54. Upgrade

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

    Fixed in 5.4.0-1053.57
  55. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  56. Upgrade

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

    Fixed in 5.8.0-1038.39~20.04.1
  57. Upgrade

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

    Fixed in 5.4.0-1042.46
  58. Upgrade

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

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

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

    Fixed in 5.4.0-1069.73+fips2
  61. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  62. Upgrade

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

    Fixed in 5.4.0-1032.37
  63. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  64. Upgrade

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

    Fixed in 5.10.46-1
  65. Upgrade

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

    Fixed in 4.9.272-1Fixed in 4.19.194-1Fixed in 5.10.46-1
  66. Upgrade

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

    Fixed in 4.19.194-1~deb9u1

Event History

May 24, 2021
Data Sourced
07:31 PM
DescriptionSeverityAffected Software
May 25, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Jun 8, 2021
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·11:59 AM
Data Sourced
via MITRE·11:59 AM
DescriptionWeakness
Data Sourced
via OSV·12:15 PM
DescriptionSeverityAffected Software
Apr 17, 2022
Data Sourced
via Red Hat·09:40 PM
DescriptionSeverityAffected Software
Feb 12, 2023
Data Sourced
via NVD·11:41 PM
DescriptionSeverityWeaknessAffected Software
Updated
11:41 PM
Affected Software
Nov 21, 2024
Updated
via NVD·06:21 AM
Affected Software
Jun 17, 2026
Updated
via NVD·04:05 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:37 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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