Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
— qemu < 9.1.0 9.1.0
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:9.1.0+ds-1 —
Debian 13 qemu 1:9.1.0+ds-1 —
Debian 12 qemu No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS qemu 1:8.2.2+ds-0ubuntu1.4 USN-7094-1
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.24 USN-7094-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.30 USN-7094-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.42+esm2 USN-7094-1
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm3 USN-7094-1
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm4 USN-7094-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 qemu 8.2.0-16 —

Advisories 2

References