{"id":"CVE-2024-26801","summary":"Bluetooth: Avoid potential use-after-free in hci_error_reset","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Avoid potential use-after-free in hci_error_reset\n\nWhile handling the HCI_EV_HARDWARE_ERROR event, if the underlying\nBT controller is not responding, the GPIO reset mechanism would\nfree the hci_dev and lead to a use-after-free in hci_error_reset.\n\nHere's the call trace observed on a ChromeOS device with Intel AX201:\n   queue_work_on+0x3e/0x6c\n   __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth \u003cHASH:3b4a6\u003e]\n   ? init_wait_entry+0x31/0x31\n   __hci_cmd_sync+0x16/0x20 [bluetooth \u003cHASH:3b4a 6\u003e]\n   hci_error_reset+0x4f/0xa4 [bluetooth \u003cHASH:3b4a 6\u003e]\n   process_one_work+0x1d8/0x33f\n   worker_thread+0x21b/0x373\n   kthread+0x13a/0x152\n   ? pr_cont_work+0x54/0x54\n   ? kthread_blkcg+0x31/0x31\n    ret_from_fork+0x1f/0x30\n\nThis patch holds the reference count on the hci_dev while processing\na HCI_EV_HARDWARE_ERROR event to avoid potential crash.","modified":"2026-04-02T10:05:57.934435Z","published":"2024-04-04T08:20:29.211Z","related":["ALSA-2024:4349","ALSA-2024:4352","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:4367-1","SUSE-SU-2025:0035-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26801.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2449007d3f73b2842c9734f45f0aadb522daf592"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ab9a19d896f5a0dd386e1f001c5309bc35f433b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45085686b9559bfbe3a4f41d3d695a520668f5e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98fb98fd37e42fd4ce13ff657ea64503e24b6090"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da4569d450b193e39e87119fd316c0291b585d14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd594cdc24f2e48dab441732e6dfcafd6b0711d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0b278650f07acf2e0932149183458468a731c03"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26801.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26801"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c7741d16a57cbf97eebe53f27e8216b1ff20e20c"},{"fixed":"e0b278650f07acf2e0932149183458468a731c03"},{"fixed":"98fb98fd37e42fd4ce13ff657ea64503e24b6090"},{"fixed":"6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2"},{"fixed":"da4569d450b193e39e87119fd316c0291b585d14"},{"fixed":"45085686b9559bfbe3a4f41d3d695a520668f5e1"},{"fixed":"2ab9a19d896f5a0dd386e1f001c5309bc35f433b"},{"fixed":"dd594cdc24f2e48dab441732e6dfcafd6b0711d1"},{"fixed":"2449007d3f73b2842c9734f45f0aadb522daf592"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26801.json"}}],"schema_version":"1.7.5"}