Use After Free in Qemu
CVE-2021-3929
A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation in QEMU. This CVE is similar to CVE-2021-3750 and, just like it, when the reentrancy write triggers the reset function nvme_ctrl_reset(), data structs will be freed leading to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition or, potentially, executing arbitrary code within the context of the QEMU process on the host.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Qemu
- Fedoraproject Fedora — versions 35, 36
- Qemu — versions Fixed in qemu-kvm 7.0.0-rc0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- QiuhaoLi/CVE-2021-3929-3947 (171 stars, last pushed 2022-05-13): Recursive MMIO VM Escape PoC
- abraxas/qemu-nvme-sgl-bar (last pushed 2026-10-17): QEMU 11.1.2 - High - Local - UAF - NVMe SGL span into BAR0 incomplete CVE-2021-3929
Also mentioned in 13 other repositories (ARPSyndicate/cvemon, k0mi-tg/CVE-POC, lemon-mint/stars, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gitlab.com/qemu-project/qemu/-/issues/556 (Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2021-3929 (Third Party Advisory)
- gitlab.com/qemu-project/qemu/-/issues/782 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- gitlab.com/qemu-project/qemu/-/commit/736b01642d85be832385 (Patch, Third Party Advisory)
- FEDORA-2022-f0a2695054 (vendor-advisory)
- security.netapp.com/advisory/ntap-20250228-0010/
This CVE has public exploit evidence. See the latest CVEs with public exploits.