CVE-2026-90254: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths

Published Sep 17, 2026
·
Updated

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

Bluetooth: hcisync: free the advertising instance on the failure and cancel paths

advtimeoutexpire() hands a kmalloc()ed instance byte to hcicmdsyncqueue() with a NULL destroy callback, and only advtimeoutexpiresync() frees it. That leaks on two paths:

- the return value is not checked, and hcicmdsyncqueue() does not take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM);

- a cancelled entry is not released, as hcicmdsynccancelentry() does not free entry->data when there is no destroy callback. hcicmdsyncclear() cancels every pending entry when the controller is unregistered.

Free the buffer from a destroy callback, and in the caller when the entry could not be queued at all.

Affected Software

1 affected component
Linux Linux kernel

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 conditions does the memory leak occur?

The leak occurs when advertising-timeout work allocates an instance byte and queuing the synchronous HCI command fails with -ENETDOWN, -ENODEV, or -ENOMEM. It also occurs when a queued entry is cancelled, including when pending entries are cleared during controller unregistration.

2

What operational situations may expose a system to this issue?

Systems using the affected Bluetooth advertising timeout path may leak memory when the Bluetooth controller is unavailable, removed, out of memory, or unregistered while relevant HCI command entries remain pending.

3

What does the fix change?

The fix supplies a destroy callback to free the allocated buffer when a queued entry is cancelled, and frees the buffer in the caller when the command entry cannot be queued at all.

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