CVE-2026-89820: drm/amd/display: fix dc_lock leak on GPU reset error paths
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: fix dc_lock leak on GPU reset error paths
On GPU reset, dm_suspend() takes dc_lock and leaves it for dm_resume() to drop. If amdgpu_dm_commit_zero_streams() or dm_dmub_hw_init() fails, the function returns with the lock still held. The matching resume path is then skipped, so every later dc_lock take hangs.
Release the cached DC state and unlock before returning the error.
The Linux kernel CVE team has assigned CVE-2026-89820 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.15 with commit 3cf7a0bc87f028b6bc63a43a80d9d6026ae4d85f and fixed in 6.18.51 with commit 295d2bf42061db490254e748f9344545bb7faf19 Issue introduced in 6.15 with commit 3cf7a0bc87f028b6bc63a43a80d9d6026ae4d85f and fixed in 7.2.5 with commit dac29cbb405b912742f4f7eda833cec8e7a53780 Issue introduced in 6.15 with commit 3cf7a0bc87f028b6bc63a43a80d9d6026ae4d85f and fixed in 7.3-rc1 with commit 92a9eebd2a1f892fe482154d83f9f1626bc73d3b
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-89820
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/amd/display/amdgpu_dm/amdgpu_dm.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/295d2bf42061db490254e748f9344545bb7faf19 https://git.kernel.org/stable/c/dac29cbb405b912742f4f7eda833cec8e7a53780 https://git.kernel.org/stable/c/92a9eebd2a1f892fe482154d83f9f1626bc73d3b