CVE-2022-0897
libvirt: missing locking in nwfilterConnectNumOfNWFilters can lead to denial of service
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 17, 2022
Updated · June 28, 2026
Description
A flaw was found in the libvirt nwfilter driver. The virNWFilterObjListNumOfNWFilters method failed to acquire the driver->nwfilters mutex before iterating over virNWFilterObj instances. There was no protection to stop another thread from concurrently modifying the driver->nwfilters object. This flaw allows a malicious, unprivileged user to exploit this issue via libvirt's API virConnectNumOfNWFilters to crash the network filter management daemon (libvirtd/virtnwfilterd).
Statement
A future update may address this issue in Red Hat Enterprise Linux 8 and RHEL Advanced Virtualization.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CWE-667 · Improper Locking