CVE-2026-90254 PUBLISHED

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

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to c2019224a766245b7db39d87fdfe84c3fdc879d9 (excl.)
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to 193182c6467f508a8a61d5db506d796ffed6eee6 (excl.)
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to 2e3d827cd56865c14f6ca118bbccd7801091fb21 (excl.)
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to 9c3b6c1413bd0b4993642d987616331f84d9b7f5 (excl.)
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to bb5ca1cc7744c41c59002bd6523714a685ae6595 (excl.)
  • affected from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c to 120d8dc042e3d45073bb6e50ee7b058a0b182627 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.1 is affected
  • unaffected from 0 to 6.1 (excl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References