Home

Description

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.

PUBLISHED Reserved 2025-12-09 | Published 2025-12-09 | Updated 2025-12-09 | Assigner Linux

Product status

Default status
unaffected

b747a83690c8f53bc7a3f75899415c699b2c51aa (git) before 81d8e9f59df63b8358751c1ffed9f1cf5c796909
affected

b747a83690c8f53bc7a3f75899415c699b2c51aa (git) before aafda69d4807f5edf3558c9534be9b911774e63a
affected

b747a83690c8f53bc7a3f75899415c699b2c51aa (git) before 8d66f7ced51cb924bc90278d6a0a26a52877271a
affected

b747a83690c8f53bc7a3f75899415c699b2c51aa (git) before a2bcd2b63271a93a695fabbfbf459c603d956d48
affected

Default status
affected

6.0
affected

Any version before 6.0
unaffected

6.1.53 (semver)
unaffected

6.4.16 (semver)
unaffected

6.5.3 (semver)
unaffected

6.6 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/81d8e9f59df63b8358751c1ffed9f1cf5c796909

git.kernel.org/...c/aafda69d4807f5edf3558c9534be9b911774e63a

git.kernel.org/...c/8d66f7ced51cb924bc90278d6a0a26a52877271a

git.kernel.org/...c/a2bcd2b63271a93a695fabbfbf459c603d956d48

cve.org (CVE-2023-53828)

nvd.nist.gov (CVE-2023-53828)

Download JSON