Skip to main content
← All vulnerabilities
CVE-2026-53252

Bluetooth: fix memory leak in error path of hci_alloc_dev()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.210, 6.1.176, 6.6.143, 6.12.94, 5.11, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix memory leak in error path of hci_alloc_dev() Early failures in Bluetooth HCI UART configuration leak SRCU percpu memory. When device initialization fails before hci_register_dev() completes, the HCI_UNREGISTER flag is never set. As a result, when the device reference count reaches zero, bt_host_release() evaluates this flag as false and falls back to a direct kfree(hdev). Because hci_release_dev() is bypassed, the SRCU struct initialized early in hci_alloc_dev() is never cleaned up, resulting in a leak of percpu memory. Fix the leak by explicitly calling cleanup_srcu_struct() in the fallback (unregistered) branch of bt_host_release() before freeing the device.

Timeline

  1. CVE published

Affected versions

  • Linux Linux

    From 5.15.209 · fixed in 5.15.210; From 6.1.167 · fixed in 6.1.176; From 6.6.97 · fixed in 6.6.143; From 6.12.36 · fixed in 6.12.94; From 5.10.259 · fixed in 5.11; From 6.15.5 · fixed in 6.16

  • Linux Linux

    6.16

References 7

git.kernel.org