android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shuah Khan cafced0419 usbip: synchronize event handler with sysfs code paths
commit 363eaa3a450abb4e63bd6e3ad79d1f7a0f717814 upstream.

Fuzzing uncovered race condition between sysfs code paths in usbip
drivers. Device connect/disconnect code paths initiated through
sysfs interface are prone to races if disconnect happens during
connect and vice versa.

Use sysfs_lock to synchronize event handler with sysfs paths
in usbip drivers.

Cc: stable@vger.kernel.org
Reported-and-tested-by: syzbot+a93fba6d384346a761e3@syzkaller.appspotmail.com
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/c5c8723d3f29dfe3d759cfaafa7dd16b0dfe2918.1616807117.git.skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-14 08:24:13 +02:00
..
atm
c67x00
cdns3
chipidea
class USB: cdc-acm: fix use-after-free after probe failure 2021-04-07 14:47:44 +02:00
common
core USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem 2021-04-07 14:47:43 +02:00
dwc2 usb: dwc2: Prevent core suspend when port connection flag is 0 2021-04-07 14:47:44 +02:00
dwc3 usb: dwc3: qcom: Honor wakeup enabled/disabled state 2021-03-17 17:03:49 +01:00
early
gadget usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference 2021-04-07 14:47:44 +02:00
host usb: xhci-mtk: fix broken streams issue on 0.96 xHCI 2021-04-07 14:47:43 +02:00
image
isp1760
misc USB: yurex: fix control-URB timeout handling 2021-01-12 20:16:20 +01:00
mon
mtu3
musb usb: musb: Fix suspend with devices connected for a64 2021-04-07 14:47:43 +02:00
phy
renesas_usbhs usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM 2021-03-17 17:03:50 +01:00
roles
serial USB: serial: cp210x: add some more GE USB IDs 2021-03-17 17:03:51 +01:00
storage usb-storage: Add quirk to defeat Kindle's automatic unload 2021-03-24 11:26:40 +01:00
typec usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy- 2021-03-24 11:26:41 +01:00
usbip usbip: synchronize event handler with sysfs code paths 2021-04-14 08:24:13 +02:00
Kconfig
Makefile
usb-skeleton.c