What’s Vulnerable › Vulnerabilities

CVE-2024-49951: Bluetooth: MGMT: Fix possible crash on mgmt_index_removed

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix possible crash on mgmt_index_removed If mgmt_index_removed is called while there are commands queued on cmd_sync it could lead to crashes like the bellow trace: 0x0000053D: __list_del_entry_valid_or_report+0x98/0xdc 0x0000053D: mgmt_pending_remove+0x18/0x58 [bluetooth] 0x0000053E: mgmt_remove_adv_monitor_complete+0x80/0x108 [bluetooth] 0x0000053E: hci_cmd_sync_work+0xbc/0x164 [bluetooth] So while handling mgmt_index_removed this attempts to dequeue commands passed as user_data to cmd_sync.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.10.14, 6.11.3, 6.6.55. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-49951 or the next vulnerability affects your stack