Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor() KASAN reports that there's a use-after-free in hci_remove_adv_monitor(). Trawling through the disassembly, you can see that the complaint is from the access in bt_dev_dbg() under the HCI_ADV_MONITOR_EXT_MSFT case. The problem case happens because msft_remove_monitor() can end up freeing the monitor structure. Specifically: hci_remove_adv_monitor() -> msft_remove_monitor() -> msft_remove_monitor_sync() -> msft_le_cancel_monitor_advertisement_cb() -> hci_free_adv_monitor() Let's fix the problem by just stashing the relevant data when it's still valid.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.42, 6.4.7
- CVEs
- CVE-2023-54210
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:50 UTC · Revision 1
Source evidence
Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
core-osv · Original sourcePublished 30 Dec 2025, 12:11 UTC
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor() KASAN reports that there's a use-after-free in hci_remove_adv_monitor(). Trawling through the disassembly, you can see that the complaint is from the access in bt_dev_dbg() under the HCI_ADV_MONITOR_EXT_MSFT case. The problem case happens because msft_remove_monitor() can end up freeing the monitor structure. Specifically: hci_remove_adv_monitor() -> msft_remove_monitor() -> msft_remove_monitor_sync() -> msft_le_cancel_monitor_advertisement_cb() -> hci_free_adv_monitor() Let's fix the problem by just stashing the relevant data when it's still valid.
osv:CVE-2023-54210
Kernel
Fixed versions: 6.1.42, 6.4.7
Complete source record
{
"id": "e1dafad954b23f3806bf17898eea6de1d8201772654bc123a3d08df7df910d5e",
"url": "https://osv.dev/vulnerability/CVE-2023-54210",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor() KASAN reports that there's a use-after-free in hci_remove_adv_monitor(). Trawling through the disassembly, you can see that the complaint is from the access in bt_dev_dbg() under the HCI_ADV_MONITOR_EXT_MSFT case. The problem case happens because msft_remove_monitor() can end up freeing the monitor structure. Specifically: hci_remove_adv_monitor() -> msft_remove_monitor() -> msft_remove_monitor_sync() -> msft_le_cancel_monitor_advertisement_cb() -> hci_free_adv_monitor() Let's fix the problem by just stashing the relevant data when it's still valid.",
"evidence": "osv:CVE-2023-54210",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.42",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-54210",
"aliases": [
"CVE-2023-54210"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c"
},
{
"fixed": "0d4d6b083da9b033ddccef72d77f373c819ae3ea"
},
{
"fixed": "bf00c2c8f6254f44ac041aa9a311ae9e0caf692b"
},
{
"fixed": "de6dfcefd107667ce2dbedf4d9337f5ed557a4a1"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54210.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.1.42"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54210.json"
}
}
],
"modified": "2026-10-30T02:30:44.273694759Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0d4d6b083da9b033ddccef72d77f373c819ae3ea",
"https://git.kernel.org/stable/c/bf00c2c8f6254f44ac041aa9a311ae9e0caf692b",
"https://git.kernel.org/stable/c/de6dfcefd107667ce2dbedf4d9337f5ed557a4a1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54210.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-54210",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54210.json"
}
},
"related_cves": [
{
"value": "CVE-2023-54210",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505479,
"published_at": "2025-12-30T12:11:08.682+00:00"
}