Vulnerabilities · 2021 · Qemu
CVE-2021-4145
Qemu vulnerability
A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0. The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node.
Affected products
Qemu, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Qemu runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2034602 · Patch
- gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd · Patch
- security.gentoo.org/glsa/202208-27 · Third Party Advisory
- security.netapp.com/advisory/ntap-20220311-0004/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-4145
- cve.org/CVERecord?id=CVE-2021-4145
More vulnerabilities in Qemu products
CVE-2025-54567CVE-2025-54566CVE-2024-26328CVE-2024-26327CVE-2024-24474CVE-2024-8354CVE-2024-7730CVE-2024-6519All 419
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.