QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately. https://gitlab.com/thuth/qemu/-/commit/3f91104484e5bf55b56d7e1b039a4a5a17d0c1a7 https://gitlab.com/qemu-project/qemu/-/issues/1813
Created qemu tracking bugs for this issue: Affects: fedora-all [bug 2238573]
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:2135 https://access.redhat.com/errata/RHSA-2024:2135