Improper Locking Affecting virt:rhel/libvirt-daemon-driver-nodedev package, versions <0:8.0.0-10.module+el8.7.0+16689+53d59bc2


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-VIRT-4338999
  • published26 Mar 2022
  • disclosed17 Mar 2022

Introduced: 17 Mar 2022

CVE-2022-0897  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade RHEL:8 virt:rhel/libvirt-daemon-driver-nodedev to version 0:8.0.0-10.module+el8.7.0+16689+53d59bc2 or higher.
This issue was patched in RHSA-2022:7472.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/libvirt-daemon-driver-nodedev package and not the virt:rhel/libvirt-daemon-driver-nodedev package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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).

CVSS Scores

version 3.1