android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thinh Nguyen 7cb72dc08e usb: gadget: f_tcm: Don't free command immediately
commit c225d006a31949d673e646d585d9569bc28feeb9 upstream.

Don't prematurely free the command. Wait for the status completion of
the sense status. It can be freed then. Otherwise we will double-free
the command.

Fixes: cff834c16d ("usb-gadget/tcm: Convert to TARGET_SCF_ACK_KREF I/O krefs")
Cc: [email protected]
Signed-off-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/ae919ac431f16275e05ec819bdffb3ac5f44cbe1.1733876548.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-03-13 12:43:01 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-07-05 09:08:30 +02:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: udc: handle USB Error Interrupt if IOC not set 2024-12-14 19:44:54 +01:00
class USB: usblp: return error when setting unsupported protocol 2025-02-01 18:18:47 +01:00
common
core usb: fix reference leak in usb_new_device() 2025-02-01 18:18:47 +01:00
dwc2 usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled 2025-01-09 13:23:26 +01:00
dwc3 usb: dwc3: gadget: Fix checking for number of TRBs left 2024-12-14 19:44:39 +01:00
early
gadget usb: gadget: f_tcm: Don't free command immediately 2025-03-13 12:43:01 +01:00
host Partial revert of xhci: use pm_ptr() instead #ifdef for CONFIG_PM conditionals 2025-02-01 18:18:54 +01:00
image
isp1760
misc USB: chaoskey: Fix possible deadlock chaoskey_list_lock 2024-12-14 19:44:34 +01:00
mon
mtu3
musb usb: musb: sunxi: Fix accessing an released usb phy 2024-11-17 14:58:52 +01:00
phy usb: phy: Fix API devm_usb_put_phy() can not release the phy 2024-11-08 16:20:53 +01: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: quatech2: fix null-ptr-deref in qt2_process_read_urb() 2025-02-01 18:18:53 +01:00
storage usb-storage: Add max sectors quirk for Nokia 208 2025-02-01 18:18:46 +01:00
typec usb: typec: tcpm: set SRC_SEND_CAPABILITIES timeout to PD_T_SENDER_RESPONSE 2025-03-13 12:43:01 +01:00
usbip usbip: Don't submit special requests twice 2024-09-12 11:03:50 +02:00
Kconfig
Makefile
usb-skeleton.c