CVE details
CVE-2024-7730
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 ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| emulators/qemu-cheri | qemu-cheri | 0.d20260108 | unaddressed | brooks@FreeBSD.org |
| emulators/qemu-user-static | qemu-user-static | 3.1.0_16 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>qemu-cheri</name>
<range><lt>9.1.0</lt></range>
</package>
<package>
<name>qemu-user-static</name>
<range><lt>9.1.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2024-7730</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2024-7730</url>
</references>
<dates>
<discovery>2024-11-14</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>