Skip to main content
Vulnerability Database/CVE-2026-93247

CVE-2026-93247: Linux Kernel Bluetooth Race Condition Flaw

CVE-2026-93247 is a race condition flaw in the Linux kernel Bluetooth subsystem that causes NULL pointer dereference in discovery operations. This article covers the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93247 Overview

CVE-2026-93247 is a NULL pointer dereference vulnerability in the Linux kernel's Bluetooth management (mgmt) subsystem. The flaw resides in how the discovery_state structure handles the uuid_count and uuids members without consistent locking. A race condition between hci_update_passive_scan_sync and start_service_discovery allows uuid_count to be non-zero while uuids is NULL. When mgmt_device_found subsequently invokes is_filter_match and eir_has_uuids, the kernel dereferences a NULL pointer and panics. The issue has been resolved upstream through added locking around the affected struct members.

Critical Impact

A local attacker or adjacent Bluetooth peer can trigger a kernel panic, causing a denial of service on affected Linux systems.

Affected Products

  • Linux kernel Bluetooth subsystem (mgmt interface)
  • Multiple stable kernel branches patched via upstream commits
  • Systems with active Bluetooth adapters performing service discovery

Discovery Timeline

  • 2026-09-24 - CVE-2026-93247 published to NVD
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93247

Vulnerability Analysis

The vulnerability stems from unsynchronized access to two related members of the discovery_state struct: uuid_count and uuids. The kernel reads and writes these fields in separate code paths without a shared lock, creating a window where their values can become inconsistent. One execution path can observe a non-zero uuid_count while uuids is still NULL or has already been freed.

This matches the [CWE-476] NULL Pointer Dereference pattern combined with a [CWE-362] race condition. The crash occurs in eir_has_uuids+0x2d8/0x590, called from is_filter_match and mgmt_device_found during processing of incoming Bluetooth LE advertisement reports in hci_rx_work.

Root Cause

The root cause is missing synchronization. hci_discovery_filter_clear resets uuid_count to zero outside of discovery.lock, while start_service_discovery assigns uuid_count before confirming that kmemdup() for uuids succeeded. If kmemdup returns NULL or preemption interleaves the two paths, consumers see a non-coherent (uuid_count, uuids) pair.

Attack Vector

An attacker within Bluetooth range can transmit crafted LE advertisement packets to influence the timing of process_adv_report and hci_le_adv_report_evt. Combined with legitimate user-space activity that toggles discovery filters through the mgmt socket, the race window opens and eir_has_uuids dereferences a NULL pointer, crashing the kernel.

The fix adds discovery.lock around every read and write of the uuid_count and uuids pair, and defers assignment of uuid_count in start_service_discovery until after a successful kmemdup allocation. See the upstream patches, including commit c3f63610 and commit f02c01cc, for the applied changes.

Detection Methods for CVE-2026-93247

Indicators of Compromise

  • Kernel oops entries referencing eir_has_uuids, is_filter_match, or mgmt_device_found in the call trace
  • Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 panics originating from hci_rx_work
  • Repeated Bluetooth stack restarts or bluetoothd service failures following LE scanning activity

Detection Strategies

  • Monitor /var/log/kern.log, dmesg, and journalctl -k for panics in the Bluetooth HCI RX workqueue
  • Correlate kernel crash dumps with recent Bluetooth discovery or mgmt socket activity from user-space
  • Audit running kernel versions across the fleet against the fixed stable branches listed in the upstream commits

Monitoring Recommendations

  • Forward kernel crash telemetry and kdump artifacts to a centralized log platform for pattern analysis
  • Alert on unexpected Bluetooth adapter resets or hci0 workqueue failures on servers and workstations
  • Track Bluetooth proximity events on sensitive endpoints where only authorized peripherals should operate

How to Mitigate CVE-2026-93247

Immediate Actions Required

  • Apply the latest stable Linux kernel update that includes the referenced upstream commits
  • Disable Bluetooth on systems that do not require it, particularly servers and infrastructure hosts
  • Restrict CAP_NET_ADMIN and access to the Bluetooth mgmt socket to trusted system components only

Patch Information

The fix is distributed across multiple stable kernel branches via the following commits: 18fda026, 59eecbe2, bbd262d2, c3f63610, ee2135a14, and f02c01cc. Install vendor-provided kernel packages that incorporate these fixes and reboot affected hosts.

Workarounds

  • Unload the Bluetooth kernel modules (bluetooth, btusb) on hosts that do not need Bluetooth connectivity
  • Blacklist Bluetooth modules via /etc/modprobe.d/ to prevent reload on boot
  • Stop and disable the bluetooth.service systemd unit until a patched kernel is installed
bash
# Disable Bluetooth stack until patched kernel is deployed
sudo systemctl stop bluetooth.service
sudo systemctl disable bluetooth.service
echo 'blacklist bluetooth' | sudo tee /etc/modprobe.d/disable-bluetooth.conf
echo 'blacklist btusb' | sudo tee -a /etc/modprobe.d/disable-bluetooth.conf
sudo modprobe -r btusb bluetooth

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.