CVEfocus › CVE database › CVE-2024-6505

CVE-2024-6505Qemu-kvm: virtio-net: queue index out-of-bounds access in software rss

CVSS 6.8 MediumEPSS 1.2% (higher than 67% of CVEs)Published 2024-07-05Updated 2026-11-24Assigner: redhat

A flaw was found in the virtio-net device in QEMU. When enabling the RSS feature on the virtio-net network card, the indirections_table data within RSS becomes controllable. Setting excessively large values may cause an index out-of-bounds issue, potentially resulting in heap overflow access. This flaw allows a privileged user in the guest to crash the QEMU process on the host.

CWE-125

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
75Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04qemuFixed1:8.2.2+ds-0ubuntu1.10UBUNTU-CVE-2024-6505
Ubuntu 22.04qemuFixed1:6.2+dfsg-2ubuntu6.27UBUNTU-CVE-2024-6505
Debian 14qemuFixed1:9.0.2+ds-3DEBIAN-CVE-2024-6505
Debian 13qemuFixed1:9.0.2+ds-3DEBIAN-CVE-2024-6505
Debian 12qemuFixed1:7.2+dfsg-7+deb12u8DEBIAN-CVE-2024-6505
Red Hat Enterprise Linux 10qemu-guest-agentWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-imgWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-audio-paWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-block-blkioWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-block-curlWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-block-rbdWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-commonWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-coreWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-display-virtio-gpuWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-display-virtio-gpu-ccwWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-display-virtio-gpu-pciWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-display-virtio-vgaWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-usb-hostWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-device-usb-redirectWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-docsWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-ui-egl-headlessWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-kvm-ui-openglWill not fix
Will not fix
Red Hat Enterprise Linux 10qemu-pr-helperWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-guest-agentWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-imgWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-audio-paWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-block-blkioWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-block-curlWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-block-rbdWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-commonWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-coreWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpuWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-ccwWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-glWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pciWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-gpu-pci-glWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vgaWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-display-virtio-vga-glWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-usb-hostWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-device-usb-redirectWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-docsWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-toolsWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-ui-egl-headlessWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-kvm-ui-openglWill not fix
Will not fix
Red Hat Enterprise Linux 9qemu-pr-helperWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-guest-agentWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-imgWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-block-curlWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-block-glusterWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-block-rbdWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-block-sshWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-commonWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-docsWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-testsWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-ui-openglWill not fix
Will not fix
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceWill not fix
Will not fix
Red Hat Enterprise Linux 7libcacardWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcacard-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libcacard-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-guest-agentWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-imgWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-img-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvmWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-common-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-maWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7qemu-kvm-tools-maWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-guest-agentWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-guest-agent-win32Will not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-imgWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-kvmWill not fix
Out of support scope
Red Hat Enterprise Linux 6qemu-kvm-toolsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: A viable mitigation for this vulnerability is to disable RSS on the nic/virtio driver. This can be performed either with the following qemu-kvm command "-device virtio-net-pci,rss=off", or, alternatively, by directly modifying the KVM XML file to disable RSS using a standard configuration tool (ex. libvirt).

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.