Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilityprivilege-escalation-methodwidely-deployed-product-advisoryproof-of-concept-release

Linux Kernel Bluetooth L2CAP Use-After-Free Enables Local Privilege Escalation

Vulnerability Disclosure · 19 sources · Updated 3mo ago · First seen Jul 18, 2023

Linux Kernel Bluetooth L2CAP Use-After-Free Enables Local Privilege Escalation

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

13 events · Feb 21, 2023 – Jul 18, 2023
  1. Reported Jul 18, 20233y ago

    Red Hat releases RHEL 7 kpatch fix for CVE-2022-3564

    Red Hat released RHSA-2023:4215, providing a kpatch-patch fix for CVE-2022-3564 on Red Hat Enterprise Linux 7.

    CVE-2022-3564 - Red Hat Customer Portal
  2. Jul 18, 20233y ago

    Red Hat fixes RHEL 7 kernel and kernel-rt packages

    Red Hat released RHSA-2023:4150 for RHEL 7 kernel-rt and RHSA-2023:4151 for the RHEL 7 kernel, addressing the L2CAP Bluetooth use-after-free flaw CVE-2022-3564.

    CVE-2022-3564 - Red Hat Customer Portal
  3. Jul 11, 20233y ago

    Red Hat fixes RHEL 7.4 and 7.6 AUSA kernels

    Red Hat released RHSA-2023:4020 and RHSA-2023:4021, addressing CVE-2022-3564 in RHEL 7.4 and RHEL 7.6 Advanced Update Support kernels.

    CVE-2022-3564 - Red Hat Customer Portal
  4. Jun 5, 20233y ago

    Red Hat releases RHEL 8.6 kpatch fix for CVE-2022-3564

    Red Hat issued RHSA-2023:3431, an Important security update for the kpatch-patch live kernel module on RHEL 8.6 EUS, ELL, AUS, TUS, and SAP Update Services variants. The live patch fixes the Bluetooth L2CAP use-after-free flaw CVE-2022-3564 and the procfs stack-overflow flaw CVE-2022-4378.

    RHSA-2023:3431 - Security Advisory - Red Hat Customer Portal
  5. May 23, 20234y ago

    Red Hat issues RHEL 7.7 fixes for CVE-2022-3564

    Red Hat released RHSA-2023:3277 for the RHEL 7.7 Advanced Update Support kernel and RHSA-2023:3278 for the RHEL 7.7 SAP Solutions kpatch-patch package.

    CVE-2022-3564 - Red Hat Customer Portal
  6. May 16, 20234y ago

    Red Hat fixes RHEL 8 kernel-rt for CVE-2022-3564

    Red Hat released RHSA-2023:2736, fixing CVE-2022-3564 in the Red Hat Enterprise Linux 8 kernel-rt package.

    CVE-2022-3564 - Red Hat Customer Portal
  7. Reported Mar 30, 20234y ago

    Red Hat closes CVE-2023-0266 after issuing RHEL fixes

    Red Hat closed its CVE-2023-0266 case after delivering errata for the ALSA snd_ctl_elem_read use-after-free vulnerability, including fixes across affected RHEL 8 and RHEL 9 streams and Red Hat Virtualization 4 for RHEL 8. The flaw could allow a privileged local attacker to leak kernel information.

    2163379 - (CVE-2023-0266) CVE-2023-0266 ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
  8. Mar 23, 20234y ago

    Red Hat releases RHEL 9.0 kpatch fix for CVE-2022-3564

    Red Hat issued RHSA-2023:1435, updating the kpatch-patch live kernel module for RHEL 9.0 Extended Update Support and SAP Update Services. The advisory fixes CVE-2022-3564 along with four other Linux-kernel vulnerabilities without requiring a conventional kernel reboot.

    RHSA-2023:1435 - Security Advisory - Red Hat Customer Portal
  9. Mar 15, 20234y ago

    Red Hat releases RHEL 8.4 kpatch fix for CVE-2022-3564

    Red Hat issued RHSA-2023:1251, an Important security advisory updating the kpatch-patch live kernel module for RHEL 8.4 EUS and associated channels. The live patch remediates CVE-2022-3564 and CVE-2022-4378 on x86_64 and ppc64le systems.

    RHSA-2023:1251 - Security Advisory - Red Hat Customer Portal
  10. Mar 14, 20234y ago

    Red Hat fixes RHEL 8.4 kernel for CVE-2022-3564

    Red Hat issued RHSA-2023:1221 for the RHEL 8.4 kernel in Extended Update Support and related channels. The update to kernel-4.18.0-305.82.1.el8_4 fixes CVE-2022-3564, CVE-2022-4378, and CVE-2022-4269; affected systems must be rebooted for the fixes to take effect.

    RHSA-2023:1221 - Security Advisory - Red Hat Customer Portal
  11. Feb 28, 20234y ago

    Red Hat fixes CVE-2022-49910 in RHEL 9 kernel

    Red Hat released RHSA-2023:0951 to fix CVE-2022-49910, a Bluetooth L2CAP use-after-free vulnerability, in the RHEL 9 kernel. The flaw involves a race between packet reassembly and socket receive processing that can leave code accessing a freed SKB control buffer.

    CVE-2022-49910 - Red Hat Customer Portal
  12. Feb 21, 20234y ago

    Red Hat fixes RHEL 8.1 SAP kernel for CVE-2022-3564

    Red Hat issued RHSA-2023:0856 for RHEL 8.1 Update Services for SAP Solutions, updating kernel packages to version 4.18.0-147.80.1.el8_1. The update fixes CVE-2022-2964, CVE-2022-3564, and CVE-2022-4378 on x86_64 and Power LE ppc64le systems; administrators must reboot after installation.

    RHSA-2023:0856 - Security Advisory - Red Hat Customer Portal
  13. Feb 21, 20234y ago

    Red Hat releases RHEL 8.1 SAP kpatch fix for CVE-2022-3564

    Red Hat issued RHSA-2023:0858 for the RHEL 8.1 Update Services for SAP Solutions kpatch-patch module. The live patch remediates CVE-2022-3564, CVE-2022-2964, and CVE-2022-4378 for x86_64 and Power LE ppc64le deployments.

    RHSA-2023:0858 - Security Advisory - Red Hat Customer Portal
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

3 linked
Linux KernelRed Hat Enterprise LinuxLinux Kernel
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.