8.8high
Bluetooth: Avoid potential use-after-free in hci_error_reset
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Avoid potential use-after-free in hci_error_reset While handling the HCI_EV_HARDWARE_ERROR event, if the underlying BT controller is not responding, the GPIO reset mechanism would free the hci_dev and lead to a use-after-free in hci_error_reset. Here's the call trace observed on a ChromeOS device with Intel AX201: queue_work_on+0x3e/0x6c __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth <HASH:3b4a6>] ? init_wait_entry+0x31/0x31 __hci_cmd_sync+0x16/0x20 [bluetooth <HASH:3b4a 6>] hci_error_reset+0x4f/0xa4 [bluetooth <HASH:3b4a 6>] process_one_work+0x1d8/0x33f worker_thread+0x21b/0x373 kthread+0x13a/0x152 ? pr_cont_work+0x54/0x54 ? kthread_blkcg+0x31/0x31 ret_from_fork+0x1f/0x30 This patch holds the reference count on the hci_dev while processing a HCI_EV_HARDWARE_ERROR event to avoid potential crash.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before e0b278650f07acf2e0932149183458468a731c03, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before 98fb98fd37e42fd4ce13ff657ea64503e24b6090, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before 6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before da4569d450b193e39e87119fd316c0291b585d14, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before 45085686b9559bfbe3a4f41d3d695a520668f5e1, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before 2ab9a19d896f5a0dd386e1f001c5309bc35f433b, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before dd594cdc24f2e48dab441732e6dfcafd6b0711d1, from c7741d16a57cbf97eebe53f27e8216b1ff20e20c before 2449007d3f73b2842c9734f45f0aadb522daf592 and 1 more Not affected: before 4.0, from 4.19.309 up to 4.19.*, from 5.4.271 up to 5.4.*, from 5.10.212 up to 5.10.*, from 5.15.151 up to 5.15.*, from 6.1.81 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.0 before 4.19.309, from 4.20 before 5.4.271, from 5.5 before 5.10.212, from 5.11 before 5.15.151, from 5.16 before 6.1.81, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Avoid potential use-after-free in hci_error_reset While handling the HCI_EV_HARDWARE_ERROR event, if the underlying BT controller is not responding, the GPIO reset mechanism would free the hci_dev and lead to a use-after-free in hci_error_reset. Here's the call trace observed on a ChromeOS device with Intel AX201: queue_work_on+0x3e/0x6c __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth <HASH:3b4a6>] ? init_wait_entry+0x31/0x31 __hci_cmd_sync+0x16/0x20 [bluetooth <HASH:3b4a 6>] hci_error_reset+0x4f/0xa4 [bluetooth <HASH:3b4a 6>] process_one_work+0x1d8/0x33f worker_thread+0x21b/0x373 kthread+0x13a/0x152 ? pr_cont_work+0x54/0x54 ? kthread_blkcg+0x31/0x31 ret_from_fork+0x1f/0x30 This patch holds the reference count on the hci_dev while processing a HCI_EV_HARDWARE_ERROR event to avoid potential crash.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Bluetooth: evite el posible use-after-free en hci_error_reset Mientras se maneja el evento HCI_EV_HARDWARE_ERROR, si el controlador BT subyacente no responde, el mecanismo de reinicio de GPIO liberaría hci_dev y provocaría un error. use-after-free en hci_error_reset. Este es el seguimiento de llamadas observado en un dispositivo ChromeOS con Intel AX201: queue_work_on+0x3e/0x6c __hci_cmd_sync_sk+0x2ee/0x4c0 [bluetooth ] ? init_wait_entry+0x31/0x31 __hci_cmd_sync+0x16/0x20 [bluetooth ] hci_error_reset+0x4f/0xa4 [bluetooth ] Process_one_work+0x1d8/0x33f trabajador_thread+0x21b/0x373 kthread+0x13a /0x152 ? pr_cont_work+0x54/0x54? kthread_blkcg+0x31/0x31 ret_from_fork+0x1f/0x30 Este parche mantiene el recuento de referencias en hci_dev mientras procesa un evento HCI_EV_HARDWARE_ERROR para evitar posibles fallas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26801 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-26801 changed 2026-08-04 | Public domain |