NULL pointer dereference in Qemu
CVE-2021-4145
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 33.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Qemu — versions 6.1.0
- Red Hat Enterprise Linux — versions 8.0
- Qemu — versions qemu-kvm 6.2.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, tanjiti/sec_profile). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- gitlab.com/qemu-project/qemu/-/commit/66fed30c9cd11854fc878a4eceb507e915d7c9cd (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220311-0004/ (Third Party Advisory)
- GLSA-202208-27 (vendor-advisory, Third Party Advisory)