Bug 2300519 (CVE-2024-42081)

Summary: CVE-2024-42081 kernel: drm/xe/xe_devcoredump: Check NULL before assignments
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 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: 2301720    
Bug Blocks:    

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

drm/xe/xe_devcoredump: Check NULL before assignments

Assign 'xe_devcoredump_snapshot *' and 'xe_device *' only if
'coredump' is not NULL.

v2
- Fix commit messages.

v3
- Define variables before code.(Ashutosh/Jose)

v4
- Drop return check for coredump_to_xe. (Jose/Rodrigo)

v5
- Modify misleading commit message. (Matt)

Comment 1 Mauro Matteo Cascella 2024-07-30 17:03:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072955-CVE-2024-42081-f144@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 17:03:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301720]