CVE-2024-3446 Qemu: virtio: dma reentrancy issue leads to double free vulnerability

High 8.2 Published Updated

A malicious privileged guest user can exploit a double free in QEMU virtio devices to crash the host or execute arbitrary code.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-3446?

CVE-2024-3446 is a high-severity use after free vulnerability in Red Hat Enterprise Linux 6, published on 9 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A double free vulnerability was found in QEMU virtio devices (virtio-gpu, virtio-serial-bus, virtio-crypto), where the mem_reentrancy_guard flag insufficiently protects against DMA reentrancy issues. This issue could allow a malicious privileged guest user to crash the QEMU process on the host, resulting in a denial of service or allow arbitrary code execution within the context of the QEMU process on the host.

Weakness: CWE-415

Which versions are affected by CVE-2024-3446?

How do I fix CVE-2024-3446?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-3446 being exploited?

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

Sources

Also known as BELL-CVE-2024-3446, DEBIAN-CVE-2024-3446, GHSA-rgvf-j3x5-6277, UBUNTU-CVE-2024-3446.

Is CVE-2024-3446 in your software?

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

Check your SBOMs for free