2b2a0e4f465a ("hw/usb/hcd-ehci: Check for DMA errors in
get_dwords()/put_dwords()") lets a guest abort QEMU by pointing a
schedule descriptor at memory that is not there. It is not in a
release yet; 11.2 would be the first.
Patch 2 adds the qtest: it aborts QEMU on current master and passes
with patch 1.
Junjie Cao (2):
hw/usb/hcd-ehci: idle the schedule after a failed descriptor read
tests/qtest/usb-hcd-ehci: test descriptor reads that fail
hw/usb/hcd-ehci.c | 14 ++++
tests/qtest/usb-hcd-ehci-test.c | 119 ++++++++++++++++++++++++++++++++
2 files changed, 133 insertions(+)
--
2.43.0