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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvirt | libvirt 8.0.0-8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libvirt | 8.2.0-1 | — |
| Debian 13 | libvirt | 8.2.0-1 | — |
| Debian 12 | libvirt | 8.2.0-1 | — |
| Debian 10 | libvirt | 5.0.0-4+deb10u2 | DLA-3778-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libvirt | 8.0.0-1ubuntu7.5 | USN-6126-1 |
| Ubuntu 20.04 LTS | libvirt | 6.0.0-0ubuntu8.16 | USN-5399-1 |
| Ubuntu 18.04 LTS | libvirt | 4.0.0-1ubuntu8.21 | USN-5399-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libvirt +24 | 8.5.0-7.el9_1 | RHSA-2022:8003 |
| RHEL 8 | SLOF | 20210217-1.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | hivex +6 | 1.3.18-23.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libguestfs-winsupport | 8.6-1.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libiscsi +2 | 1.18.0-8.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libnbd +6 | 1.6.0-5.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libtpms +1 | 0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libvirt +27 | 8.0.0-10.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libvirt-dbus | 1.3.0-2.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | libvirt-python +1 | 8.0.0-2.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | nbdkit +18 | 1.24.0-4.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | netcf +2 | 0.2.8-12.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | perl-Sys-Virt | 8.0.0-1.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | qemu-img +14 | 15:6.2.0-20.module+el8.7.0+16689+53d59bc2.1 | RHSA-2022:7472 |
| RHEL 8 | seabios +2 | 1.16.0-3.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | sgabios +1 | 1:0.20170427git-3.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | supermin +1 | 5.2.1-2.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | virt-dib +24 | 1:1.44.0-9.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| RHEL 8 | virt-v2v +3 | 1:1.42.0-21.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libvirt +24 | 8.5.0-7.el9_1 | ALSA-2022:8003 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libvirt | 8.5.0-7.3.el9_1 | RLSA-2022:8003 |
| Rocky Linux 8 | hivex | 1.3.18-23.module+el8.6.0+847+b490afdd | RLSA-2022:7472 |
| Rocky Linux 8 | libguestfs | 1:1.44.0-9.module+el8.7.0+1084+97b81f61.rocky | RLSA-2022:7472 |
| Rocky Linux 8 | libguestfs-winsupport | 8.6-1.module+el8.6.0+847+b490afdd | RLSA-2022:7472 |
| Rocky Linux 8 | libiscsi | 1.18.0-8.module+el8.4.0+534+4680a14e | RLSA-2022:7472 |
| Rocky Linux 8 | libnbd | 1.6.0-5.module+el8.6.0+847+b490afdd | RLSA-2022:7472 |
| Rocky Linux 8 | libtpms | 0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | libvirt | 8.0.0-10.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+534+4680a14e | RLSA-2022:7472 |
| Rocky Linux 8 | libvirt-python | 8.0.0-2.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | nbdkit | 1.24.0-4.module+el8.6.0+847+b490afdd | RLSA-2022:7472 |
| Rocky Linux 8 | netcf | 0.2.8-12.module+el8.4.0+534+4680a14e | RLSA-2022:7472 |
| Rocky Linux 8 | perl-Sys-Virt | 8.0.0-1.module+el8.6.0+847+b490afdd | RLSA-2022:7472 |
| Rocky Linux 8 | qemu-kvm | 5:6.2.0-20.module+el8.7.0+1084+97b81f61.2 | RLSA-2022:7472 |
| Rocky Linux 8 | seabios | 1.16.0-3.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | sgabios | 1:0.20170427git-3.module+el8.4.0+534+4680a14e | RLSA-2022:7472 |
| Rocky Linux 8 | supermin | 5.2.1-2.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | swtpm | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
| Rocky Linux 8 | virt-v2v | 1:1.42.0-21.module+el8.7.0+1084+97b81f61 | RLSA-2022:7472 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | libvirt | 7.1.0-150300.6.29.1 | SUSE-SU-2022:1549-1 |
| SLES 15 SP2 | libvirt | 6.0.0-150200.13.27.1 | SUSE-SU-2023:2754-1 |
| SLES 12 SP5 | libvirt | 5.1.0-13.31.1 | SUSE-SU-2022:1540-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP2 | libvirt | 6.0.0-150200.13.27.1 | SUSE-SU-2023:2754-1 |
| SLES for SAP 12 SP5 | libvirt | 5.1.0-13.31.1 | SUSE-SU-2022:1540-1 |
| SLE Micro 5.2 | libvirt | 7.1.0-150300.6.29.1 | SUSE-SU-2022:1549-1 |
| SLE Micro 5.1 | libvirt | 7.1.0-150300.6.29.1 | SUSE-SU-2022:1549-1 |
| SLE HPC 15 SP2 | libvirt | 6.0.0-150200.13.27.1 | SUSE-SU-2023:2754-1 |
| SUSE Enterprise Storage 7 | libvirt | 6.0.0-150200.13.27.1 | SUSE-SU-2023:2754-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 8.2.0-1.1 | openSUSE-SU-2024:11972-1 |
| openSUSE Leap 15.4 | libvirt | 7.1.0-150300.6.29.1 | SUSE-SU-2022:1549-1 |
| openSUSE Leap 15.3 | libvirt | 7.1.0-150300.6.29.1 | SUSE-SU-2022:1549-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libvirt +24 | 8.5.0-7.0.1.el9_1 | ELSA-2022-8003 |
| Oracle Linux 8 | hivex +4 | 1.3.18-21.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libnbd +3 | 1.2.2-1.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libtpms +1 | 0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | libvirt +29 | 5.7.0-33.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | libvirt-wireshark | 8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | nbdkit +13 | 1.16.2-4.0.1.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | nbdkit-nbd-plugin +4 | 1.24.0-4.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | ocaml-hivex +1 | 1.3.18-23.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | ocaml-libguestfs +2 | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | ocaml-libnbd +2 | 1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | perl-Sys-Virt | 4.5.0-5.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | qemu-img +9 | 15:4.2.1-17.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | qemu-kvm-docs +4 | 15:6.2.0-20.module+el8.7.0+20875+5dd40464.1 | ELSA-2022-7472 |
| Oracle Linux 8 | seabios +2 | 1.13.0-2.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | supermin +1 | 5.1.19-10.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | swtpm +4 | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 8 | virt-dib +23 | 1:1.40.2-28.0.4.module+el8.5.0+20645+1693a26d | ELSA-2022-9460, ELSA-2022-7472 |
| Oracle Linux 8 | virt-v2v-man-pages-ja +2 | 1:1.42.0-21.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux 7 | libvirt +32 | 5.7.0-33.el7 | ELSA-2022-9433 |
Advisories 17
- ALSA-2022:8003 Low: libvirt security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:8003 Red Hat Security Advisory: libvirt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2022:7472 Red Hat Security Advisory: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-6126-1 libvirt vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- USN-5399-1 libvirt vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3778-1 libvirt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:7472 Low: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:8003 Low: libvirt security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:1540-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2754-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1549-1 Security update for libvirt SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11972-1 libvirt-8.2.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0118 libvirt: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Apr 1, 2024
- ELSA-2022-8003 Low: libvirt security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 22, 2022
- ELSA-2022-7472 Low: virt:ol and virt-devel:ol security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 15, 2022
- ELSA-2022-9460 Important: kvm_utils security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jun 6, 2022
- ELSA-2022-9433 Important: libvirt libvirt-python security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 26, 2022