CVE-2026-90252: Bluetooth: MGMT: free the HCI command when it is cancelled

Published Sep 17, 2026
·
Updated

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

Bluetooth: MGMT: free the HCI command when it is cancelled

mgmthcicmdsync() queues the pending command with a NULL destroy callback, so it is only freed if sendhcicmdsync() runs. A cancelled entry is leaked, as hcicmdsynccancelentry() does not release entry->data when there is no destroy callback, and hcicmdsyncclear() cancels every pending entry when the controller is unregistered. Nothing else reclaims it either: mgmtpendingnew() does not put the command on hdev->mgmtpending.

The leak also pins the socket reference taken by mgmtpendingnew(), so the mgmt socket is never released.

Free the command from a destroy callback. The now-empty done label is replaced by a direct return.

Event History

Sep 17, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
Description

Frequently Asked Questions

1

Under what condition can the resource leak be triggered?

The leak occurs when a pending HCI command created through mgmt_hci_cmd_sync() is cancelled before send_hci_cmd_sync() runs. Controller unregistration triggers hci_cmd_sync_clear(), which cancels pending entries.

2

What resources remain allocated after cancellation?

The cancelled command data is not freed because the pending command has no destroy callback. The leak also retains the socket reference acquired by mgmt_pending_new(), preventing the associated MGMT socket from being released.

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