android_kernel_samsung_sm8650/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 <linma@zju.edu.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2021-05-31 14:33:26 +02:00
..
bnep
cmtp
hidp
rfcomm
6lowpan.c
a2mp.c
a2mp.h
af_bluetooth.c
amp.c
amp.h
aosp.c
aosp.h
ecdh_helper.c
ecdh_helper.h Fix misc new gcc warnings 2021-04-27 17:05:53 -07:00
hci_conn.c
hci_core.c Bluetooth: fix the erroneous flush_work() order 2021-05-27 18:16:17 +02:00
hci_debugfs.c
hci_debugfs.h
hci_event.c
hci_request.c Networking changes for 5.13. 2021-04-29 11:57:23 -07:00
hci_request.h
hci_sock.c Bluetooth: use correct lock to prevent UAF of hdev object 2021-05-31 14:33:26 +02:00
hci_sysfs.c
Kconfig
l2cap_core.c
l2cap_sock.c
leds.c
leds.h
lib.c
Makefile
mgmt_config.c
mgmt_config.h
mgmt_util.c
mgmt_util.h
mgmt.c Bluetooth: Allow Microsoft extension to indicate curve validation 2021-04-08 12:26:34 +02:00
msft.c Bluetooth: Allow Microsoft extension to indicate curve validation 2021-04-08 12:26:34 +02:00
msft.h Bluetooth: Allow Microsoft extension to indicate curve validation 2021-04-08 12:26:34 +02:00
sco.c
selftest.c
selftest.h
smp.c Networking changes for 5.13. 2021-04-29 11:57:23 -07:00
smp.h