REDHAT-BUG-2488283: Medium severity Qemu Qemu vulnerability
QEMU's virtio-blk device can write past the end of a heap-allocated MMIO bounce buffer while handling a crafted VIRTIOBLKTSCSICMD request. A malicious guest that can program virtio-blk request descriptors can make the second-to-last writable input descriptor point to an MMIO guest physical address with a length of only 1 byte. QEMU maps that descriptor through an exact-size heap bounce buffer, then virtioblkhandlescsi() writes the 4-byte virtioscsiinhdr.errors field without first checking that the descriptor is large enough. A malicious guest can cause an out-of-bounds host heap write in the QEMU process by submitting a malformed virtio-blk SCSI request.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2488283?
The severity of REDHAT-BUG-2488283 is medium with a risk rating of 4.
How do I fix REDHAT-BUG-2488283?
To fix REDHAT-BUG-2488283, upgrade to the latest version of QEMU that addresses this vulnerability.
What is the impact of REDHAT-BUG-2488283?
The impact of REDHAT-BUG-2488283 is the potential for a malicious guest to write past the end of a heap-allocated MMIO bounce buffer.
Who is affected by REDHAT-BUG-2488283?
Users of QEMU that utilize the virtio-blk device and handle crafted VIRTIO_BLK_T_SCSI_CMD requests are affected by REDHAT-BUG-2488283.
What type of vulnerability is REDHAT-BUG-2488283?
REDHAT-BUG-2488283 is a heap overflow vulnerability specifically related to the virtio-blk device in QEMU.