# CVE-2024-56552: drm/xe/guc\_submit: fix race around suspend\_pending

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-12-27T14:22:54.140Z
- **Modified:** 2026-08-05T11:45:00.626Z

## Who should check

- Anyone running Linux \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd; \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 87651f31ae4e6e6e7e6c7270b9b469405e747407
- Anyone running Linux 6.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/guc\_submit: fix race around suspend\_pending

Currently in some testcases we can trigger:

xe 0000:03:00.0: \[drm\] Assertion \`exec\_queue\_destroyed(q)\` failed!
....
WARNING: CPU: 18 PID: 2640 at drivers/gpu/drm/xe/xe\_guc\_submit.c:1826 xe\_guc\_sched\_done\_handler+0xa54/0xef0 \[xe\]
xe 0000:03:00.0: \[drm\] \*ERROR\* GT1: DEREGISTER\_DONE: Unexpected engine state 0x00a1, guc\_id=57

Looking at a snippet of corresponding ftrace for this GuC id we can see:

162.673311: xe\_sched\_msg\_add:     dev=0000:03:00.0, gt=1 guc\_id=57, opcode=3
162.673317: xe\_sched\_msg\_recv:    dev=0000:03:00.0, gt=1 guc\_id=57, opcode=3
162.673319: xe\_exec\_queue\_scheduling\_disable: dev=0000:03:00.0, 1:0x2, gt=1, width=1, guc\_id=57, guc\_state=0x29, flags=0x0
162.674089: xe\_exec\_queue\_kill:   dev=0000:03:00.0, 1:0x2, gt=1, width=1, guc\_id=57, guc\_state=0x29, flags=0x0
162.674108: xe\_exec\_queue\_close:  dev=0000:03:00.0, 1:0x2, gt=1, width=1, guc\_id=57, guc\_state=0xa9, flags=0x0
162.674488: xe\_exec\_queue\_scheduling\_done: dev=0000:03:00.0, 1:0x2, gt=1, width=1, guc\_id=57, guc\_state=0xa9, flags=0x0
162.678452: xe\_exec\_queue\_deregister: dev=0000:03:00.0, 1:0x2, gt=1, width=1, guc\_id=57, guc\_state=0xa1, flags=0x0

It looks like we try to suspend the queue (opcode=3), setting
suspend\_pending and triggering a disable\_scheduling. The user then
closes the queue. However the close will also forcefully signal the
suspend fence after killing the queue, later when the G2H response for
disable\_scheduling comes back we have now cleared suspend\_pending when
signalling the suspend fence, so the disable\_scheduling now incorrectly
tries to also deregister the queue. This leads to warnings since the queue
has yet to even be marked for destruction. We also seem to trigger
errors later with trying to double unregister the same queue.

To fix this tweak the ordering when handling the response to ensure we
don't race with a disable\_scheduling that didn't actually intend to
perform an unregister.  The destruction path should now also correctly
wait for any pending\_disable before marking as destroyed.

(cherry picked from commit f161809b362f027b6d72bd998e47f8f0bad60a2e)

## Affected and fixed versions

- Linux: \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd; \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 87651f31ae4e6e6e7e6c7270b9b469405e747407 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 87651f31ae4e6e6e7e6c7270b9b469405e747407 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56552. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56552.md
Affected: Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987, < 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd; >= dd08ebf6c3525a7ea2186e636df064ea47281987, < 87651f31ae4e6e6e7e6c7270b9b469405e747407; Linux 6.8
Fixed in: Linux 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd, Linux 87651f31ae4e6e6e7e6c7270b9b469405e747407

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56552 being exploited?

There is no confirmed exploitation: CVE-2024-56552 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-56552?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56552?

Linux \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd; \>= dd08ebf6c3525a7ea2186e636df064ea47281987, \< 87651f31ae4e6e6e7e6c7270b9b469405e747407; Linux 6.8.

### Is there a fix for CVE-2024-56552?

Yes. Fixed in Linux 5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd, Linux 87651f31ae4e6e6e7e6c7270b9b469405e747407. Upgrade Linux to 87651f31ae4e6e6e7e6c7270b9b469405e747407 or later.

### How do I check if I'm affected by CVE-2024-56552?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5ddcb50b700221fa7d7be2adcb3d7d7afe8633dd>
- patch: <https://git.kernel.org/stable/c/87651f31ae4e6e6e7e6c7270b9b469405e747407>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56552>

HTML: <https://flawdb.com/CVE-2024-56552> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56552>
