Skip to content
OpenAdvisories

Description

A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.

Affected products

VendorProductAffectedFixed
— libvirt 10.4.0 – < 10.7.0 10.7.0
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 10 — —
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.7.0-1 —
Debian 13 libvirt 10.7.0-1 —
ReleasePackageFixed inAdvisory
RHEL 9 libvirt +31 10.5.0-7.el9_5 RHSA-2024:9128

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libvirt +31 10.5.0-7.el9_5.alma.1 ALSA-2024:9128

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libvirt 10.5.0-7.4.el9_5 RLSA-2024:9128
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libvirt 10.7.0-1.1 openSUSE-SU-2024:14315-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libvirt 10.7.0-r0 —
Alpine v3.23 libvirt 10.7.0-r0 —
Alpine v3.22 libvirt 10.7.0-r0 —
Alpine v3.21 libvirt 10.7.0-r0 —
Alpine v3.20 libvirt 10.7.0-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libvirt +31 10.5.0-7.0.1.el9_5 ELSA-2024-9128

Advisories 6

References