Skip to content
CVE PROGRAM SOURCE RECORD6.2 Medium

CVE-2024-8235

Libvirt: crash of virtinterfaced via virconnectlistinterfaces()

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

libvirt

Default version status: unaffected

  • 10.4.0 to < 10.7.0affected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 0:10.5.0-7.el9_5 to < *unaffected

Red Hat Red Hat Enterprise Linux 10

Default version status: affected

Red Hat Red Hat Enterprise Linux 6

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization

Default version status: unaffected

References