android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pratham Pratap c93446712a usb: xhci: Avoid NULL pointer access of sec event ring
Consider a case where DUT is in a low memory condition and
it is switching between host and none frequently. This can
lead the driver to fail the allocation of primary event ring
and go into error path where it will try to cleanup the event
ring. Since secondary event ring was not even initialized, while
fetching the entries to cleanup, it will lead to NULL pointer
dereference.

Avoid this by adding a NULL check for secondary event ring before
fetching the entries and bailing out early from cleanup function.

Change-Id: I21488d0e0a02347a392d890918c5c874b704795f
Signed-off-by: Pratham Pratap <[email protected]>
2021-09-09 04:14:53 -07:00
..
atm
c67x00
cdns3
chipidea
class
common
core Merge "usb: core: Do not choose configuration if actconfig is valid" 2021-05-24 01:29:36 -07:00
dwc2
dwc3 Merge "usb: dwc3: debugfs: Add suppot for Enabling L1 in HS through debugfs" 2021-08-27 09:16:14 -07:00
early
gadget Merge "usb: f_fs: Prevent race between ep0_release & reset_work" 2021-08-25 08:01:31 -07:00
host usb: xhci: Avoid NULL pointer access of sec event ring 2021-09-09 04:14:53 -07:00
image
isp1760
misc usb: misc: nb7vpq904m: fix disconnect api 2021-05-14 12:50:58 +08:00
mon
mtu3
musb
pd
phy Merge "usb: phy: Drive a pulse on DP on CDP detection" 2021-05-12 23:55:15 -07:00
renesas_usbhs
roles
serial USB: serial: keyspan_pda: fix write unthrottling 2020-12-30 11:51:37 +01:00
storage
typec Merge "Merge android11-5.4.86+ (5d7dfa3) into msm-5.4" 2021-04-26 08:14:44 -07:00
usbip
Kconfig
Makefile
usb-skeleton.c