CVE-2021-3929Use After Free in Qemu

CWE-416Use After Free9 documents7 sources
Severity
8.2HIGHNVD
OSV6.1
EPSS
4.9%
top 10.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 25
Latest updateAug 26

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HExploitability: 1.5 | Impact: 6.0

Affected Packages12 packages

NVDqemu/qemu< 7.0.0
debiandebian/qemu< qemu 1:7.0+dfsg-1 (bookworm)
Debianqemu/qemu< 1:7.0+dfsg-1+2
Ubuntuqemu/qemu< 1:2.11+dfsg-1ubuntu7.40+2

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

4
GHSA
GHSA-h66w-323g-4q62: A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation in QEMU2022-08-26
OSV
CVE-2021-3929: A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation in QEMU2022-08-25
OSV
qemu vulnerabilities2022-06-21
OSV
Task dropped in wrong thread when aborting `LocalSet` task2021-07-07

📋Vendor Advisories

4
Microsoft
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 nvm2022-08-09
Ubuntu
QEMU vulnerabilities2022-06-21
Red Hat
QEMU: nvme: DMA reentrancy issue leads to use-after-free2021-12-16
Debian
CVE-2021-3929: qemu - A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation ...2021