# CVE-2026-23350: drm/xe/queue: Call fini on exec queue creation fail

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:36.182Z
- Modified: 2026-08-05T12:21:15.714Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

drm/xe/queue: Call fini on exec queue creation fail

Every call to queue init should have a corresponding fini call.
Skipping this would mean skipping removal of the queue from GuC list
(which is part of guc_id allocation). A damaged queue stored in
exec_queue_lookup list would lead to invalid memory reference,
sooner or later.

Call fini to free guc_id. This must be done before any internal
LRCs are freed.

Since the finalization with this extra call became very similar to
__xe_exec_queue_fini(), reuse that. To make this reuse possible,
alter xe_lrc_put() so it can survive NULL parameters, like other
similar functions.

v2: Reuse _xe_exec_queue_fini(). Make xe_lrc_put() aware of NULLs.

(cherry picked from commit 393e5fea6f7d7054abc2c3d97a4cfe8306cd6079)

(As written by CVE List.)

## Affected

- Linux Linux: from 3c1fa4aa60b146d1fa73b2b87064303f8e4b7952 before fae65b8a4449ae556990efcde8d74bec4adc5925; from 3c1fa4aa60b146d1fa73b2b87064303f8e4b7952 before 99f9b5343cae80eb0dfe050baf6c86d722b3ba2e; 6.19 (not affected: before 6.19; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19.1 before 6.19.7; 6.19; 7.0

## References

- <https://git.kernel.org/stable/c/fae65b8a4449ae556990efcde8d74bec4adc5925> (patch)
- <https://git.kernel.org/stable/c/99f9b5343cae80eb0dfe050baf6c86d722b3ba2e> (patch)

## Sources

- CVE List: [CVE-2026-23350](https://www.cve.org/CVERecord?id=CVE-2026-23350), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-23350](https://nvd.nist.gov/vuln/detail/CVE-2026-23350), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23350 · Whole record: https://cve.day/CVE-2026-23350.json · Rebuilt by cve.day 2026-11-25T22:59:16.685Z
