Linux Kernel Bluetooth L2CAP Use-After-Free Enables Local Privilege Escalation
Vulnerability Disclosure · 19 sources · Updated 3mo ago · First seen Jul 18, 2023

CVE-2022-3564 is a use-after-free flaw in the Linux kernel Bluetooth L2CAP implementation, in l2cap_reassemble_sdu() within net/bluetooth/l2cap_core.c. A local user or an attacker able to establish a Bluetooth connection can use two malicious L2CAP packet flows to trigger a race condition, potentially crashing the host or escalating privileges. Red Hat rates the issue CVSS 7.1; exploitation requires low privileges and winning a narrow timing window, and no practical exploit was known.
The upstream fix is available in commit 89f9f3cb86b1c63badaf392a83dd661d56cc50b1, with Fedora remediating it in Linux 6.0.8 stable updates and Red Hat issuing fixes for affected RHEL 7, 8, and 9 channels, including RHSA-2023:4150 and RHSA-2023:4151. Organizations unable to patch should disable Bluetooth at the hardware or BIOS level, or block Bluetooth kernel modules such as bnep, bluetooth, and btusb and disable the Bluetooth service.
Why it matters
Impact assessment
CVE-2022-3564 can let a local user or an attacker within Bluetooth radio range crash an unpatched Linux host or potentially elevate privileges to kernel-level control. Exposure is limited to systems with the vulnerable Bluetooth L2CAP code reachable and Bluetooth enabled, but can affect enterprise endpoints, servers, appliances, and specialized RHEL deployments where Bluetooth hardware or modules are present.
- Severity: Red Hat rates the flaw Important, CVSS v3.1 7.1.
- Consequences: denial of service through host crash; potential confidentiality, integrity, and availability loss if privilege escalation is achieved.
- Scope: adjacent-network attack surface rather than Internet-wide remote exposure; local access is also a viable prerequisite.
- Known exploitation: Red Hat reported no known practical exploit at the time of assessment. The required race condition creates a narrow timing window, but does not remove the need to remediate exposed systems.
- Affected RHEL populations include supported and extended-support RHEL 7, RHEL 8, and RHEL 9 channels, including Real Time, AUS, TUS, EUS, ELS/Long Life, SAP Solutions, NFV, and some Red Hat Virtualization deployments. Fedora remediated the issue in Linux 6.0.8 stable updates.
Structured facts
- Entity: Linux kernel Bluetooth L2CAP subsystem
- Entity: Red Hat Enterprise Linux
- Vulnerability: CVE-2022-3564
- CWE: CWE-416, Use After Free
- Impacted function:
l2cap_reassemble_sdu() - Impacted source file:
net/bluetooth/l2cap_core.c - Upstream remediation: commit
89f9f3cb86b1c63badaf392a83dd661d56cc50b1 - Red Hat tracking issue: Bugzilla
2150999/ VDB-211087 - Red Hat advisories: RHSA-2023:4150, RHSA-2023:4151, RHSA-2023:4215; additional fixes cover RHEL 7/8/9 support streams.


