Skip to content
OpenAdvisories

Description

An off-by-one error flaw was found in the udevListInterfacesByStatus() function in libvirt when the number of interfaces exceeds the size of the `names` array. This issue can be reproduced by sending specially crafted data to the libvirt daemon, allowing an unprivileged client to perform a denial of service attack by causing the libvirt daemon to crash.

Affected products

VendorProductAffectedFixed
— libvirt 9.7.0 —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —

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.

ReleasePackageFixed inAdvisory
Debian 14 libvirt 10.1.0-1 —
Debian 13 libvirt 10.1.0-1 —
Debian 12 libvirt 9.0.0-4+deb12u1 —
Debian 10 libvirt 5.0.0-4+deb10u2 DLA-3778-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libvirt 12.0.0-1ubuntu5.3 USN-8652-1
Ubuntu 24.04 LTS libvirt 10.0.0-2ubuntu8.1 USN-8652-1, USN-6734-2
Ubuntu 22.04 LTS libvirt 8.0.0-1ubuntu7.10 USN-8652-1, USN-6734-1
Ubuntu 20.04 LTS libvirt 6.0.0-0ubuntu8.19 USN-6734-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libvirt 6.0.0-0ubuntu8.20+esm1 USN-8652-1
Ubuntu Pro 18.04 LTS libvirt 4.0.0-1ubuntu8.21+esm1 USN-8652-1
Ubuntu Pro 16.04 LTS libvirt 1.3.1-1ubuntu10.31+esm1 USN-8652-1
Ubuntu Pro 14.04 LTS libvirt 1.2.2-0ubuntu13.1.28+esm2 USN-8652-1
ReleasePackageFixed inAdvisory
RHEL 9 libvirt +30 10.0.0-6.2.el9_4 RHSA-2024:2560

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libvirt +30 10.0.0-6.2.el9_4.alma.1 ALSA-2024:2560

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libvirt 10.0.0-6.2.el9_4 RLSA-2024:2560
ReleasePackageFixed inAdvisory
SLES 15 SP5 libvirt 9.0.0-150500.6.20.1 SUSE-SU-2024:1099-1
SLES 12 SP5 libvirt 5.1.0-13.39.1 SUSE-SU-2024:1005-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 libvirt 5.1.0-13.39.1 SUSE-SU-2024:1005-1
SLE Micro 5.5 libvirt 9.0.0-150500.6.20.1 SUSE-SU-2024:1099-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libvirt 10.1.0-1.1 openSUSE-SU-2024:13759-1
openSUSE Leap 15.5 libvirt 9.0.0-150500.6.20.1 SUSE-SU-2024:1099-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libvirt +30 4.5.0-36.amzn2.3.1 ALAS2-2024-2513

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libvirt 10.0.0-4 —
Azure Linux 2 (CBL-Mariner) libvirt 7.10.0-8 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libvirt +30 10.0.0-6.2.0.1.el9_4 ELSA-2024-12406, ELSA-2024-2560
Oracle Linux 9 python3-libvirt +2 30:9.0.0-5.el9 ELSA-2024-12406
Oracle Linux 8 hivex +4 1.3.18-21.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libguestfs-appliance 1:1.44.0-5.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.9.0+90173+a3f3e83a ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libnbd +3 1.2.2-1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libnbd-bash-completion 1.6.0-5.module+el8.9.0+90173+a3f3e83a ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 libvirt +29 5.7.0-42.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libvirt-client-qemu 9.0.0-5.module+el8.9.0+90173+a3f3e83a ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.9.0+90173+a3f3e83a ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 libvirt-wireshark 7.10.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 nbdkit-nbd-plugin +4 1.24.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.9.0+90173+a3f3e83a ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 qemu-img +9 15:4.2.1-34.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 qemu-virtiofsd 15:6.1.1-9.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 seabios +2 1.15.0-2.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+90173+a3f3e83a ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276
Oracle Linux 8 virt-dib +23 1:1.40.2-28.0.4.module+el8.9.0+90333+3bd482f4 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12435
Oracle Linux 8 virt-v2v-man-pages-ja +2 1:1.42.0-19.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12536, ELSA-2024-12276

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 18

References