{"id":"CVE-2026-90254","summary":"Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths","details":"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-\u003edata 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.","modified":"2026-09-19T03:47:25.699429525Z","published":"2026-09-17T16:07:54.123Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90254.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627"},{"type":"WEB","url":"https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2019224a766245b7db39d87fdfe84c3fdc879d9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90254.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90254"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c"},{"fixed":"c2019224a766245b7db39d87fdfe84c3fdc879d9"},{"fixed":"193182c6467f508a8a61d5db506d796ffed6eee6"},{"fixed":"2e3d827cd56865c14f6ca118bbccd7801091fb21"},{"fixed":"9c3b6c1413bd0b4993642d987616331f84d9b7f5"},{"fixed":"bb5ca1cc7744c41c59002bd6523714a685ae6595"},{"fixed":"120d8dc042e3d45073bb6e50ee7b058a0b182627"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90254.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90254.json"}}],"schema_version":"1.9.0"}