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

Gerd Hoffmann posted 5 patches 2 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210503132915.2335822-1-kraxel@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>
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(-)
[PATCH v2 0/5] usb: fix some memory allocation issues.
Posted by Gerd Hoffmann 2 years, 11 months ago
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(-)

-- 
2.30.2