CVEfocus › CVE database › CVE-2024-2496

CVE-2024-2496Libvirt: null pointer dereference in udevconnectlistallinterfaces()

CVSS 5.0 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2024-03-18Updated 2026-11-24Assigner: redhat

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.

CWE-476

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

67Fixed
3Fix pending
67Will not fix
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libvirtNot affected
vulnerable_code_not_present
Ubuntu 25.10libvirtNot affected
vulnerable_code_not_present
Ubuntu 24.04libvirtNot affected
vulnerable_code_not_present
Ubuntu 22.04libvirtFixed8.0.0-1ubuntu7.10UBUNTU-CVE-2024-2496
Ubuntu 20.04libvirtFixed6.0.0-0ubuntu8.19UBUNTU-CVE-2024-2496
Ubuntu 18.04libvirtFix pending4.0.0-1ubuntu8.21+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-2496
Ubuntu 16.04libvirtFix pending1.3.1-1ubuntu10.31+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-2496
Ubuntu 14.04libvirtFix pending1.2.2-0ubuntu13.1.28+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-2496
Debian 14libvirtFixed9.8.0-1DEBIAN-CVE-2024-2496
Debian 13libvirtFixed9.8.0-1DEBIAN-CVE-2024-2496
Debian 12libvirtFixed9.0.0-4+deb12u1DEBIAN-CVE-2024-2496
Red Hat Enterprise Linux 9libvirtFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-clientFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-client-qemuFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemonFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-commonFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-config-networkFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-config-nwfilterFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-interfaceFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-networkFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-nodedevFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-nwfilterFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-qemuFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-secretFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storageFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-coreFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-diskFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-iscsiFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-logicalFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-mpathFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-rbdFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-driver-storage-scsiFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-kvmFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-lockFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-logFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-plugin-lockdFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-plugin-sanlockFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-daemon-proxyFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-develFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-docsFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-libsFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 9libvirt-nssFixed0:10.0.0-6.el9_4RHSA-2024:2236
Red Hat Enterprise Linux 8libvirtWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-adminWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-bash-completionWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-clientWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-config-networkWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-config-nwfilterWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-interfaceWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-networkWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-nodedevWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-nwfilterWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-qemuWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-secretWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storageWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-coreWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-diskWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-glusterWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-iscsiWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-iscsi-directWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-logicalWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-mpathWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-rbdWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-driver-storage-scsiWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-daemon-kvmWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-develWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-docsWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-lock-sanlockWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-nssWill not fix
Will not fix
Red Hat Enterprise Linux 8libvirt-wiresharkWill not fix
Will not fix
Red Hat Enterprise Linux 7libvirtWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-adminWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-bash-completionWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemonWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-config-networkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-config-nwfilterWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-interfaceWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-lxcWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-networkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-nodedevWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-nwfilterWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-qemuWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-secretWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storageWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-coreWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-diskWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-glusterWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-iscsiWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-logicalWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-mpathWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-rbdWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-driver-storage-scsiWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-kvmWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-daemon-lxcWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-lock-sanlockWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-login-shellWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-nssWill not fix
Out of support scope
Red Hat Enterprise Linux 7libvirt-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6libvirtWill not fix
Out of support scope
Red Hat Enterprise Linux 6libvirt-clientWill not fix
Out of support scope
Red Hat Enterprise Linux 6libvirt-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libvirt-lock-sanlockWill not fix
Out of support scope
Red Hat Enterprise Linux 6libvirt-pythonWill not fix
Out of support scope
AlmaLinux 9libvirtFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-clientFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-client-qemuFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemonFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-commonFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-config-networkFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-config-nwfilterFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-interfaceFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-networkFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-nodedevFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-nwfilterFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-qemuFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-secretFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storageFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-coreFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-diskFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-iscsiFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-logicalFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-mpathFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-rbdFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-driver-storage-scsiFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-kvmFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-lockFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-logFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-plugin-lockdFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-plugin-sanlockFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-daemon-proxyFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-develFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-docsFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-libsFixed10.0.0-6.el9_4.alma.1ALSA-2024:2236
AlmaLinux 9libvirt-nssFixed10.0.0-6.el9_4.alma.1ALSA-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.

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:

References

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.