CVE-2022-49136Published Feb 26, 2025 · Feb 26Updated Oct 28
Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set
hci_cmd_sync_queue shall return an error if HCI_UNREGISTER flag has been set as that means hci_unregister_dev has been called so it will likely cause a uaf after the timeout as the hdev will be freed.
From the CVE record · Linux
The Linux kernel’s Bluetooth hci_sync code can queue a command after HCI_UNREGISTER is set. Because the device may then be freed, the command can cause a use-after-free after a timeout. The input does not specify an attack path or authentication requirements.
Engineers running the Linux kernel should check their versions; affected versions are not specified.