{"id":"CVE-2024-41063","aliases":["CVE-2024-41063"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_core: cancel all works upon hci_unregister_dev()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_core: cancel all works upon hci_unregister_dev()\n\nsyzbot is reporting that calling hci_release_dev() from hci_error_reset()\ndue to hci_dev_put() from hci_error_reset() can cause deadlock at\ndestroy_workqueue(), for hci_error_reset() is called from\nhdev->req_workqueue which destroy_workqueue() needs to flush.\n\nWe need to make sure that hdev->{rx_work,cmd_work,tx_work} which are\nqueued into hdev->workqueue and hdev->{power_on,error_reset} which are\nqueued into hdev->req_workqueue are no longer running by the moment\n\n       destroy_workqueue(hdev->workqueue);\n       destroy_workqueue(hdev->req_workqueue);\n\nare called from hci_release_dev().\n\nCall cancel_work_sync() on these work items from hci_unregister_dev()\nas soon as hdev->list is removed from hci_dev_list.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_core: cancel all works upon hci_unregister_dev()\n\nsyzbot is reporting that calling hci_release_dev() from hci_error_reset()\ndue to hci_dev_put() from hci_error_reset() can cause deadlock at\ndestroy_workqueue(), for hci_error_reset() is called from\nhdev->req_workqueue which destroy_workqueue() needs to flush.\n\nWe need to make sure that hdev->{rx_work,cmd_work,tx_work} which are\nqueued into hdev->workqueue and hdev->{power_on,error_reset} which are\nqueued into hdev->req_workqueue are no longer running by the moment\n\n       destroy_workqueue(hdev->workqueue);\n       destroy_workqueue(hdev->req_workqueue);\n\nare called from hci_release_dev().\n\nCall cancel_work_sync() on these work items from hci_unregister_dev()\nas soon as hdev->list is removed from hci_dev_list.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Bluetooth: hci_core: cancelar todos los trabajos en hci_unregister_dev() syzbot informa que llamar a hci_release_dev() desde hci_error_reset() debido a hci_dev_put() desde hci_error_reset() puede causar un punto muerto en destroy_workqueue( ), porque hci_error_reset() se llama desde hdev-&gt;req_workqueue y destroy_workqueue() necesita vaciarse. Necesitamos asegurarnos de que hdev-&gt;{rx_work,cmd_work,tx_work} que están en cola en hdev-&gt;workqueue y hdev-&gt;{power_on,error_reset} que están en cola en hdev-&gt;req_workqueue ya no se estén ejecutando en el momento destroy_workqueue( hdev-&gt;cola de trabajo); destroy_workqueue(hdev-&gt;req_workqueue); se llaman desde hci_release_dev(). Llame a cancel_work_sync() en estos elementos de trabajo desde hci_unregister_dev() tan pronto como se elimine hdev-&gt;list de hci_dev_list.","source":"nvd"}],"published":"2024-07-29T14:57:25.154Z","modified":"2026-06-17T07:47:11.937Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"e0b278650f07acf2e0932149183458468a731c03","fixed":"48542881997e17b49dc16b93fe910e0cfcf7a9f9","status":"affected"},{"type":"git","introduced":"98fb98fd37e42fd4ce13ff657ea64503e24b6090","fixed":"9cfc84b1d464cc024286f42a090718f9067b80ed","status":"affected"},{"type":"git","introduced":"6dd0a9dfa99f8990a08eb8fdd8e79bee31c7d8e2","fixed":"ddeda6ca5f218b668b560d90fc31ae469adbfd92","status":"affected"},{"type":"git","introduced":"da4569d450b193e39e87119fd316c0291b585d14","fixed":"d2ce562a5aff1dcd0c50d9808ea825ef90da909f","status":"affected"},{"type":"git","introduced":"45085686b9559bfbe3a4f41d3d695a520668f5e1","fixed":"96600c2e5ee8213dbab5df1617293d8e847bb4fa","status":"affected"},{"type":"git","introduced":"2ab9a19d896f5a0dd386e1f001c5309bc35f433b","fixed":"d6cbce18370641a21dd889e8613d8153df15eb39","status":"affected"},{"type":"git","introduced":"2449007d3f73b2842c9734f45f0aadb522daf592","fixed":"3f939bd73fed12dddc2a32a76116c19ca47c7678","status":"affected"},{"type":"git","introduced":"2449007d3f73b2842c9734f45f0aadb522daf592","fixed":"0d151a103775dd9645c78c97f77d6e2a5298d913","status":"affected"},{"type":"git","version":"dd594cdc24f2e48dab441732e6dfcafd6b0711d1","status":"affected"},{"type":"semver","introduced":"4.19.309","fixed":"4.19.319","status":"affected"},{"type":"semver","introduced":"5.4.271","fixed":"5.4.281","status":"affected"},{"type":"semver","introduced":"5.10.212","fixed":"5.10.223","status":"affected"},{"type":"semver","introduced":"5.15.151","fixed":"5.15.164","status":"affected"},{"type":"semver","introduced":"6.1.81","fixed":"6.1.101","status":"affected"},{"type":"semver","introduced":"6.6.21","fixed":"6.6.42","status":"affected"},{"type":"semver","introduced":"6.7.9","fixed":"6.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"4.19.319","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.281","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.223","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.164","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.101","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.42","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.11","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.19.319"},{"status":"affected","introduced":"4.20","fixed":"5.4.281"},{"status":"affected","introduced":"5.5","fixed":"5.10.223"},{"status":"affected","introduced":"5.11","fixed":"5.15.164"},{"status":"affected","introduced":"5.16","fixed":"6.1.101"},{"status":"affected","introduced":"6.2","fixed":"6.6.42"},{"status":"affected","introduced":"6.7","fixed":"6.9.11"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/48542881997e17b49dc16b93fe910e0cfcf7a9f9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9cfc84b1d464cc024286f42a090718f9067b80ed","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddeda6ca5f218b668b560d90fc31ae469adbfd92","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2ce562a5aff1dcd0c50d9808ea825ef90da909f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96600c2e5ee8213dbab5df1617293d8e847bb4fa","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6cbce18370641a21dd889e8613d8153df15eb39","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f939bd73fed12dddc2a32a76116c19ca47c7678","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d151a103775dd9645c78c97f77d6e2a5298d913","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:22:02.545Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41063","url":"https://www.cve.org/CVERecord?id=CVE-2024-41063","licence":"CVE Terms of Use","modified":"2026-05-23T15:51:51.517Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41063","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41063","licence":"Public domain","modified":"2026-06-17T07:47:11.937Z"}],"updatedAt":"2026-11-25T22:58:43.312Z","epss":{"score":0.00182,"percentile":0.08171,"date":"2026-12-01T12:00:22.000Z"}}