android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Oliver Neukum 3afdcc4e1a usb: cdc-wdm: close race between read and workqueue
commit 339f83612f3a569b194680768b22bf113c26a29d upstream.

wdm_read() cannot race with itself. However, in
service_outstanding_interrupt() it can race with the
workqueue, which can be triggered by error handling.

Hence we need to make sure that the WDM_RESPONDING
flag is not just only set but tested.

Fixes: afba937e54 ("USB: CDC WDM driver")
Cc: stable <[email protected]>
Signed-off-by: Oliver Neukum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-04-13 12:51:31 +02:00
..
atm
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: wait controller resume finished for wakeup irq 2024-01-25 14:34:29 -08:00
class usb: cdc-wdm: close race between read and workqueue 2024-04-13 12:51:31 +02:00
common usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-16 18:19:23 +02:00
core usb: port: Don't try to peer unused USB ports based on location 2024-04-13 12:51:29 +02:00
dwc2 USB: dwc2: write HCINT with INTMASK applied 2023-12-08 08:44:25 +01:00
dwc3 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only" 2024-01-25 14:34:29 -08:00
early
gadget usb: gadget: ncm: Fix handling of zero block length packets 2024-04-13 12:51:29 +02:00
host usb: fotg210-hcd: delete an incorrect bounds test 2024-01-08 11:29:47 +01:00
image
isp1760
misc
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 14:34:30 -08:00
mtu3
musb usb: musb: Modify the "HWVers" register address 2023-10-25 11:53:19 +02:00
phy usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() 2024-01-25 14:34:29 -08:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:13:36 +01:00
serial USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M 2024-04-13 12:51:25 +02:00
storage USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command 2024-04-13 12:51:29 +02:00
typec usb: typec: class: fix typec_altmode_put_partner to put plugs 2024-01-25 14:34:30 -08:00
usbip USB: usbip: fix stub_dev hub disconnect 2023-11-20 10:30:14 +01:00
Kconfig
Makefile
usb-skeleton.c