Bug 2300365 (CVE-2024-41022)

Summary: CVE-2024-41022 kernel: drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
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 5.4.281, kernel 5.10.223, kernel 5.15.164, kernel 6.1.102, kernel 6.6.43, kernel 6.9.12, kernel 6.10.2, kernel 6.11-rc1 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the AMDGPU DRM driver’s sdma_v4_0_process_trap_irq() function in the Linux Kernel. This issue was addressed by correcting a signedness issue. The instance variable, which was previously unsigned, was changed to a signed type to ensure proper error handling.
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: 2300922    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-29 14:21:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()

The "instance" variable needs to be signed for the error handling to work.

Comment 1 Mauro Matteo Cascella 2024-07-29 19:22:42 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2300922]