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

CVE-2026-98734: Linux Kernel Bluetooth Use-After-Free

CVE-2026-98734 is a use-after-free flaw in Linux kernel Bluetooth that occurs when SCO and ISO scheduling accesses freed connections. This post explains its impact, 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-98734 Overview

CVE-2026-98734 is a use-after-free vulnerability in the Linux kernel Bluetooth subsystem, specifically within hci_core SCO and ISO scheduling. The flaw occurs because hci_low_sent() selects a connection under Read-Copy-Update (RCU) protection but drops the read lock before returning the connection to the scheduler. A concurrent teardown path (hci_abort_conn_sync()) can then free the connection while hci_sched_iso() or hci_sched_sco() continues to access it. Kernel Address Sanitizer (KASAN) reporting confirmed the slab-use-after-free in hci_low_sent triggered from hci_tx_work.

Critical Impact

Local attackers with the ability to establish and tear down Bluetooth ISO or SCO connections can trigger a race condition leading to kernel memory corruption, potentially enabling denial of service or privilege escalation.

Affected Products

  • Linux kernel versions containing the affected Bluetooth: hci_core SCO/ISO scheduling implementation
  • Distributions shipping unpatched upstream kernels with Bluetooth support enabled
  • Systems using Bluetooth Isochronous (ISO) or Synchronous Connection-Oriented (SCO) transports

Discovery Timeline

  • 2026-10-18 - CVE-2026-98734 published to the National Vulnerability Database (NVD)
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-98734

Vulnerability Analysis

The vulnerability is a use-after-free [CWE-416] race condition in the Linux kernel's Host Controller Interface (HCI) transmit path. The function hci_low_sent() performs connection selection within an RCU read-side critical section, then exits the critical section before the caller (hci_sched_iso() or hci_sched_sco()) consumes the returned connection pointer. Without lifetime protection, the connection can be removed from the hash and released concurrently.

The teardown runs on hdev->req_workqueue through hci_abort_conn_sync(), which calls hci_disconnect_sync() and hci_conn_del(). After synchronize_rcu() completes and queues are purged, kfree() releases the object. The TX worker on hdev->workqueue then accesses the freed memory in hci_quote_sent() or while dequeuing packets and updating conn->sent.

Root Cause

The root cause is insufficient synchronization between the TX scheduler and the connection teardown path. RCU protection ends inside hci_low_sent(), but the returned connection reference is used by the caller outside any lock. Because the transmit path can sleep, extending the RCU read-side critical section across transmission is not viable, leaving the window open for concurrent hci_conn_del().

Attack Vector

Triggering the race requires local access to a system with an active Bluetooth adapter and the ability to create and abort ISO or SCO connections, for example through iso_sock_connect() and hci_bind_bis(). An attacker racing connection teardown with active TX scheduling can cause the TX worker to dereference freed kernel memory. The KASAN trace shows allocation via __hci_conn_add() and freeing via hci_conn_del() reached from hci_cmd_sync_work().

The upstream fix holds hci_dev_lock() across connection selection and transmission in both SCO and ISO schedulers, serializing them with teardown. A new __hci_sched_sco() helper is introduced for callers that already hold the mutex, while the wrapper hci_sched_sco() preserves locking for direct calls from hci_tx_work().

Detection Methods for CVE-2026-98734

Indicators of Compromise

  • KASAN reports showing slab-use-after-free in hci_low_sent with call stacks involving hci_sched_iso, hci_sched_sco, or hci_tx_work
  • Unexpected kernel oops or panic traces originating from hci_quote_sent or Bluetooth TX workers
  • dmesg entries referencing freed objects allocated by __hci_conn_add and freed by hci_conn_del

Detection Strategies

  • Enable KASAN on test and staging kernels to catch the slab-use-after-free pattern described in the advisory
  • Audit running kernel versions against the fixed commits (101825c0, 1681f97a, 848a7a91, ecdb1c66, f997e03e) referenced in the upstream Git repository
  • Monitor for abnormal frequency of Bluetooth ISO/SCO connect and disconnect sequences from unprivileged processes

Monitoring Recommendations

  • Collect kernel crash dumps and forward Bluetooth subsystem traces to a centralized logging platform for anomaly review
  • Track iso_sock_connect and hci_bind_bis activity through audit subsystem rules on systems where Bluetooth is attack-surface relevant
  • Alert on repeated Bluetooth stack warnings or reconnection storms that may indicate race-condition exploitation attempts

How to Mitigate CVE-2026-98734

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced by commits 101825c0, 1681f97a, 848a7a91, ecdb1c66, and f997e03e or install vendor-provided kernel updates
  • Disable the Bluetooth stack on systems that do not require it by unloading the bluetooth and btusb modules
  • Restrict unprivileged access to Bluetooth sockets where feasible using Linux capabilities and seccomp profiles

Patch Information

The fix serializes SCO and ISO scheduling with connection teardown by holding hci_dev_lock() across both connection selection and transmission. The SCO scheduler body is refactored into __hci_sched_sco() for callers already holding the mutex, with a wrapper preserving locking semantics for hci_tx_work(). See the upstream commits: Kernel Commit 101825c0, Kernel Commit 1681f97a, Kernel Commit 848a7a91, Kernel Commit ecdb1c66, and Kernel Commit f997e03e.

Workarounds

  • Blacklist Bluetooth kernel modules on servers and endpoints with no operational Bluetooth requirement
  • Use rfkill block bluetooth to disable the radio where modules cannot be removed
  • Limit which users and services may open AF_BLUETOOTH sockets through mandatory access control policies such as SELinux or AppArmor
bash
# Disable Bluetooth stack on systems that do not require it
sudo rfkill block bluetooth
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.