{"id":"CVE-2023-54210","revision":"47300d43de644302a13b5c8ece9fd8eb","records":[{"revision":"47300d43de644302a13b5c8ece9fd8eb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-54210","aliases":[],"title":"Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()\n\nKASAN reports that there's a use-after-free in\nhci_remove_adv_monitor(). Trawling through the disassembly, you can\nsee that the complaint is from the access in bt_dev_dbg() under the\nHCI_ADV_MONITOR_EXT_MSFT case. The problem case happens because\nmsft_remove_monitor() can end up freeing the monitor\nstructure. Specifically:\n  hci_remove_adv_monitor() ->\n  msft_remove_monitor() ->\n  msft_remove_monitor_sync() ->\n  msft_le_cancel_monitor_advertisement_cb() ->\n  hci_free_adv_monitor()\n\nLet's fix the problem by just stashing the relevant data when it's\nstill valid.","state":0,"publishedAt":"2025-12-30T12:11:08.682+00:00","modifiedAt":"2026-10-15T21:41:41.692+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/hci_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c\",\n                            \"lessThan\": \"0d4d6b083da9b033ddccef72d77f373c819ae3ea\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c\",\n                            \"lessThan\": \"bf00c2c8f6254f44ac041aa9a311ae9e0caf692b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"7cf5c2978f23fdbb2dd7b4e8b07e362ae2d8211c\",\n                            \"lessThan\": \"de6dfcefd107667ce2dbedf4d9337f5ed557a4a1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/hci_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.42\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.4.7\",\n                            \"lessThanOrEqual\": \"6.4.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.5\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/0d4d6b083da9b033ddccef72d77f373c819ae3ea","https://git.kernel.org/stable/c/bf00c2c8f6254f44ac041aa9a311ae9e0caf692b","https://git.kernel.org/stable/c/de6dfcefd107667ce2dbedf4d9337f5ed557a4a1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-54210","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-54210","identifiers":["CVE-2023-54210"]},"retained":false,"historicalAffected":[]}],"coverage":[]}