Files
linux/drivers
Ronak Vijay Raheja 80fef39de7 ANDROID: usb: gadget: Resolve NULL pointer dereference in composite_disconnect
There is a race possibility in android_disconnect and
configfs_composite_unbind while using cdev leading to a NULL pointer
dereference in composite_disconnect. Combine android_disconnect with
configfs_composite_disconnect and remove the android_disconnect function.
configfs_composite_disconnect already has a gi->spinlock in place to
prevent the race condition.

Bug: 177038050
Change-Id: Idfdebaf69f3aa68d90b55bffd7c2e04410c5a47f
Signed-off-by: Ronak Vijay Raheja <rraheja@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Eddie Hung <eddie.hung@mediatek.com>
2021-05-25 08:13:49 +00:00
..
2021-05-20 15:35:25 +02:00
2021-03-07 12:33:33 +01:00
2021-05-14 09:50:24 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-15 09:28:55 +02:00
2021-05-20 15:35:25 +02:00
2021-05-22 15:34:48 +02:00
2021-05-22 15:34:48 +02:00
2021-05-22 15:34:48 +02:00
2021-05-15 09:28:55 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-03-04 11:38:21 +01:00
2021-05-22 15:34:48 +02:00
2021-05-15 09:28:55 +02:00
2021-05-22 15:34:48 +02:00
2021-05-21 13:17:07 -07:00
2021-05-22 15:34:48 +02:00
2021-05-15 09:28:55 +02:00
2021-03-07 12:33:33 +01:00
2021-05-22 15:34:48 +02:00
2021-05-20 15:35:25 +02:00
2021-05-15 09:28:55 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-20 15:35:25 +02:00
2021-05-13 14:22:11 +02:00
2021-05-22 15:34:48 +02:00
2021-05-15 09:28:55 +02:00
2021-05-20 15:35:25 +02:00
2021-05-15 09:28:55 +02:00
2021-05-15 09:28:55 +02:00
2021-05-13 14:22:11 +02:00