# CVE-2023-54210: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-12-30T12:11:08.682Z
- Modified: 2026-10-28T19:10:00.193Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c before 0d4d6b083da9b033ddccef72d77f373c819ae3ea; from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c before bf00c2c8f6254f44ac041aa9a311ae9e0caf692b; from 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c before de6dfcefd107667ce2dbedf4d9337f5ed557a4a1; 6.0 (not affected: before 6.0; from 6.1.42 up to 6.1.*; from 6.4.7 up to 6.4.*; from 6.5 up to *)

## References

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

## Sources

- CVE List: [CVE-2023-54210](https://www.cve.org/CVERecord?id=CVE-2023-54210), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-54210](https://nvd.nist.gov/vuln/detail/CVE-2023-54210), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-54210 · Whole record: https://cve.day/CVE-2023-54210.json · Rebuilt by cve.day 2026-11-25T22:58:35.222Z
