In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hcisync: Avoid use-after-free in dbg for hciaddadvmonitor()
KSAN reports use-after-free in hciaddadv_monitor().
While adding an adv monitor, hciaddadvmonitor() calls -> msftaddmonitorpattern() calls -> msftaddmonitorsync() calls -> msftlemonitoradvertisementcb() calls in an error case -> hcifreeadvmonitor() which frees the *moniter.
This is referenced by btdevdbg() in hciaddadv_monitor().
Fix the btdevdbg() by using handle instead of monitor->handle.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53828.json",
"cna_assigner": "Linux"
}