Files
linux/net/bluetooth
Lin Ma e305509e67 Bluetooth: use correct lock to prevent UAF of hdev object
The hci_sock_dev_event() function will cleanup the hdev object for
sockets even if this object may still be in used within the
hci_sock_bound_ioctl() function, result in UAF vulnerability.

This patch replace the BH context lock to serialize these affairs
and prevent the race condition.

Signed-off-by: Lin Ma <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
2021-05-31 14:33:26 +02:00
..
2021-04-02 11:03:04 +02:00
2021-04-27 17:05:53 -07:00
2021-04-02 11:03:04 +02:00