kernel_samsung_a53x/drivers/usb
Oliver Neukum acd6f39810 usb: vhci-hcd: Do not drop references before new references are gained
commit afdcfd3d6fcdeca2735ca8d994c5f2d24a368f0a upstream.

At a few places the driver carries stale pointers
to references that can still be used. Make sure that does not happen.
This strictly speaking closes ZDI-CAN-22273, though there may be
similar races in the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240709113851.14691-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:27 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-11-19 14:19:34 +01:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-11-18 22:25:39 +01:00
chipidea usb: chipidea: wait controller resume finished for wakeup irq 2024-11-18 12:12:46 +01:00
class USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages 2024-11-19 14:19:02 +01:00
common
core USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor 2024-11-19 14:19:45 +01:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-11-19 11:32:23 +01:00
dwc3 usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart 2024-11-18 12:12:46 +01:00
early
gadget usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() 2024-11-19 14:19:44 +01:00
host xhci: Apply broken streams quirk to Etron EJ188 xHCI host 2024-11-19 14:19:02 +01:00
image
isp1760
misc usb: misc: uss720: check for incompatible versions of the Belkin F5U002 2024-11-19 14:19:07 +01:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-11-18 12:12:47 +01:00
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-11-19 14:19:33 +01:00
notify
notify_lsi
phy Revert "usb: phy: generic: Get the vbus supply" 2024-11-19 09:22:49 +01:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-11-18 22:25:39 +01:00
serial USB: serial: mos7840: fix crash on resume 2024-11-19 14:19:44 +01:00
storage usb-storage: alauda: Check whether the media is initialized 2024-11-19 14:19:05 +01:00
typec usb: typec: ucsi: displayport: Fix potential deadlock 2024-11-19 12:26:50 +01:00
usbip usb: vhci-hcd: Do not drop references before new references are gained 2024-11-23 23:20:27 +01:00
Kconfig
Kconfig.variant1
Makefile
Makefile.variant1
usb-skeleton.c