All reports
Low

kernel: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-90254

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths adv_timeout_expire() hands a kmalloc()ed instance byte to hci_cmd_sync_queue() with a NULL destroy callback, and only adv_timeout_expire_sync() frees it. That leaks on two paths:

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

  • a cancelled entry is not released, as _hci_cmd_sync_cancel_entry() does not free entry->data when there is no destroy callback. hci_cmd_sync_clear() 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.

A flaw was found in the Linux kernel's Bluetooth subsystem. Specifically, a memory leak occurs in the hci_sync component when an advertising instance is not properly freed during certain failure or cancellation scenarios. This happens because the adv_timeout_expire() function passes a memory-allocated instance without a proper mechanism to release the memory if the operation fails or is cancelled. Over time, this unreleased memory could accumulate, potentially leading to a Denial of Service (DoS) condition where the system becomes unstable or unresponsive.