Bug 1226951 (CVE-2024-37026)

Summary: VUL-0: CVE-2024-37026: kernel: drm/xe: only use reserved BCS instances for usm migrate exec queue
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, mhocko
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/411980/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-37026:4.7:(AV:L/AC:H/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-25 11:21:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/xe: Only use reserved BCS instances for usm migrate exec queue

The GuC context scheduling queue is 2 entires deep, thus it is possible
for a migration job to be stuck behind a fault if migration exec queue
shares engines with user jobs. This can deadlock as the migrate exec
queue is required to service page faults. Avoid deadlock by only using
reserved BCS instances for usm migrate exec queue.

(cherry picked from commit 04f4a70a183a688a60fe3882d6e4236ea02cfc67)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-37026
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-37026.mbox
https://git.kernel.org/stable/c/92deed4a9bfd9ef187764225bba530116c49e15c
https://git.kernel.org/stable/c/c8ea2c31f5ea437199b239d76ad5db27343edb0c
https://www.cve.org/CVERecord?id=CVE-2024-37026