diff options
author | Phil Elwell <[email protected]> | 2021-07-23 18:59:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-07-27 15:54:51 +0200 |
commit | 2867652e4766360adf14dfda3832455e04964f2a (patch) | |
tree | f4c9d2a69888a2a21e4ebb1aa39d319633c5add8 /drivers/fpga/fpga-mgr.c | |
parent | fa4a8dcfd51b911f101ebc461dfe22230b74dd64 (diff) |
usb: gadget: f_hid: fixed NULL pointer dereference
Disconnecting and reconnecting the USB cable can lead to crashes
and a variety of kernel log spam.
The problem was found and reproduced on the Raspberry Pi [1]
and the original fix was created in Raspberry's own fork [2].
Link: https://github.com/raspberrypi/linux/issues/3870 [1]
Link: https://github.com/raspberrypi/linux/commit/a6e47d5f4efbd2ea6a0b6565cd2f9b7bb217ded5 [2]
Signed-off-by: Maxim Devaev <[email protected]>
Signed-off-by: Phil Elwell <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions