mbox series

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

Message ID 20220823172808.3477638-1-jiangzp@google.com
Headers show
Series Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn | expand

Message

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

Changes in v3:
- Remove an empty line in commit message between Fixes and SoB

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

Comments

patchwork-bot+bluetooth@kernel.org Aug. 24, 2022, 10:30 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue, 23 Aug 2022 10:28:07 -0700 you wrote:
> Hold hdev->lock for hci_conn_failed. There are possible race conditions
> which may cause kernel crash.
> 
> Changes in v3:
> - Remove an empty line in commit message between Fixes and SoB
> 
> Changes in v2:
> - Update commit message
> 
> [...]

Here is the summary with links:
  - [kernel,v3,1/1] Bluetooth: hci_sync: hold hdev->lock when cleanup hci_conn
    https://git.kernel.org/bluetooth/bluetooth-next/c/808765508e8e

You are awesome, thank you!