A flaw was found in QEMU. When reading input audio in the virtio-snd device input callback, the `virtio_snd_pcm_in_cb` function did not check whether the iov could fit the data buffer, potentially leading to a heap out-of-bounds write. This issue exists due to an incomplete fix for CVE-2024-7730.
Credits
Red Hat would like to thank DARKNAVY (DarkNavyOrg) and Mingyuan Luo for reporting this issue.