{"id":"CVE-2026-90254","state":"PUBLISHED","title":"Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths","description":"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.","publishedAt":"2026-09-17T16:07:54.123Z","updatedAt":"2026-10-19T09:00:30.990Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"c2019224a766245b7db39d87fdfe84c3fdc879d9","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"193182c6467f508a8a61d5db506d796ffed6eee6","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"2e3d827cd56865c14f6ca118bbccd7801091fb21","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"9c3b6c1413bd0b4993642d987616331f84d9b7f5","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"bb5ca1cc7744c41c59002bd6523714a685ae6595","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"120d8dc042e3d45073bb6e50ee7b058a0b182627","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90254.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90254","state":"PUBLISHED","datePublished":"2026-09-17T16:07:54.123Z","dateUpdated":"2026-10-19T09:00:30.990Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.796Z"},"containers":{"cna":{"title":"Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"c2019224a766245b7db39d87fdfe84c3fdc879d9","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"193182c6467f508a8a61d5db506d796ffed6eee6","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"2e3d827cd56865c14f6ca118bbccd7801091fb21","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"9c3b6c1413bd0b4993642d987616331f84d9b7f5","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"bb5ca1cc7744c41c59002bd6523714a685ae6595","versionType":"git"},{"version":"c249ea9b4309cf3250c5bbb42a05d38d0ed9071c","status":"affected","lessThan":"120d8dc042e3d45073bb6e50ee7b058a0b182627","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c2019224a766245b7db39d87fdfe84c3fdc879d9"},{"url":"https://git.kernel.org/stable/c/193182c6467f508a8a61d5db506d796ffed6eee6"},{"url":"https://git.kernel.org/stable/c/2e3d827cd56865c14f6ca118bbccd7801091fb21"},{"url":"https://git.kernel.org/stable/c/9c3b6c1413bd0b4993642d987616331f84d9b7f5"},{"url":"https://git.kernel.org/stable/c/bb5ca1cc7744c41c59002bd6523714a685ae6595"},{"url":"https://git.kernel.org/stable/c/120d8dc042e3d45073bb6e50ee7b058a0b182627"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:00:30.990Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}