mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() If the guest feeds invalid data to the UHCI controller, we
can assert:
qemu-system-x86_64: ../../hw/usb/core.c:744: usb_ep_get: Assertion `pid == USB_TOKEN_IN || pid == USB_TOKEN_OUT' failed.
(see issue 2548 for the repro case). This happens because the guest
attempts USB_TOKEN_SETUP to an endpoint other than 0, which is not
valid. The controller code doesn't catch this guest error, so
instead we hit the assertion in the USB core code.
Catch the case of SETUP to non-zero endpoint, and treat it as a fatal
error in the TD, in the same way we do for an invalid PID value in
the TD.
This is the UHCI equivalent of the same bug in OHCI that we fixed in
commit
|
4 weeks ago | |
---|---|---|
.. | ||
Kconfig | 8 months ago | |
bus-stub.c | 10 months ago | |
bus.c | 6 months ago | |
canokey.c | 6 months ago | |
canokey.h | 9 months ago | |
ccid-card-emulated.c | 6 months ago | |
ccid-card-passthru.c | 6 months ago | |
ccid.h | 5 years ago | |
chipidea.c | 6 months ago | |
combined-packet.c | 5 years ago | |
core.c | 5 years ago | |
desc-msos.c | 4 years ago | |
desc.c | 2 years ago | |
desc.h | 4 years ago | |
dev-audio.c | 6 months ago | |
dev-hid.c | 3 months ago | |
dev-hub.c | 6 months ago | |
dev-mtp.c | 6 months ago | |
dev-network.c | 1 month ago | |
dev-serial.c | 6 months ago | |
dev-smartcard-reader.c | 6 months ago | |
dev-storage-bot.c | 6 months ago | |
dev-storage-classic.c | 6 months ago | |
dev-storage.c | 6 months ago | |
dev-uas.c | 6 months ago | |
dev-wacom.c | 6 months ago | |
hcd-dwc2.c | 6 months ago | |
hcd-dwc2.h | 10 months ago | |
hcd-dwc3.c | 6 months ago | |
hcd-ehci-pci.c | 6 months ago | |
hcd-ehci-sysbus.c | 6 months ago | |
hcd-ehci.c | 9 months ago | |
hcd-ehci.h | 10 months ago | |
hcd-ohci-pci.c | 6 months ago | |
hcd-ohci-sysbus.c | 6 months ago | |
hcd-ohci.c | 4 months ago | |
hcd-ohci.h | 10 months ago | |
hcd-uhci.c | 4 weeks ago | |
hcd-uhci.h | 6 months ago | |
hcd-xhci-nec.c | 6 months ago | |
hcd-xhci-pci.c | 6 months ago | |
hcd-xhci-pci.h | 8 months ago | |
hcd-xhci-sysbus.c | 6 months ago | |
hcd-xhci-sysbus.h | 5 years ago | |
hcd-xhci.c | 6 months ago | |
hcd-xhci.h | 8 months ago | |
host-libusb.c | 6 months ago | |
imx-usb-phy.c | 6 months ago | |
libhw.c | 10 months ago | |
meson.build | 8 months ago | |
pcap.c | 5 years ago | |
quirks-ftdi-ids.h | 4 years ago | |
quirks-pl2303-ids.h | 3 years ago | |
quirks.c | 6 years ago | |
quirks.h | 2 years ago | |
redirect.c | 6 months ago | |
trace-events | 1 year ago | |
trace.h | 5 years ago | |
u2f-emulated.c | 6 months ago | |
u2f-passthru.c | 6 months ago | |
u2f.c | 6 months ago | |
u2f.h | 3 years ago | |
vt82c686-uhci-pci.c | 2 years ago | |
xen-usb.c | 8 months ago | |
xlnx-usb-subsystem.c | 6 months ago | |
xlnx-versal-usb2-ctrl-regs.c | 6 months ago |