Bug 2301476 (CVE-2024-42113)

Summary: CVE-2024-42113 kernel: net: txgbe: initialize num_q_vectors for MSI/INTx interrupts
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.39, kernel 6.9.9, kernel 6.10 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's `txgbe` driver involving uninitialized `num_q_vectors` when using MSI/INTx interrupts. This can lead to kernel panics during the allocation of queue vectors due to the use of undefined values. This issue was resolved by ensuring `num_q_vectors` is properly initialized, thereby preventing system crashes and enhancing overall stability.
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: 2301778    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-30 08:31:23 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: txgbe: initialize num_q_vectors for MSI/INTx interrupts

When using MSI/INTx interrupts, wx->num_q_vectors is uninitialized.
Thus there will be kernel panic in wx_alloc_q_vectors() to allocate
queue vectors.

Comment 1 Mauro Matteo Cascella 2024-07-30 18:54:41 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073022-CVE-2024-42113-be53@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 18:55:02 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301778]