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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:54.123Z
- Modified: 2026-10-19T09:19:17.390Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before c2019224a766245b7db39d87fdfe84c3fdc879d9; from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before 193182c6467f508a8a61d5db506d796ffed6eee6; from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before 2e3d827cd56865c14f6ca118bbccd7801091fb21; from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before 9c3b6c1413bd0b4993642d987616331f84d9b7f5; from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before bb5ca1cc7744c41c59002bd6523714a685ae6595; from c249ea9b4309cf3250c5bbb42a05d38d0ed9071c before 120d8dc042e3d45073bb6e50ee7b058a0b182627; 6.1 (not affected: before 6.1; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c2019224a766245b7db39d87fdfe84c3fdc879d9>
- <https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6>
- <https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21>
- <https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5>
- <https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595>
- <https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627>

## Sources

- CVE List: [CVE-2026-90254](https://www.cve.org/CVERecord?id=CVE-2026-90254), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90254](https://nvd.nist.gov/vuln/detail/CVE-2026-90254), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90254 · Whole record: https://cve.day/CVE-2026-90254.json · Rebuilt by cve.day 2026-11-25T22:59:39.358Z
