In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()[EOL][EOL]KSAN reports use-after-free in hci_add_adv_monitor().[EOL][EOL]While adding an adv monitor,[EOL] hci_add_adv_monitor() calls ->[EOL] msft_add_monitor_pattern() calls ->[EOL] msft_add_monitor_sync() calls ->[EOL] msft_le_monitor_advertisement_cb() calls in an error case ->[EOL] hci_free_adv_monitor() which frees the *moniter.[EOL][EOL]This is referenced by bt_dev_dbg() in hci_add_adv_monitor().[EOL][EOL]Fix the bt_dev_dbg() by using handle instead of monitor->handle.