mbox series

[kernel,v1,0/1] Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn

Message ID 20220823041656.3398118-1-jiangzp@google.com (mailing list archive)
Headers show
Series Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn | expand

Message

Zhengping Jiang Aug. 23, 2022, 4:16 a.m. UTC
Hold hdev->lock for hci_conn_failed. There are possible race conditions
which may cause kernel crash.

Changes in v1:
- Hold hdev->lock for hci_conn_failed

Zhengping Jiang (1):
  Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn

 net/bluetooth/hci_sync.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)