Skip to content
Snippets Groups Projects
user avatar
Gerd Hoffmann authored
Commit "156a2e4d ehci: make idt processing more robust" tries to avoid a
DoS by the guest (create a circular iTD queue and let qemu ehci
emulation run in circles forever).  Unfortunately this has two problems:
First it misses the case of siTDs, and second it reportedly breaks
FreeBSD.

So lets go for a different approach: just count the number of iTDs and
siTDs we have seen per frame and apply a limit.  That should really
catch all cases now.

Reported-by: default avatar杜少博 <dushaobo@360.cn>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
1ae3f2f1
History
Name Last commit Last update