mbox series

[v2,0/5] usb: fix some memory allocation issues.

Message ID 20210503132915.2335822-1-kraxel@redhat.com
Headers show
Series usb: fix some memory allocation issues. | expand

Message

Gerd Hoffmann May 3, 2021, 1:29 p.m. UTC
v2: add one more fix (Philippe).

Gerd Hoffmann (5):
  usb/hid: avoid dynamic stack allocation
  usb/redir: avoid dynamic stack allocation (CVE-2021-3527)
  usb/mtp: avoid dynamic stack allocation
  usb/xhci: sanity check packet size
  usb: limit combined packets to 1 MiB

 hw/usb/combined-packet.c | 4 +++-
 hw/usb/dev-hid.c         | 2 +-
 hw/usb/dev-mtp.c         | 3 ++-
 hw/usb/dev-wacom.c       | 2 +-
 hw/usb/hcd-xhci.c        | 5 +++++
 hw/usb/redirect.c        | 6 +++---
 6 files changed, 15 insertions(+), 7 deletions(-)