mbox series

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

Message ID 20220823044434.3402413-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:44 a.m. UTC
Hold hdev->lock for hci_conn_failed. There are possible race conditions
which may cause kernel crash.

Changes in v2:
- Update commit message

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(-)