{"id":"CVE-2026-90254","aliases":["CVE-2026-90254"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: free the advertising instance on the failure and cancel paths\n\nadv_timeout_expire() hands a kmalloc()ed instance byte to\nhci_cmd_sync_queue() with a NULL destroy callback, and only\nadv_timeout_expire_sync() frees it. That leaks on two paths:\n\n - the return value is not checked, and hci_cmd_sync_queue() does not\n   take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM);\n\n - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry()\n   does not free entry->data when there is no destroy callback.\n   hci_cmd_sync_clear() cancels every pending entry when the controller\n   is unregistered.\n\nFree the buffer from a destroy callback, and in the caller when the entry\ncould not be queued at all.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: free the advertising instance on the failure and cancel paths\n\nadv_timeout_expire() hands a kmalloc()ed instance byte to\nhci_cmd_sync_queue() with a NULL destroy callback, and only\nadv_timeout_expire_sync() frees it. That leaks on two paths:\n\n - the return value is not checked, and hci_cmd_sync_queue() does not\n   take ownership when it fails (-ENETDOWN, -ENODEV, -ENOMEM);\n\n - a cancelled entry is not released, as _hci_cmd_sync_cancel_entry()\n   does not free entry->data when there is no destroy callback.\n   hci_cmd_sync_clear() cancels every pending entry when the controller\n   is unregistered.\n\nFree the buffer from a destroy callback, and in the caller when the entry\ncould not be queued at all.","source":"cvelist"}],"published":"2026-09-17T16:07:54.123Z","modified":"2026-10-19T09:19:17.390Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"c2019224a766245b7db39d87fdfe84c3fdc879d9","status":"affected"},{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"193182c6467f508a8a61d5db506d796ffed6eee6","status":"affected"},{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"2e3d827cd56865c14f6ca118bbccd7801091fb21","status":"affected"},{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"9c3b6c1413bd0b4993642d987616331f84d9b7f5","status":"affected"},{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"bb5ca1cc7744c41c59002bd6523714a685ae6595","status":"affected"},{"type":"git","introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","fixed":"120d8dc042e3d45073bb6e50ee7b058a0b182627","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c2019224a766245b7db39d87fdfe84c3fdc879d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90254","url":"https://www.cve.org/CVERecord?id=CVE-2026-90254","licence":"CVE Terms of Use","modified":"2026-10-19T09:00:30.990Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90254","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90254","licence":"Public domain","modified":"2026-10-19T09:19:17.390Z"}],"updatedAt":"2026-11-25T22:59:39.358Z","epss":{"score":0.00206,"percentile":0.11211,"date":"2026-12-01T12:00:22.000Z"}}