[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 108160: hw/usb/host-stub: Remove unused heade
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 108160: hw/usb/host-stub: Remove unused header |
Date: |
Tue, 11 May 2021 00:38:19 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 1081607bfab94a0b6149c4a2195737107aed265f
https://github.com/qemu/qemu/commit/1081607bfab94a0b6149c4a2195737107aed265f
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M hw/usb/host-stub.c
Log Message:
-----------
hw/usb/host-stub: Remove unused header
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210424224110.3442424-2-f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 9c3c834bdda5ca6d58c0e61508737683d12968b5
https://github.com/qemu/qemu/commit/9c3c834bdda5ca6d58c0e61508737683d12968b5
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M MAINTAINERS
M hw/usb/meson.build
M stubs/meson.build
A stubs/usb-dev-stub.c
Log Message:
-----------
hw/usb: Do not build USB subsystem if not required
If the Kconfig 'USB' value is not selected, it is pointless to
build the USB core components. Add a stub for the HMP commands
and usbdevice_create() which is called by usb_device_add in
softmmu/vl.c.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210424224110.3442424-3-f4bug@amsat.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Commit: 3f67e2e7f135b8be4117f3c2960e78d894feaa03
https://github.com/qemu/qemu/commit/3f67e2e7f135b8be4117f3c2960e78d894feaa03
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M hw/usb/dev-hid.c
M hw/usb/dev-wacom.c
Log Message:
-----------
usb/hid: avoid dynamic stack allocation
Use autofree heap allocation instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210503132915.2335822-2-kraxel@redhat.com>
Commit: 7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986
https://github.com/qemu/qemu/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M hw/usb/redirect.c
Log Message:
-----------
usb/redir: avoid dynamic stack allocation (CVE-2021-3527)
Use autofree heap allocation instead.
Fixes: 4f4321c11ff ("usb: use iovecs in USBPacket")
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210503132915.2335822-3-kraxel@redhat.com>
Commit: 06aa50c06c6392084244f8169d34b8e2d9c43ef2
https://github.com/qemu/qemu/commit/06aa50c06c6392084244f8169d34b8e2d9c43ef2
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M hw/usb/dev-mtp.c
Log Message:
-----------
usb/mtp: avoid dynamic stack allocation
Use autofree heap allocation instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210503132915.2335822-4-kraxel@redhat.com>
Commit: 05a40b172e4d691371534828078be47e7fff524c
https://github.com/qemu/qemu/commit/05a40b172e4d691371534828078be47e7fff524c
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M hw/usb/combined-packet.c
Log Message:
-----------
usb: limit combined packets to 1 MiB (CVE-2021-3527)
usb-host and usb-redirect try to batch bulk transfers by combining many
small usb packets into a single, large transfer request, to reduce the
overhead and improve performance.
This patch adds a size limit of 1 MiB for those combined packets to
restrict the host resources the guest can bind that way.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210503132915.2335822-6-kraxel@redhat.com>
Commit: e4f3ede95ce813d5705c65e1c0e1c80c70739ebb
https://github.com/qemu/qemu/commit/e4f3ede95ce813d5705c65e1c0e1c80c70739ebb
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M MAINTAINERS
M hw/usb/combined-packet.c
M hw/usb/dev-hid.c
M hw/usb/dev-mtp.c
M hw/usb/dev-wacom.c
M hw/usb/host-stub.c
M hw/usb/meson.build
M hw/usb/redirect.c
M stubs/meson.build
A stubs/usb-dev-stub.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/kraxel/tags/usb-20210505-pull-request'
into staging
usb: fix some memory allocation issues (CVE-2021-3527).
usb: add stubs, allow building without usb subsystem.
# gpg: Signature made Wed 05 May 2021 14:07:02 BST
# gpg: using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
# gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
# gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* remotes/kraxel/tags/usb-20210505-pull-request:
usb: limit combined packets to 1 MiB (CVE-2021-3527)
usb/mtp: avoid dynamic stack allocation
usb/redir: avoid dynamic stack allocation (CVE-2021-3527)
usb/hid: avoid dynamic stack allocation
hw/usb: Do not build USB subsystem if not required
hw/usb/host-stub: Remove unused header
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/e58c7a3bba30...e4f3ede95ce8