Shellfeed logo Shellfeed

CVE-2026-90254 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 10.7).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [c249ea9b4309cf3250c5bbb42a05d38d0ed9071c – c2019224a766245b7db39d87fdfe84c3fdc879d9]
  • Linux Kernel [6.1.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References