Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.53, 6.4.16, 6.5.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From b747a83690c8f53bc7a3f75899415c699b2c51aa · fixed in 81d8e9f59df63b8358751c1ffed9f1cf5c796909; From b747a83690c8f53bc7a3f75899415c699b2c51aa · fixed in aafda69d4807f5edf3558c9534be9b911774e63a; From b747a83690c8f53bc7a3f75899415c699b2c51aa · fixed in 8d66f7ced51cb924bc90278d6a0a26a52877271a; From b747a83690c8f53bc7a3f75899415c699b2c51aa · fixed in a2bcd2b63271a93a695fabbfbf459c603d956d48
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.1.53; From 6.2.0 · fixed in 6.4.16; From 6.5.0 · fixed in 6.5.3