CVE-2024-41063

MEDIUM

Linux Kernel < 4.19.319, 4.20.0-6.9.11 - Deadlock via Bluetooth HCI Core Workqueue Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: cancel all works upon hci_unregister_dev() syzbot is reporting that calling hci_release_dev() from hci_error_reset() due to hci_dev_put() from hci_error_reset() can cause deadlock at destroy_workqueue(), for hci_error_reset() is called from hdev->req_workqueue which destroy_workqueue() needs to flush. We need to make sure that hdev->{rx_work,cmd_work,tx_work} which are queued into hdev->workqueue and hdev->{power_on,error_reset} which are queued into hdev->req_workqueue are no longer running by the moment destroy_workqueue(hdev->workqueue); destroy_workqueue(hdev->req_workqueue); are called from hci_release_dev(). Call cancel_work_sync() on these work items from hci_unregister_dev() as soon as hdev->list is removed from hci_dev_list.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (35)
linux/Kernel < 4.19.319linux
linux/Kernel 4.20.0 - 5.4.281linux
linux/Kernel 5.11.0 - 5.15.164linux
linux/Kernel 5.16.0 - 6.1.101linux
linux/Kernel 5.5.0 - 5.10.223linux
linux/Kernel 6.2.0 - 6.6.42linux
linux/Kernel 6.7.0 - 6.9.11linux
Linux/Linux < 6.8
Linux/Linux 2449007d3f73b2842c9734f45f0aadb522daf592 - 0d151a103775dd9645c78c97f77d6e2a5298d913
Linux/Linux 2449007d3f73b2842c9734f45f0aadb522daf592 - 3f939bd73fed12dddc2a32a76116c19ca47c7678
... and 25 more
Published Jul 29, 2024
Tracked Since Feb 18, 2026