DMA Reentrancy Vulnerability in NVME Emulation for QEMU
CVE-2021-3929
Key Information:
Badges
Key facts: CVE-2021-3929 is a high severity (CVSS 8.2) vulnerability in QEMU. It is known to be exploited in the wild. 1 public proof-of-concept exploit is available. Its EPSS score is 0.6%, the estimated probability of exploitation in the next 30 days.
What is CVE-2021-3929?
A DMA reentrancy issue exists within the NVM Express Controller (NVME) emulation in QEMU, leading to a use-after-free condition. When a reentrant write triggers the reset function nvme_ctrl_reset(), it causes data structures to be freed improperly. This vulnerability allows a malicious guest to crash the QEMU process on the host. In certain scenarios, this flaw may lead to a denial of service, and it could potentially allow the execution of arbitrary code within the context of the QEMU process on the host, exposing systems to further risks.
Affected Version(s)
QEMU Fixed in qemu-kvm 7.0.0-rc0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
