Bug 2300518 (CVE-2024-42080)

Summary: CVE-2024-42080 kernel: RDMA/restrack: Fix potential invalid address access
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.15.162, kernel 6.1.97, kernel 6.6.37, kernel 6.9.8, kernel 6.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: 2301719    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-29 16:29:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

RDMA/restrack: Fix potential invalid address access

struct rdma_restrack_entry's kern_name was set to KBUILD_MODNAME
in ib_create_cq(), while if the module exited but forgot del this
rdma_restrack_entry, it would cause a invalid address access in
rdma_restrack_clean() when print the owner of this rdma_restrack_entry.

These code is used to help find one forgotten PD release in one of the
ULPs. But it is not needed anymore, so delete them.

Comment 1 Mauro Matteo Cascella 2024-07-30 16:59:03 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072955-CVE-2024-42080-d848@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 16:59:23 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301719]