CVE-2023-54210

Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()

State
Published
Severity
7.8 High
Published
Dec 30, 2025
Updated
Oct 15, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c to before 0d4d6b083da9b033ddccef72d77f373c819ae3eaAffected
  • 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c to before bf00c2c8f6254f44ac041aa9a311ae9e0caf692bAffected
  • 7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c to before de6dfcefd107667ce2dbedf4d9337f5ed557a4a1Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.42 through 6.1.*Not affected
  • 6.4.7 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.