android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Wulff 4591a1764a usb: gadget: u_audio: Clear uac pointer when freed.
[ Upstream commit a2cf936ebef291ef7395172b9e2f624779fb6dc0 ]

This prevents use of a stale pointer if functions are called after
g_cleanup that shouldn't be. This doesn't fix any races, but converts
a possibly silent kernel memory corruption into an obvious NULL pointer
dereference report.

Fixes: eb9fecb9e6 ("usb: gadget: f_uac2: split out audio core")
Signed-off-by: Chris Wulff <chris.wulff@biamp.com>
Link: https://lore.kernel.org/stable/CO1PR17MB54194226DA08BFC9EBD8C163E1172%40CO1PR17MB5419.namprd17.prod.outlook.com
Link: https://lore.kernel.org/r/CO1PR17MB54194226DA08BFC9EBD8C163E1172@CO1PR17MB5419.namprd17.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:28:42 +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 Revert "usb: cdc-wdm: close race between read and workqueue" 2024-05-02 16:18:32 +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: Disable USB3 LPM at shutdown 2024-05-02 16:18:32 +02:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-05-02 16:18:32 +02: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: u_audio: Clear uac pointer when freed. 2024-06-16 13:28:42 +02:00
host usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined 2024-04-13 12:51:39 +02:00
image
isp1760
misc USB: sisusbvga: Add endpoint checks 2023-05-30 12:44:10 +01:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 14:34:30 -08:00
mtu3 usb: mtu3: fix kernel panic at qmu transfer done irq handler 2023-05-17 11:35:49 +02:00
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: option: add Telit FN920C04 rmnet compositions 2024-05-02 16:18:32 +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: ucsi: displayport: Fix potential deadlock 2024-05-25 16:17:18 +02:00
usbip USB: usbip: fix stub_dev hub disconnect 2023-11-20 10:30:14 +01:00
Kconfig
Makefile
usb-skeleton.c