Libvirt: crash of virtinterfaced via virconnectlistinterfaces()
Red Hat / Red Hat Enterprise Linux 9、Red Hat Enterprise Linux 10、Red Hat Enterprise Linux 6、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 8 Advanced Virtualization
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.