An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in modesensepage() if the 'page' argument was set to MODEPAGEALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition.