Home
last modified time | relevance | path

Searched hist:"0 b94f2651f56b9e4aa5f012b0d7eb57308c773cf" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bluetooth/
H A Dhci_sync.cdiff 0b94f2651f56b9e4aa5f012b0d7eb57308c773cf Wed Jan 26 19:21:00 CST 2022 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> 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>