Description (CNA)
A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-snd input callback, virtio_snd_pcm_in_cb, the function did not check whether the iov can fit the data buffer. This issue can trigger an out-of-bounds write if the size of the virtio queue element is equal to virtio_snd_pcm_status, which makes the available space for audio data zero.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 9.1.0 |
| Red Hat / Red Hat Enterprise Linux 6 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 Advanced Virtualization | unaffected |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected |
CWE
CWE-122
References
- https://access.redhat.com/security/cve/CVE-2024-7730
- https://bugzilla.redhat.com/show_bug.cgi?id=2304289
ADP enrichment
No English description supplied.
No references supplied.