Bug 1225896 (CVE-2024-36951)

Summary: VUL-0: CVE-2024-36951: kernel: drm/amdkfd: range check cp bad op exception interrupts
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Patrik Jakobsson <patrik.jakobsson>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, vasant.karasulli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/408161/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-36951:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-06-04 07:49:10 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: range check cp bad op exception interrupts

Due to a CP interrupt bug, bad packet garbage exception codes are raised.
Do a range check so that the debugger and runtime do not receive garbage
codes.
Update the user api to guard exception code type checking as well.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-36951
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-36951.mbox
https://git.kernel.org/stable/c/41dc6791596656dd41100b85647ed489e1d5c2f2
https://git.kernel.org/stable/c/b6735bfe941486c5dfc9c3085d2d75d4923f9449
https://git.kernel.org/stable/c/0cac183b98d8a8c692c98e8dba37df15a9e9210d
https://www.cve.org/CVERecord?id=CVE-2024-36951
https://bugzilla.redhat.com/show_bug.cgi?id=2284600