CVE-2024-6505Qemu-kvm: virtio-net: queue index out-of-bounds access in software rss
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | qemu | Fixed | 1:8.2.2+ds-0ubuntu1.10 | UBUNTU-CVE-2024-6505 |
| Ubuntu 22.04 | qemu | Fixed | 1:6.2+dfsg-2ubuntu6.27 | UBUNTU-CVE-2024-6505 |
| Debian 14 | qemu | Fixed | 1:9.0.2+ds-3 | DEBIAN-CVE-2024-6505 |
| Debian 13 | qemu | Fixed | 1:9.0.2+ds-3 | DEBIAN-CVE-2024-6505 |
| Debian 12 | qemu | Fixed | 1:7.2+dfsg-7+deb12u8 | DEBIAN-CVE-2024-6505 |
| Red Hat Enterprise Linux 10 | qemu-guest-agent | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-img | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-audio-pa | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-blkio | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-curl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-block-rbd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-core | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-ccw | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-gpu-pci | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-display-virtio-vga | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-host | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-device-usb-redirect | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-egl-headless | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-kvm-ui-opengl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 10 | qemu-pr-helper | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-guest-agent | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-img | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-audio-pa | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-blkio | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-curl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-block-rbd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-core | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-ccw | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-gl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-gpu-pci-gl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-display-virtio-vga-gl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-host | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-device-usb-redirect | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-egl-headless | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-kvm-ui-opengl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | qemu-pr-helper | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-img | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libcacard | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-img | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qemu-img | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Will 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.
- qemu: affected: 5.1.0 to before 9.1.0; fixed in
9.1.0 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8 Advanced Virtualization
- Red Hat Enterprise Linux 9
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
- https://access.redhat.com/security/cve/CVE-2024-6505
- https://bugzilla.redhat.com/show_bug.cgi?id=2295760
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.