diff options
| author | 2022-01-26 17:21:00 -0800 | |
|---|---|---|
| committer | 2022-01-27 17:40:18 +0100 | |
| commit | 0b94f2651f56b9e4aa5f012b0d7eb57308c773cf (patch) | |
| tree | 4ad85c6a18e6e8547a20795b883a48e340a49236 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: hci_h5: Add power reset via gpio in h5_btrtl_open (diff) | |
| download | linux-dev-0b94f2651f56b9e4aa5f012b0d7eb57308c773cf.tar.xz linux-dev-0b94f2651f56b9e4aa5f012b0d7eb57308c773cf.zip | |
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.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
