Cloudanix VulnDB

CVE-2026-64433

High · 7.8

CVSS

7.8

EPSS

0.1%

Published

Jul 25, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in the Linux Bluetooth code can let someone with local Bluetooth management access crash the system by triggering a timing bug.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Use After Free
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

This is a Linux kernel use-after-free in the Bluetooth Management (MGMT) path. The vulnerable code looks up an hci_conn_params object for a Bluetooth LE device and later reads params->flags without holding the required hci_dev_lock. A concurrent MGMT remove-device operation can delete and free that same connection-parameter object before it is read by add_device_complete(), causing the kernel to dereference freed slab memory from the hci_cmd_sync_work worker. The most likely technical outcome is a kernel crash or panic, especially on systems with memory debugging enabled, but kernel use-after-free conditions can sometimes be shaped into broader memory corruption, information disclosure, or privilege-escalation primitives depending on allocator behavior, timing, hardening, and attacker control of adjacent allocations.

Why it matters to the business

Systems with enabled Bluetooth support may be exposed to local denial-of-service risk if an attacker or untrusted workload can access the Bluetooth management interface. Successful exploitation could crash affected Linux hosts, interrupt endpoint, workstation, kiosk, IoT, embedded, or server operations that include Bluetooth-capable kernels, and require reboot or recovery. There is currently no CISA KEV listing, no ransomware association, low EPSS score, and no public exploit maturity reported, so broad active exploitation is not indicated; however, kernel bugs still deserve timely remediation because they affect system stability and may become more serious if exploit techniques emerge.

How an attack unfolds

An attacker needs the ability to issue Bluetooth MGMT commands to the local kernel, typically through the Linux Bluetooth HCI management socket and commonly requiring elevated local privileges or granted network/Bluetooth administration capabilities. The attacker repeatedly adds a Bluetooth LE device entry so that hci_conn_params is allocated, then races the asynchronous add-device completion worker against a remove-device operation. If remove_device() frees the connection-parameter object after add_device_complete() has looked it up but before it reads params->flags, the worker dereferences freed memory. In a straightforward exploitation scenario this produces a KASAN report, kernel oops, panic, or service disruption. More advanced exploitation would attempt to win the race reliably and reclaim the freed slab object with attacker-influenced data before the read, but no public weaponized exploitation is indicated by the provided intelligence.

How to fix it

Update the Linux kernel to a version that includes the Bluetooth MGMT locking fix for add_device_complete(), which holds hci_dev_lock across hci_conn_params_lookup(), the params->flags read, and the associated event emission. Because no product-specific fixed versions were provided, use the security update stream for the affected distribution, appliance, embedded build, or kernel vendor and verify that the patch for this issue is included. If immediate patching is not possible, reduce exposure by disabling Bluetooth where it is not required, unloading or blacklisting Bluetooth-related kernel modules, disabling Bluetooth services, and preventing untrusted users or containers from receiving capabilities such as CAP_NET_ADMIN that may allow access to Bluetooth management sockets. On containerized or multi-tenant Linux systems, avoid passing through Bluetooth devices or broad network administration capabilities to untrusted workloads.

How to confirm the fix worked

Confirm the running kernel includes the upstream or vendor backport that changes the Bluetooth MGMT add_device_complete() locking behavior. Validate by checking the installed kernel package changelog, vendor advisory, or source tree for the fix in net/bluetooth/mgmt.c around add_device_complete(). Ensure the active booted kernel is the patched kernel, not merely installed on disk. Where feasible, confirm Bluetooth is disabled on systems that do not require it by checking loaded modules, active Bluetooth services, and available HCI devices. For exposure validation, verify whether local users or workloads can open Bluetooth HCI management/control sockets or hold capabilities that would permit MGMT add/remove-device commands.

Typical attack path

  1. Gain local execution on a Linux system with Bluetooth kernel support enabled.
  2. Obtain permission to open and send commands to the Bluetooth HCI MGMT/control interface, such as through elevated privileges or a granted administration capability.
  3. Send MGMT add-device operations that allocate Bluetooth LE connection-parameter state.
  4. Concurrently send MGMT remove-device operations that free the same hci_conn_params object while asynchronous add-device completion is still pending.
  5. Win the race so add_device_complete() reads params->flags after the object has been freed.
  6. Cause a kernel memory-safety fault, oops, panic, or potentially attempt further heap manipulation if pursuing a more advanced kernel exploitation path.

How to detect it

Detection is primarily forensic because this vulnerability does not produce a unique network signature and exploitation occurs through local kernel Bluetooth management operations. Review kernel logs from journalctl, dmesg, /var/log/kern.log, /var/log/messages, crash dumps, pstore, and kdump/vmcore artifacts for use-after-free, KASAN, BUG, oops, panic, or slab corruption messages referencing Bluetooth MGMT code. High-value strings include add_device_complete, hci_conn_params, hci_conn_params_free, hci_conn_params_lookup, hci_cmd_sync_work, MGMT_OP_REMOVE_DEVICE, add_device, remove_device, and net/bluetooth/mgmt.c. If auditd, eBPF, or endpoint telemetry is available, look for processes opening AF_BLUETOOTH/HCI sockets and issuing frequent add/remove Bluetooth management operations shortly before a crash. In containerized environments, correlate crash timing with containers or services that had CAP_NET_ADMIN, host networking, or Bluetooth device passthrough. Absence of these artifacts does not prove non-exploitation, especially if the system did not retain kernel logs across reboot.

  • BUG: KASAN: slab-use-after-free in add_device_complete
  • slab-use-after-free in add_device_complete
  • add_device_complete+
  • net/bluetooth/mgmt.c:7671
  • hci_cmd_sync_work
  • Workqueue: hci0 hci_cmd_sync_work
  • hci_conn_params_lookup
  • hci_conn_params_free
  • hci_conn_params_add
  • MGMT_OP_REMOVE_DEVICE
  • remove_device()
  • add_device+
  • Bluetooth: MGMT
  • Read of size 1
  • params->flags
  • AF_BLUETOOTH
  • HCI_CHANNEL_CONTROL

