First published: Mon Sep 11 2023(Updated: )
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. <a href="https://gitlab.com/thuth/qemu/-/commit/3f91104484e5bf55b56d7e1b039a4a5a17d0c1a7">https://gitlab.com/thuth/qemu/-/commit/3f91104484e5bf55b56d7e1b039a4a5a17d0c1a7</a> <a href="https://gitlab.com/qemu-project/qemu/-/issues/1813">https://gitlab.com/qemu-project/qemu/-/issues/1813</a>
Affected Software | Affected Version | How to fix |
---|---|---|
QEMU | <8.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2238291 is classified as critical due to its potential to cause QEMU to crash.
To fix REDHAT-BUG-2238291, you need to update QEMU to version 8.0.0 or later where the vulnerability has been patched.
QEMU versions up to and including 8.0.0 are affected by REDHAT-BUG-2238291.
REDHAT-BUG-2238291 addresses a division by zero error in scsi_disk_reset in hw/scsi/scsi-disk.c.
The impacted components in QEMU related to REDHAT-BUG-2238291 are the SCSI disk emulation functionalities.