CVE-2024-8612
LowCVSS 3.8Exploitation Probability (EPSS)
Low risk12th percentile - higher than 12% of all known CVEs
Summary
In QEMU, in the virtio-scsi, virtio-blk, and virtio-crypto devices, the size for virtqueue_push as set in virtio_scsi_complete_req / virtio_blk_req_complete / virito_crypto_req_complete could be larger than the true size of the data sent to the guest. When virtqueue_push() calls dma_memory_unmap to unmap the in_iov, it may call address_space_write to write back the data, including uninitialized data in bounce.buffer, leading to an information leak.
Risk Assessment
A guest can read uninitialized host memory, leading to leakage of confidential information. This may break isolation between virtual machines and the host.
Recommendation
Update QEMU to a version containing the fix for CVE-2024-8612. Until patched, restrict guest access to virtio-scsi, virtio-blk, and virtio-crypto devices and apply least privilege.
Other vulnerabilities in QEMU
See all- CVE-2026-5744Medium
A vulnerability in the UEFI implementation within QEMU (or similar software) causes a heap overflow in the hardware module (hw/uefi). An attacker can exploit this flaw to gain unauthorized access or execute arbitrary code.
- CVE-2017-16845Critical
The hw/input/ps2.c file in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
- CVE-2017-15268High
Qemu through 2.10.0 allows remote attackers to cause a memory leak by triggering slow data-channel read operations, related to io/channel-websock.c.
- CVE-2017-13711High
A use-after-free vulnerability in the sofree function in slirp/socket.c in QEMU allows attackers to cause a denial of service (QEMU instance crash) by failing to properly clear ifq_so from pending packets.
- CVE-2017-8380Critical
Buffer overflow in the 'megasas_mmio_write' function in Qemu 2.9.0 allows remote attackers to have unspecified impact via unknown vectors.
- CVE-2017-10664High
qemu-nbd in QEMU does not ignore SIGPIPE, allowing remote attackers to cause a denial of service (daemon crash) by disconnecting during a server-to-client reply attempt.
- CVE-2017-8309High
A memory leak in audio/audio.c in QEMU allows remote attackers to cause a denial of service by repeatedly starting and stopping audio capture.
- CVE-2015-8619High
The Human Monitor Interface support in QEMU allows remote attackers to cause a denial of service through out-of-bounds write and application crash.
- CVE-2015-8567High
A memory leak in QEMU's net/vmxnet3.c allows remote attackers to cause a denial of service through excessive memory consumption.
- CVE-2016-4002Critical
Buffer overflow in the mipsnet_receive function in hw/net/mipsnet.c in QEMU, when the guest NIC is configured to accept large packets, allows remote attackers to cause a denial of service (memory corruption and QEMU crash) or possibly execute arbitrary code via a packet larger than 1514 bytes.
Original NVD description (English source)
A flaw was found in QEMU, in the virtio-scsi, virtio-blk, and virtio-crypto devices. The size for virtqueue_push as set in virtio_scsi_complete_req / virtio_blk_req_complete / virito_crypto_req_complete could be larger than the true size of the data which has been sent to guest. Once virtqueue_push() finally calls dma_memory_unmap to ummap the in_iov, it may call the address_space_write function to write back the data. Some uninitialized data may exist in the bounce.buffer, leading to an information leak.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

