2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/usb
Andrei Kuchynski b13abcb7dd usb: typec: ucsi: Fix NULL pointer access
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-03-06 16:55:46 +01:00
..
atm usb: atm: cxacru: fix a flaw in existing endpoint checks 2025-02-19 15:18:16 +01:00
c67x00 usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3 USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
chipidea USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
class USB: cdc-acm: Fill in Renesas R-Car D3 USB Download mode quirk 2025-02-14 09:22:36 +01:00
common USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
core usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader 2025-03-06 16:50:24 +01:00
dwc2 usb: dwc2: gadget: remove of_node reference upon udc_stop 2025-02-03 16:42:05 +01:00
dwc3 usb: dwc3: Set SUSPENDENABLE soon after phy init 2025-03-04 06:26:58 +01:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
gadget usb: gadget: Check bmAttributes only if configuration is valid 2025-03-03 10:12:14 +01:00
host usb: xhci: Fix host controllers "dying" after suspend and resume 2025-03-04 15:02:24 +01:00
image scsi: Rename .slave_alloc() and .slave_destroy() 2024-12-04 15:34:28 -05:00
isp1760 Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
misc usb: misc: onboard_usb_dev: skip suspend/resume sequence for USB5744 SMBus support 2024-12-04 16:27:04 +01:00
mon drivers/usb/mon: refactor min with min_t 2024-11-13 15:09:51 +01:00
mtu3 Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
musb USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
phy usb: phy: generic: Use proper helper for property detection 2025-02-03 16:39:56 +01:00
renesas_usbhs usb: renesas_usbhs: Flush the notify_hotplug_work 2025-03-03 10:20:14 +01:00
roles usb: roles: set switch registered flag early on 2025-02-14 09:26:25 +01:00
serial USB: serial: option: drop MeiG Smart defines 2025-02-11 17:08:58 +01:00
storage USB / Thunderbolt driver updates for 6.14-rc1 2025-01-27 16:29:16 -08:00
typec usb: typec: ucsi: Fix NULL pointer access 2025-03-06 16:55:46 +01:00
usbip usbip: Correct format specifier for seqnum from %d to %u 2025-01-17 12:38:01 +01:00
Kconfig usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk 2023-10-02 16:19:12 +02:00
Makefile USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected 2024-06-04 15:33:38 +02:00
usb-skeleton.c