What your security team should do

  • Prioritize patching Bluetooth-enabled Linux systems, especially endpoints, embedded devices, kiosks, and hosts where local users or workloads may have elevated capabilities.
  • Inventory systems with Bluetooth hardware, loaded Bluetooth kernel modules, active bluetoothd service, or exposed HCI devices.
  • Disable Bluetooth support on servers and production systems that do not require it.
  • Review container, sandbox, and service configurations to remove unnecessary CAP_NET_ADMIN, host networking, device passthrough, and Bluetooth socket access.
  • Monitor kernel logs for KASAN, use-after-free, oops, panic, or BUG messages referencing add_device_complete, hci_conn_params, hci_cmd_sync_work, or net/bluetooth/mgmt.c.
  • Treat unexplained Bluetooth-related kernel crashes as potentially security-relevant and preserve kernel logs, crash dumps, and audit telemetry for investigation.
  • Track vendor kernel advisories because fixed version names will vary by distribution and backport stream.

The record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix UAF of hci_conn_params in add_device_complete add_device_complete() runs from the hci_cmd_sync_work kworker, which holds only hci_req_sync_lock and *not* hci_dev_lock. It calls hci_conn_params_lookup() and then dereferences the returned object (params->flags) without taking hci_dev_lock: params = hci_conn_params_lookup(hdev, &cp->addr.bdaddr, le_addr_type(cp->addr.type)); ... device_flags_changed(NULL, hdev, &cp->addr.bdaddr, cp->addr.type, hdev->conn_flags, params ? params->flags : 0); hci_conn_params_lookup() walks hdev->le_conn_params and is documented to require hdev->lock. A concurrent MGMT_OP_REMOVE_DEVICE (remove_device()), which does run under hci_dev_lock, can call hci_conn_params_free() to list_del() and kfree() the very object the lookup returned, so the subsequent params->flags read touches freed memory [0]. Hold hci_dev_lock() across the hci_conn_params_lookup() and the read of params->flags (and the matching event emission) so the lookup result cannot be freed by a concurrent remove_device() before it is used, honouring the locking contract of hci_conn_params_lookup(). [0]: (trailing page/memory-state dump trimmed) BUG: KASAN: slab-use-after-free in add_device_complete+0x358/0x3d8 net/bluetooth/mgmt.c:7671 Read of size 1 at addr ffff000017ab26c1 by task kworker/u9:8/388 CPU: 1 UID: 0 PID: 388 Comm: kworker/u9:8 Not tainted 7.0.11 #20 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: hci0 hci_cmd_sync_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xb4/0xd4 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x118/0x5d8 mm/kasan/report.c:482 kasan_report+0xb0/0xf4 mm/kasan/report.c:595 __asan_report_load1_noabort+0x20/0x2c mm/kasan/report_generic.c:378 add_device_complete+0x358/0x3d8 net/bluetooth/mgmt.c:7671 hci_cmd_sync_work+0x14c/0x240 net/bluetooth/hci_sync.c:334 process_one_work+0x628/0xd38 kernel/workqueue.c:3289 process_scheduled_works kernel/workqueue.c:3372 [inline] worker_thread+0x7a8/0xac0 kernel/workqueue.c:3453 kthread+0x39c/0x444 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Allocated by task 3401: kasan_save_stack+0x3c/0x64 mm/kasan/common.c:57 kasan_save_track+0x20/0x3c mm/kasan/common.c:78 kasan_save_alloc_info+0x40/0x54 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0xd4/0xd8 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x1b0/0x458 mm/slub.c:5385 kmalloc_noprof include/linux/slab.h:950 [inline] kzalloc_noprof include/linux/slab.h:1188 [inline] hci_conn_params_add+0x10c/0x4b0 net/bluetooth/hci_core.c:2279 hci_conn_params_set net/bluetooth/mgmt.c:5162 [inline] add_device+0x5b4/0xa54 net/bluetooth/mgmt.c:7755 hci_mgmt_cmd net/bluetooth/hci_sock.c:1721 [inline] hci_sock_sendmsg+0x10b4/0x1dd0 net/bluetooth/hci_sock.c:1841 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0xe0/0x128 net/socket.c:742 sock_write_iter+0x250/0x390 net/socket.c:1195 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x66c/0xab0 fs/read_write.c:688 ksys_write+0x1fc/0x24c fs/read_write.c:740 __do_sys_write fs/read_write.c:751 [inline] __se_sys_write fs/read_write.c:748 [inline] __arm64_sys_write+0x70/0xa4 fs/read_write.c:748 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x84/0x2a8 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xe4/0x294 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x44/0x5c arch/arm64/kernel/syscall.c:151 el0_svc+0x38/0xac arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0xa0/0xe4 arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Freed by task 3740: kasan_save_stack+0x3c/0x64 ---truncated---

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities