linux-stable/drivers/usb
Juergen Gross d1aa535764 xen/usb: harden xen_hcd against malicious backends
[ Upstream commit aff477cb8f ]

Make sure a malicious backend can't cause any harm other than wrong
I/O data.

Missing are verification of the request id in a response, sanitizing
the reported actual I/O length, and protection against interrupt storms
from the backend.

Signed-off-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20220311103509.12908-1-jgross@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 19:27:21 +02:00
..
atm exit: Rename complete_and_exit to kthread_complete_and_exit 2021-12-13 12:04:45 -06:00
c67x00
cdns3 usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value 2022-04-13 19:27:09 +02:00
chipidea USB/Thunderbolt changes for 5.17-rc1 2022-01-12 11:27:57 -08:00
class usb: usbtmc: Fix bug in pipe direction for control transfers 2022-03-15 18:45:31 +01:00
common usb: ulpi: Call of_node_put correctly 2022-01-31 14:11:20 +01:00
core usb: core: Unregister device on component_add() failure 2022-02-11 10:57:21 +01:00
dwc2 usb: dwc2: drd: fix soft connect when gadget is unconfigured 2022-02-17 16:10:21 +01:00
dwc3 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm 2022-04-13 19:27:21 +02:00
early Revert "usb: early: convert to readl_poll_timeout_atomic()" 2021-12-17 16:29:11 +01:00
gadget usb: gadget: tegra-xudc: Fix control endpoint's definitions 2022-04-13 19:27:09 +02:00
host xen/usb: harden xen_hcd against malicious backends 2022-04-13 19:27:21 +02:00
image
isp1760 usb: isp1760: Use platform_get_irq() to get the interrupt 2021-12-21 08:51:57 +01:00
misc usb: usb251xb: add boost-up property support 2022-01-31 14:22:49 +01:00
mon
mtu3 usb: mtu3: set interval of FS intr and isoc endpoint 2021-12-21 09:05:45 +01:00
musb partially Revert "usb: musb: Set the DT node on the child device" 2022-03-15 15:49:15 +01:00
phy
renesas_usbhs usb: renesas_usbhs: Use platform_get_irq() to get the interrupt 2021-12-21 08:51:57 +01:00
roles
serial USB: serial: simple: add Nokia phone driver 2022-04-08 13:57:12 +02:00
storage USB: storage: ums-realtek: fix error code in rts51x_read_mem() 2022-04-08 13:58:18 +02:00
typec usb: typec: tipd: Forward plug orientation to typec subsystem 2022-04-08 13:57:13 +02:00
usbip
Kconfig
Makefile
usb-skeleton.c