NetSight
medium6.5

CVE-2021-3975

A use-after-free flaw was found in libvirt.

Impact

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 products

VendorProductAffected versions
RedhatLibvirt
before 7.1.0
CanonicalUbuntu Linux
Version 21.10
FedoraprojectFedora
Version 35
RedhatEnterprise Linux
Version 8.0
RedhatEnterprise Linux Eus
Version 8.6
RedhatEnterprise Linux For Ibm Z Systems
Version 8.0
RedhatEnterprise Linux For Ibm Z Systems Eus
Version 8.6
RedhatEnterprise Linux For Power Little Endian
Version 8.0
RedhatEnterprise Linux For Power Little Endian Eus
Version 8.6
RedhatEnterprise Linux Server For Power Little Endian Update Services For Sap Solutions
Version 8.6
RedhatEnterprise Linux Server Tus
Version 8.6
RedhatCodeready Linux Builder
All versions

Weakness classification

References