Bug 2300425 (CVE-2024-41052)

Summary: CVE-2024-41052 kernel: vfio/pci: Init the count variable in collecting hot-reset devices
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.6.41, kernel 6.9.10 Doc Type: If docs needed, set a value
Doc Text:
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: 2301584    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-29 15:40:55 UTC
In the Linux kernel, the following vulnerability has been resolved:

vfio/pci: Init the count variable in collecting hot-reset devices

The count variable is used without initialization, it results in mistakes
in the device counting and crashes the userspace if the get hot reset info
path is triggered.

Comment 1 Mauro Matteo Cascella 2024-07-30 10:31:00 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072927-CVE-2024-41052-1a10@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 10:31:21 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301584]