Division by Zero Vulnerability in QEMU Affecting Disk Emulation
CVE-2023-42467
5.5MEDIUM
Key facts: CVE-2023-42467 is a medium severity (CVSS 5.5) vulnerability in Qemu. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days.
What is CVE-2023-42467?
An issue has been detected in QEMU versions up to 8.0.0, where a division by zero can occur in the scsi_disk_reset function located in hw/scsi/scsi-disk.c. This vulnerability arises when the scsi_disk_emulate_mode_select function fails to properly validate the block size, allowing s->qdev.blocksize to be set to 256. When this occurs, it leads to an immediate halt of both QEMU and the guest operating system, potentially impacting system availability and performance.
References
https://gitlab.com/qemu-project/qemu/-/issues/1813
https://gitlab.com/qemu-project/qemu/-/commit/7cfcc79b0ab...
https://security.netapp.com/advisory/ntap-20231103-0005/
