Skip to contentSkip to conversation

CVE-2026-53377: drm/msm: always recover the gpu

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

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/msm: always recover the gpu

Previously, in case there was no more work to do, recover worker wouldn't trigger recovery and would instead rely on the gpu going to sleep and then resuming when more work is submitted.

Recover_worker will first increment the fence of the hung ring so, if there's only one job submitted to a ring and that causes an hang, it will early out.

There's no guarantee that the gpu will suspend and resume before more work is submitted and if the gpu is in a hung state it will stay in that state and probably trigger a timeout again.

Just stop checking and always recover the gpu.

Patchwork: https://patchwork.freedesktop.org/patch/704066/

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

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

	Fixed in 6.18.32 with commit 132b8d51f0ffbee6e4e1ebbe1a50330aaf2dbd5d
	Fixed in 7.0.9 with commit 2f5c90478749dfd9a32386100b6078a364298b01
	Fixed in 7.1 with commit 01a0d6cd7032e9993feea19fadb03ef9d5b488f2

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-53377

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/msm/msm_gpu.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/132b8d51f0ffbee6e4e1ebbe1a50330aaf2dbd5d
	https://git.kernel.org/stable/c/2f5c90478749dfd9a32386100b6078a364298b01
	https://git.kernel.org/stable/c/01a0d6cd7032e9993feea19fadb03ef9d5b488f2