CVE-2026-99015: Bluetooth: hci_sock: Serialize dead-device detachment

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hcisock: Serialize dead-device detachment

Rebinding an HCI socket after its controller is unregistered can race monitor control replay and crash the kernel. hcisockbind() clears hcipi(sk)->hdev and drops the device reference under only the socket lock, whereas sendmonitorcontrolreplay() holds hcisklist.lock for reading.

Replay can observe a non-NULL hdev, then bind can clear it and drop the last reference before createmonitorctrlopen() reads hdev->id. This can cause a NULL pointer dereference if the pointer is reloaded, or a use-after-free if the old pointer is retained.

The kernel reported:

KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f] RIP: 0010:createmonitorctrlopen+0x579/0x800 Call Trace: hcisockbind+0xd96/0x1190 sysbind+0x166/0x200 x64sysbind+0x6d/0xb0 dosyscall64+0xdd/0x4a0 entrySYSCALL64afterhwframe+0x77/0x7f

The same missing serialization lets hcisendtosock() select a socket for the old device and queue its frame after bind has detached the socket or installed a new binding.

Take hcisklist.lock for writing when clearing the device pointer and resetting the socket state. This waits for existing replay and delivery readers to finish before detachment and prevents later readers from using the old binding. Keep hcidevput() outside the critical section because the final device release can sleep.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Serialize HCI dead-device detachment by taking hci_sk_list.lock for writing while clearing hci_pi(sk)->hdev, and keep hci_dev_put() outside the critical section because the final device release can sleep.

Event History

Oct 23, 2026
CVE Published
via MITRE·12:20 PM
Data Sourced
via MITRE·12:20 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203