CVE-2024-7730

Qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()

State
Published
Severity
7.4 High
Published
Nov 14, 2024
Updated
Nov 14, 2024
Reserved
Aug 13, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hfedora

Weaknesses

Affected Products

ProductVersions
qemu
  • before 9.1.0Affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 8 Advanced VirtualizationRed Hat
            Red Hat Enterprise Linux 9Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.