Name | CVE-2024-7730 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
qemu (PTS) | jessie, jessie (lts) | 1:2.1+dfsg-12+deb8u23 | vulnerable |
stretch (security) | 1:2.8+dfsg-6+deb9u17 | vulnerable | |
stretch (lts), stretch | 1:2.8+dfsg-6+deb9u19 | vulnerable | |
buster (security), buster, buster (lts) | 1:3.1+dfsg-8+deb10u12 | vulnerable | |
bullseye | 1:5.2+dfsg-11+deb11u3 | vulnerable | |
bullseye (security) | 1:5.2+dfsg-11+deb11u2 | vulnerable | |
bookworm | 1:7.2+dfsg-7+deb12u7 | vulnerable | |
sid, trixie | 1:9.2.0+ds-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
qemu | source | jessie | (unfixed) | end-of-life | ||
qemu | source | (unstable) | 1:9.1.0+ds-1 |
[bookworm] - qemu <no-dsa> (Minor issue)
https://lore.kernel.org/qemu-devel/virtio-snd-fuzz-2427-fix-v1-manos.pitsidianakis@linaro.org/
https://gitlab.com/qemu-project/qemu/-/issues/2427
Fixed by: https://gitlab.com/qemu-project/qemu/-/commit/98e77e3dd8dd6e7aa9a7dffa60f49c8c8a49d4e3 (v9.1.0-rc0)