An assertion failure was found in QEMU in the usb_ep_get() function in hw/net/core.c. The TD PID needs to be either USB_TOKEN_IN or USB_TOKEN_OUT in usb_ep_get, but in the caller uhci_handle_td it may be USB_TOKEN_SETUP. An unprivileged guest user may be able to reach the assertion. Users are not directly able to craft URBs, however as a user, one might be able to find a kernel path that would send a TD with PID USB_TOKEN_SETUP to QEMU (which is called USB_PID_SETUP in Linux). For instance in the Linux Kernel, uhci_submit_control in drivers/usb/host/uhci-q.c:789 does link a USB_PID_SETUP TD to the URB. Upstream issue: https://gitlab.com/qemu-project/qemu/-/issues/2548