CVE-2024-41063

CVSS v3.1 5.5 (Medium)
55% Progress
EPSS 0.04 % (5th)
0.04% Progress
Affected Products 1
Advisories 9
NVD Status Analyzed

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.

Weaknesses
CWE-667
Improper Locking
CVE Status
PUBLISHED
NVD Status
Analyzed
CNA
kernel.org
Published Date
2024-07-29 15:15:14
(7 weeks ago)
Updated Date
2024-09-10 17:10:45
(8 days ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Linux Kernel prior 4.19.319 version cpe:2.3:o:linux:linux_kernel < 4.19.319
  Linux Kernel from 4.20 version and prior 5.4.281 version cpe:2.3:o:linux:linux_kernel >= 4.20 < 5.4.281
  Linux Kernel from 5.5 version and prior 5.10.223 version cpe:2.3:o:linux:linux_kernel >= 5.5 < 5.10.223
  Linux Kernel from 5.11 version and prior 5.15.164 version cpe:2.3:o:linux:linux_kernel >= 5.11 < 5.15.164
  Linux Kernel from 5.16 version and prior 6.1.101 version cpe:2.3:o:linux:linux_kernel >= 5.16 < 6.1.101
  Linux Kernel from 6.2 version and prior 6.6.42 version cpe:2.3:o:linux:linux_kernel >= 6.2 < 6.6.42
  Linux Kernel from 6.7 version and prior 6.9.11 version cpe:2.3:o:linux:linux_kernel >= 6.7 < 6.9.11
  Linux Kernel 6.10 Rc1 cpe:2.3:o:linux:linux_kernel:6.10:rc1
  Linux Kernel 6.10 Rc2 cpe:2.3:o:linux:linux_kernel:6.10:rc2
  Linux Kernel 6.10 Rc3 cpe:2.3:o:linux:linux_kernel:6.10:rc3
  Linux Kernel 6.10 Rc4 cpe:2.3:o:linux:linux_kernel:6.10:rc4
  Linux Kernel 6.10 Rc5 cpe:2.3:o:linux:linux_kernel:6.10:rc5
  Linux Kernel 6.10 Rc6 cpe:2.3:o:linux:linux_kernel:6.10:rc6
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...