Skip to contentSkip to conversation

CVE-2026-53290: drm/xe/eustall: Fix drm_dev_put called before stream disable in close

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

drm/xe/eustall: Fix drm_dev_put called before stream disable in close

In xe_eu_stall_stream_close(), drm_dev_put() is called before the stream is disabled and its resources are freed. If this drops the last reference, the device structures could be freed while the subsequent cleanup code still accesses them, leading to a use-after-free.

Fix this by moving drm_dev_put() after all device accesses are complete. This matches the ordering in xe_oa_release().

(cherry picked from commit 35aff528f7297e949e5e19c9cd7fd748cf1cf21c)

The Linux kernel CVE team has assigned CVE-2026-53290 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.15 with commit 9a0b11d4cf3b4324378c322b7043962e648681ed and fixed in 6.18.33 with commit bebce43f34b5feb8a760aa832eba81e0f8a38871
	Issue introduced in 6.15 with commit 9a0b11d4cf3b4324378c322b7043962e648681ed and fixed in 7.0.10 with commit 84f2bfbe6e38f8b9815ca00826e53b7f51420402
	Issue introduced in 6.15 with commit 9a0b11d4cf3b4324378c322b7043962e648681ed and fixed in 7.1 with commit dc2d9842c67d883d3200ae33b9c3859dd9492408

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53290

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/gpu/drm/xe/xe_eu_stall.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/bebce43f34b5feb8a760aa832eba81e0f8a38871
	https://git.kernel.org/stable/c/84f2bfbe6e38f8b9815ca00826e53b7f51420402
	https://git.kernel.org/stable/c/dc2d9842c67d883d3200ae33b9c3859dd9492408