CVE-2024-2496Libvirt: null pointer dereference in udevconnectlistallinterfaces()
A NULL pointer dereference flaw was found in the udevConnectListAllInterfaces() function in libvirt. This issue can occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API. This flaw could be used to perform a denial of service attack by causing the libvirt daemon to crash.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libvirt | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libvirt | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libvirt | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libvirt | Fixed | 8.0.0-1ubuntu7.10 | UBUNTU-CVE-2024-2496 |
| Ubuntu 20.04 | libvirt | Fixed | 6.0.0-0ubuntu8.19 | UBUNTU-CVE-2024-2496 |
| Ubuntu 18.04 | libvirt | Fix pending | 4.0.0-1ubuntu8.21+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-2496 |
| Ubuntu 16.04 | libvirt | Fix pending | 1.3.1-1ubuntu10.31+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-2496 |
| Ubuntu 14.04 | libvirt | Fix pending | 1.2.2-0ubuntu13.1.28+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-2496 |
| Debian 14 | libvirt | Fixed | 9.8.0-1 | DEBIAN-CVE-2024-2496 |
| Debian 13 | libvirt | Fixed | 9.8.0-1 | DEBIAN-CVE-2024-2496 |
| Debian 12 | libvirt | Fixed | 9.0.0-4+deb12u1 | DEBIAN-CVE-2024-2496 |
| Red Hat Enterprise Linux 9 | libvirt | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-client | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-client-qemu | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-common | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-config-network | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-config-nwfilter | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-interface | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-network | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-nodedev | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-nwfilter | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-qemu | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-secret | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-core | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-disk | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-iscsi | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-logical | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-mpath | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-rbd | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-driver-storage-scsi | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-kvm | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-lock | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-log | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-plugin-lockd | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-plugin-sanlock | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-daemon-proxy | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-devel | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-docs | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-libs | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 9 | libvirt-nss | Fixed | 0:10.0.0-6.el9_4 | RHSA-2024:2236 |
| Red Hat Enterprise Linux 8 | libvirt | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-admin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-bash-completion | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-config-network | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-config-nwfilter | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-interface | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-network | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-nodedev | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-nwfilter | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-qemu | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-secret | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-core | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-disk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-gluster | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-iscsi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-iscsi-direct | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-logical | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-mpath | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-rbd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-driver-storage-scsi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-daemon-kvm | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-docs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-lock-sanlock | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-nss | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libvirt-wireshark | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libvirt | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-admin | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-bash-completion | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-client | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-config-network | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-config-nwfilter | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-interface | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-lxc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-network | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-nodedev | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-nwfilter | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-qemu | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-secret | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-core | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-disk | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-gluster | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-iscsi | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-logical | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-mpath | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-rbd | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-driver-storage-scsi | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-kvm | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-daemon-lxc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-docs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-lock-sanlock | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-login-shell | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-nss | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libvirt-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libvirt | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libvirt-client | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libvirt-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libvirt-lock-sanlock | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libvirt-python | Will not fix Out of support scope | ||
| AlmaLinux 9 | libvirt | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-client | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-client-qemu | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-common | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-config-network | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-config-nwfilter | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-interface | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-network | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-nodedev | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-nwfilter | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-qemu | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-secret | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-core | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-disk | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-iscsi | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-logical | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-mpath | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-rbd | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-driver-storage-scsi | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-kvm | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-lock | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-log | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-plugin-lockd | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-plugin-sanlock | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-daemon-proxy | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-devel | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-docs | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-libs | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
| AlmaLinux 9 | libvirt-nss | Fixed | 10.0.0-6.el9_4.alma.1 | ALSA-2024:2236 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libvirt: affected: 9.0.0 to before 9.7.0; fixed in
9.7.0 - Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8 Advanced Virtualization
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:2236 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:2236
- https://access.redhat.com/security/cve/CVE-2024-2496
- https://bugzilla.redhat.com/show_bug.cgi?id=2269672
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.