Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.53, 6.4.16, 6.5.3
- CVEs
- CVE-2023-53828
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:30 UTC · Revision 1
Source evidence
Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
core-osv · Original sourcePublished 9 Dec 2025, 01:29 UTC
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle.
osv:CVE-2023-53828
Kernel
Fixed versions: 6.1.53, 6.4.16, 6.5.3
Complete source record
{
"id": "de519f006dbbc206558d5b52c3f2021ec23e768bfa5aa61d7f7031dbfc030363",
"url": "https://osv.dev/vulnerability/CVE-2023-53828",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle.",
"evidence": "osv:CVE-2023-53828",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.53",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53828",
"aliases": [
"CVE-2023-53828"
],
"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": "b747a83690c8f53bc7a3f75899415c699b2c51aa"
},
{
"fixed": "81d8e9f59df63b8358751c1ffed9f1cf5c796909"
},
{
"fixed": "aafda69d4807f5edf3558c9534be9b911774e63a"
},
{
"fixed": "8d66f7ced51cb924bc90278d6a0a26a52877271a"
},
{
"fixed": "a2bcd2b63271a93a695fabbfbf459c603d956d48"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53828.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0"
},
{
"fixed": "6.1.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53828.json"
}
}
],
"modified": "2026-10-28T02:30:30.636753283Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/81d8e9f59df63b8358751c1ffed9f1cf5c796909",
"https://git.kernel.org/stable/c/8d66f7ced51cb924bc90278d6a0a26a52877271a",
"https://git.kernel.org/stable/c/a2bcd2b63271a93a695fabbfbf459c603d956d48",
"https://git.kernel.org/stable/c/aafda69d4807f5edf3558c9534be9b911774e63a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53828.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53828",
"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/53xxx/CVE-2023-53828.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53828",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497398,
"published_at": "2025-12-09T01:29:42.166+00:00"
}