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

Medium 6.8 Published Updated

A privileged guest user can crash the host QEMU process via an out-of-bounds access in virtio-net RSS, requiring the RSS feature to be enabled.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6505?

CVE-2024-6505 is a medium-severity memory corruption vulnerability in Qemu Qemu, published on 5 Jul 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2024-6505?

It affects 2 products.

Products include Qemu Qemu, Redhat Enterprise Linux.

How do I fix CVE-2024-6505?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-6505 being exploited?

There is no known exploitation of CVE-2024-6505 in the wild and no public exploit code.

All Qemu Qemu vulnerabilities

Sources

Also known as AZL-60070, AZL-60925, DEBIAN-CVE-2024-6505, GHSA-3qx7-ff8p-6j2r, OESA-2024-2199, OESA-2024-2200 and 3 more.

Is CVE-2024-6505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free