linux/drivers/usb
Chunfeng Yun f31ea57c11 usb: xhci-mtk: fix issue of out-of-bounds array access
commit de5107f473 upstream.

Bus bandwidth array access is based on esit, increase one
will cause out-of-bounds issue; for example, when esit is
XHCI_MTK_MAX_ESIT, will overstep boundary.

Fixes: 7c986fbc16 ("usb: xhci-mtk: get the microframe boundary for ESIT")
Cc: <stable@vger.kernel.org>
Reported-by: Stan Lu <stan.lu@mediatek.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1629189389-18779-5-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-28 11:10:38 +02:00
..
atm
c67x00
cdns3 usb: cdns3: fix issue with rearming ISO OUT endpoint 2022-09-28 11:10:23 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-29 08:59:51 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-09-08 11:11:39 +02:00
common usb: ulpi: Call of_node_put correctly 2022-02-16 12:54:28 +01:00
core USB: core: Fix RST error in hub.c 2022-09-28 11:10:24 +02:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-09-08 11:11:39 +02:00
dwc3 usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop 2022-09-28 11:10:21 +02:00
early Revert "usb: early: convert to readl_poll_timeout_atomic()" 2021-12-22 09:30:56 +01:00
gadget Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio" 2022-09-28 11:10:24 +02:00
host usb: xhci-mtk: fix issue of out-of-bounds array access 2022-09-28 11:10:38 +02:00
image
isp1760
misc usb: misc: fix improper handling of refcount in uss720_probe() 2022-05-09 09:04:58 +02:00
mon
mtu3 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-05-09 09:04:56 +02:00
musb usb: musb: Fix missing of_node_put() in omap2430_probe 2022-06-14 18:32:31 +02:00
phy usb: phy: generic: Get the vbus supply 2022-05-09 09:04:59 +02:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:38:13 +02:00
roles
serial USB: serial: option: add Quectel RM520N 2022-09-28 11:10:25 +02:00
storage usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS 2022-09-20 12:38:32 +02:00
typec usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device 2022-09-28 11:10:20 +02:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:32:31 +02:00
Kconfig
Makefile
usb-skeleton.c