CVE-2021-3975

Summary

A use-after-free flaw was found in libvirt. The qemuMonitorUnregister() function in qemuProcessHandleMonitorEOF is called using multiple threads without being adequately protected by a monitor lock. This flaw could be triggered by the virConnectGetAllDomainStats API when the guest is shutting down. An unprivileged client with a read-only connection could use this flaw to perform a denial of service attack by causing the libvirt daemon to crash.

Affected Software

VendorProductVersion RangeStatus
n/alibvirtFixed in libvirt v7.1.0affected

Weaknesses

  • CWE-416: CWE-416 - Use After Free

ADP Enrichment

CVE Program Container

Additional References

References