Bug 2269672 (CVE-2024-2496)

Summary: CVE-2024-2496 libvirt: NULL pointer dereference in udevConnectListAllInterfaces()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ailan, berrange, ddepaula, eblake, jdenemar, jferlan, jmaloy, jsuchane, knoel, pkrempa, ymankad
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt 9.8.0 Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2266014    
Bug Blocks: 2269676    

Description Mauro Matteo Cascella 2024-03-15 10:05:17 UTC
A NULL pointer dereference issue was found in libvirt in the udevConnectListAllInterfaces() function. It could occur when detaching a host interface while at the same time collecting the list of interfaces via virConnectListAllInterfaces API.

Upstream fix:
https://gitlab.com/libvirt/libvirt/-/commit/2ca94317ac642a70921947150ced8acc674ccdc8

Comment 2 Mauro Matteo Cascella 2024-03-15 10:07:59 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-39 [bug 2266014]

Comment 3 errata-xmlrpc 2024-04-30 09:53:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2236 https://access.redhat.com/errata/RHSA-2024:2236