CVE-2026-98926: drm/amd/display: Remove sink usage from DPMS
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Remove sink usage from DPMS
[Why]stream->sink is optional and can be null, so should always be checked before dereference. Additionally, most of its usage in DPMS sequences is for stream->sink->link, which can be replaced with stream->link, as the two should always be the same.
[How]
* Replace stream->sink->link in DPMS on/off
* Add assert to USB4 BW allocation where sink is required
* Avoid inconsistencies in resource access, e.g. don't repeat stream->link after it was already saved to a local variable
* Pull out effective VPG calculation to helper getter
* Formatting fixes
The Linux kernel CVE team has assigned CVE-2026-98926 to this issue.
Affected and fixed versions
===========================
Fixed in 7.2.9 with commit 0b1eebd359685dd681f6e0df5540a5bb985a27bf Fixed in 7.3 with commit 8fa813b7fd1eccbed13e126166cf764f1f11a7d3
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-98926
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/dc/link/link_dpms.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/0b1eebd359685dd681f6e0df5540a5bb985a27bf https://git.kernel.org/stable/c/8fa813b7fd1eccbed13e126166cf764f1f11a7d3