Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02402.html
https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02396.html