cve.bz

CVE-2021-3929 Use After Free

8.2 highExploit referenceEPSS 0.7%Fix available

High (8.2). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3929 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3929?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3929?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3929 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemubefore 7.0.0
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14qemu1:7.0+dfsg-1DEBIAN-CVE-2021-3929
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.40USN-5489-1
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.23USN-5489-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.2UBUNTU-CVE-2021-3929 USN-5489-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 moreqemu5.2.0-150300.121.2SUSE-SU-2023:0840-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1qemu3.1.1.1-150100.80.51.5SUSE-SU-2023:3800-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2qemu4.2.1-150200.79.1SUSE-SU-2023:3721-1
SUSELinux Enterprise Server 12 SP2-BCLqemu2.6.2-41.76.1SUSE-SU-2023:2358-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5qemu3.1.1.1-66.1SUSE-SU-2023:0761-1
openSUSELeap 15.4qemu4.2.1-150200.79.1SUSE-SU-2023:3721-1
openSUSETumbleweedqemu6.2.0-44.1openSUSE-SU-2024:11969-1
Azure Linux2qemu6.2.0-13AZL-10721
Azure Linux3qemu6.2.0-18AZL-35152

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The `qemu-kvm` package as shipped with Red Hat Enterprise Linux is not affected by this flaw as it does not include support for NVMe device emulation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8virt:rhel/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat Enterprise Linux 9qemu-kvmNot affected
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3929.

References

Check your stackJSON