Bluetooth: hci_sync: free the advertising instance on the failure and cancel paths
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.
CVE-2026-90254
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90254
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "c2019224a766245b7db39d87fdfe84c3fdc879d9",
"versionType": "git"
},
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "193182c6467f508a8a61d5db506d796ffed6eee6",
"versionType": "git"
},
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "2e3d827cd56865c14f6ca118bbccd7801091fb21",
"versionType": "git"
},
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "9c3b6c1413bd0b4993642d987616331f84d9b7f5",
"versionType": "git"
},
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "bb5ca1cc7744c41c59002bd6523714a685ae6595",
"versionType": "git"
},
{
"status": "affected",
"version": "c249ea9b4309cf3250c5bbb42a05d38d0ed9071c",
"lessThan": "120d8dc042e3d45073bb6e50ee7b058a0b182627",
"versionType": "git"
}
],
"programFiles": [
"net/bluetooth/hci_sync.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/bluetooth/hci_sync.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90254
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36620 · Revision 1
- Added to Heist Feed
- Publisher date