Vulnerability · Published Aug 25, 2022 · Assigned by redhat
CVE-2021-3929
High 8.2
In plain English
A high-severity use-after-free in QEMU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | qemu | 1:7.0+dfsg-1 | DEBIAN-CVE-2021-3929 |
| Debian:13 | qemu | 1:7.0+dfsg-1 | DEBIAN-CVE-2021-3929 |
| Debian:14 | qemu | 1:7.0+dfsg-1 | DEBIAN-CVE-2021-3929 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.2 | USN-5489-1 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.2 | UBUNTU-CVE-2021-3929 |
Affected products (as reported)
Weakness: CWE-416
References
- https://gitlab.com/qemu-project/qemu/-/issues/556 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=2020298 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2021-3929 x_refsource_MISC
- https://gitlab.com/qemu-project/qemu/-/issues/782 x_refsource_MISC
- https://gitlab.com/qemu-project/qemu/-/commit/736b01642d85be832385 x_refsource_MISC
- FEDORA-2022-f0a2695054 vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20250228-0010/