sst-linux/drivers/usb
Andrei Kuchynski 7a735a8a46 usb: typec: ucsi: Fix NULL pointer access
commit b13abcb7ddd8d38de769486db5bd917537b32ab1 upstream.

Resources should be released only after all threads that utilize them
have been destroyed.
This commit ensures that resources are not released prematurely by waiting
for the associated workqueue to complete before deallocating them.

Cc: stable <stable@kernel.org>
Fixes: b9aa02ca39 ("usb: typec: ucsi: Add polling mechanism for partner tasks like alt mode checking")
Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250305111739.1489003-2-akuchynski@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-07 10:05:46 +02:00
..
atm usb: atm: cxacru: fix a flaw in existing endpoint checks 2025-03-13 12:53:20 +01:00
c67x00
cdns3 usb: cdns3: Add quirk flag to enable suspend residency 2024-12-27 13:52:51 +01:00
chipidea usb: chipidea: ci_hdrc_imx: decrement device's refcount in .remove() and in the error path of .probe() 2025-02-21 13:49:35 +01:00
class usb: cdc-acm: Fix handling of oversized fragments 2025-02-21 13:50:03 +01:00
common
core usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader 2025-03-13 12:53:20 +01:00
dwc2 usb: dwc2: gadget: remove of_node reference upon udc_stop 2025-02-21 13:50:02 +01:00
dwc3 usb: dwc3: gadget: Prevent irq storm when TH re-executes 2025-03-13 12:53:20 +01:00
early
gadget usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c 2025-04-07 10:05:46 +02:00
host usb: xhci: Enable the TRB overfetch quirk on VIA VL805 2025-03-13 12:53:21 +01:00
image
isp1760
misc
mon
mtu3
musb
phy
renesas_usbhs usb: renesas_usbhs: Flush the notify_hotplug_work 2025-03-13 12:53:20 +01:00
roles usb: roles: set switch registered flag early on 2025-02-21 13:50:01 +01:00
serial USB: serial: option: match on interface class for Telit FN990B 2025-03-28 21:58:56 +01:00
storage usb-storage: Add max sectors quirk for Nokia 208 2025-01-17 13:34:44 +01:00
typec usb: typec: ucsi: Fix NULL pointer access 2025-04-07 10:05:46 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c