cve.bz

CVE-2021-32399 Race Condition

7.0 highExploit referenceEPSS 0.7%Fix available

High (7.0). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
net/bluetooth/hci_request.c in the Linux kernel through 5.12.2 has a race condition for removal of the HCI controller.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32399 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32399?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32399?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32399 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 5.12.2
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.272-1DLA-2689-1
Debian9linux-4.194.19.194-1~deb9u1DLA-2690-1
Debian12, 13, 14linux5.10.38-1DEBIAN-CVE-2021-32399
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-32399
Ubuntu18.04:LTSlinux4.15.0-151.157UBUNTU-CVE-2021-32399 USN-5018-1
Ubuntu18.04:LTSlinux-aws4.15.0-1109.116UBUNTU-CVE-2021-32399 USN-5018-1
Ubuntu18.04:LTSlinux-aws-5.4, linux-azure-5.45.4.0-1051.53~18.04.1UBUNTU-CVE-2021-32399 USN-5000-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1121.134UBUNTU-CVE-2021-32399 USN-5018-1
Ubuntu18.04:LTSlinux-dell300x4.15.0-1027.32UBUNTU-CVE-2021-32399
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2021-32399
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1106.120UBUNTU-CVE-2021-32399 USN-5018-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1046.49~18.04.1UBUNTU-CVE-2021-32399 USN-5000-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1046.48~18.04.1UBUNTU-CVE-2021-32399 USN-5000-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1018.19~18.04.1UBUNTU-CVE-2021-32399 USN-5000-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-77.86~18.04.1UBUNTU-CVE-2021-32399 USN-5000-1
48 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.41.1.el7RHSA-2021:3327
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.41.1.el7RHSA-2021:3327
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.3.18-20210903.0.el7_9RHSA-2021:3477
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160, kpatch-patch-3_10_0-1160_2_1, kpatch-patch-3_10_0-1160_2_2 and 5 more0:1-8.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_11_1, kpatch-patch-3_10_0-1160_15_2, kpatch-patch-3_10_0-1160_11_1-debuginfo and 1 more0:1-7.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_21_1, kpatch-patch-3_10_0-1160_21_1-debuginfo0:1-5.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_24_1, kpatch-patch-3_10_0-1160_25_1, kpatch-patch-3_10_0-1160_24_1-debuginfo and 1 more0:1-3.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_31_1, kpatch-patch-3_10_0-1160_31_1-debuginfo0:1-2.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverkpatch-patch-3_10_0-1160_36_2, kpatch-patch-3_10_0-1160_36_2-debuginfo0:1-1.el7RHSA-2021:3381
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.41.1.el7RHSA-2021:3327
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-305, kpatch-patch-4_18_0-305-debuginfo, kpatch-patch-4_18_0-305-debugsource0:1-3.el8RHSA-2021:2716
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-305_3_1, kpatch-patch-4_18_0-305_3_1-debuginfo, kpatch-patch-4_18_0-305_3_1-debugsource0:1-2.el8_4RHSA-2021:2716
43 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 4 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-197.92.1SUSE-SU-2021:1912-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.207.1SUSE-SU-2025:01982-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekernel-default-base5.3.18-150300.59.207.1.150300.18.124.1SUSE-SU-2025:01982-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.147.1SUSE-SU-2021:2451-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_401-4.3.1SUSE-SU-2021:2451-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.147.1SUSE-SU-2021:2451-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.77.1SUSE-SU-2021:1891-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.74.1SUSE-SU-2021:1913-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.75.1SUSE-SU-2021:2421-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-197.92.1SUSE-SU-2021:1912-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 3 morekernel-default5.3.18-24.67.3SUSE-SU-2021:1890-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.207.1SUSE-SU-2025:01982-1
84 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2kernel-default-base5.3.18-lp152.78.1.lp152.8.34.1openSUSE-SU-2021:0843-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.78.1openSUSE-SU-2021:0843-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.14.1openSUSE-SU-2021:0947-1
openSUSELeap 15.3kernel-64kb, kernel-docs, kernel-debug and 5 more5.3.18-59.5.2openSUSE-SU-2021:1977-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-38.3.1openSUSE-SU-2021:1975-1
openSUSELeap 15.3kernel-default-base5.3.18-59.5.2.18.2.2openSUSE-SU-2021:1977-1
openSUSELeap 15.3kernel-syms, kernel-obs-qa, kernel-obs-build5.3.18-59.5.1openSUSE-SU-2021:1977-1
AlmaLinux8kernel-tools-libs-devel4.18.0-305.10.2.el8_4ALSA-2021:2714
Rocky Linux8kernel0:4.18.0-305.10.2.el8_4RLSA-2021:2714
Azure Linux2kernel5.10.78.1-1AZL-6560

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

To mitigate these vulnerabilities on the operating system level, disable the Bluetooth functionality via blocklisting kernel modules in the Linux kernel. The kernel modules can be prevented from being loaded by using system-wide modprobe rules. Instructions on how to disable Bluetooth modules are available on the Customer Portal at https://access.redhat.com/solutions/2682931.

Alternatively, Bluetooth can be disabled within the hardware or at the BIOS level which will also provide effective mitigation as the kernel will not be able to detect that Bluetooth hardware is present on the system.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportkernel-0:2.6.32-754.43.1.el6Fixed 2022-01-18RHSA-2022:0157
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.41.1.rt56.1181.el7Fixed 2021-08-31RHSA-2021:3328
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.41.1.el7Fixed 2021-08-31RHSA-2021:3327
Red Hat Enterprise Linux 7kpatch-patchFixed 2021-08-31RHSA-2021:3381
Red Hat Enterprise Linux 7.2 Advanced Update Supportkernel-0:3.10.0-327.100.1.el7Fixed 2021-08-31RHSA-2021:3399
Red Hat Enterprise Linux 7.3 Advanced Update Supportkernel-0:3.10.0-514.92.1.el7Fixed 2021-08-31RHSA-2021:3321
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.94.1.el7Fixed 2021-10-05RHSA-2021:3725
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.80.1.el7Fixed 2021-08-31RHSA-2021:3320
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.80.1.el7Fixed 2021-08-31RHSA-2021:3320
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.80.1.el7Fixed 2021-08-31RHSA-2021:3320
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskpatch-patchFixed 2021-08-31RHSA-2021:3392
Red Hat Enterprise Linux 7.7 Advanced Update Supportkernel-0:3.10.0-1062.56.1.el7Fixed 2021-09-14RHSA-2021:3522
Red Hat Enterprise Linux 7.7 Telco Extended Update Supportkernel-0:3.10.0-1062.56.1.el7Fixed 2021-09-14RHSA-2021:3522
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskernel-0:3.10.0-1062.56.1.el7Fixed 2021-09-14RHSA-2021:3522
Red Hat Enterprise Linux 7.7 Update Services for SAP Solutionskpatch-patchFixed 2021-09-14RHSA-2021:3523
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-305.10.2.rt7.83.el8_4Fixed 2021-07-20RHSA-2021:2715
Red Hat Enterprise Linux 8kernel-0:4.18.0-305.10.2.el8_4Fixed 2021-07-20RHSA-2021:2714
Red Hat Enterprise Linux 8kpatch-patchFixed 2021-07-21RHSA-2021:2716
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32399.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON