CVE-2026-52976CWE-416CWE-825

CVE-2026-52976

High · published June 24, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.6
In the wild
Unconfirmed
What it is

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

drm/xe: Fix error cleanup in xe_exec_queue_create_ioctl()

Two error handling issues exist in xe_exec_queue_create_ioctl():

1. When xe_hw_engine_group_add_exec_queue() fails, the error path jumps

to put_exec_queue which skips xe_exec_queue_kill(). If the VM is in

preempt fence mode, xe_vm_add_compute_exec_queue() has already added

the queue to the VM's compute exec queue list. Skipping the kill

leaves the queue on that list, leading to a dangling pointer after

the queue is freed.

2. When xa_alloc() fails after xe_hw_engine_group_add_exec_queue() has

succeeded, the error path does not call

xe_hw_engine_group_del_exec_queue() to remove the queue from the hw

engine group list. The queue is then freed while still linked into

the hw engine group, causing a use-after-free.

Fix both by:

- Changing the xe_hw_engine_group_add_exec_queue() failure path to jump

to kill_exec_queue so that xe_exec_queue_kill() properly removes the

queue from the VM's compute list.

- Adding a del_hw_engine_group label before kill_exec_queue for the

xa_alloc() failure path, which removes the queue from the hw engine

group before proceeding with the rest of the cleanup.

(cherry picked from commit 37c831f401746a45d510b312b0ed7a77b1e06ec8)

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00184 · 7.6th percentile
Weaknesses
CWE-416 · Use After Free; CWE-825 · Expired Pointer Dereference
Published
2026-06-24T21:17Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.12, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 24 JUN 16:28Z
    drm/xe: Fix error cleanup in xe_exec_queue_create_ioctl()
    cvelistv5