CVE-2026-99626: drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto
[Why]resource_get_otg_master_for_stream() can return NULL if no OTG master pipe is found for a given stream. The current code dereferences this pointer without a NULL check. This may lead to a possible NULL pointer dereference.
[How]
Add an explicit NULL check and skip the stream if the OTG master is not found. This is similar to dcn60_update_clocks_update_dtb_dto().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
(cherry picked from commit ffde3d74c1faeeb645b66d02d02fdae3e073941b)
The Linux kernel CVE team has assigned CVE-2026-99626 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit b6d508533fa1371d870628a88b74c831c5881cde and fixed in 6.12.118 with commit 135691aaf7a2846940928580ae80061f0efa99e7 Issue introduced in 6.11 with commit b6d508533fa1371d870628a88b74c831c5881cde and fixed in 6.18.64 with commit 8f7b663d23f3b66c97afc5f8e36b63388322bc53 Issue introduced in 6.11 with commit b6d508533fa1371d870628a88b74c831c5881cde and fixed in 7.3.5 with commit 7473715dcf76196d2242c1b19756a95c98ea21ba Issue introduced in 6.11 with commit b6d508533fa1371d870628a88b74c831c5881cde and fixed in 7.4-rc2 with commit 7fac15d009cf236677a8cddf6bc0e8c85666ac3b
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-99626
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/clk_mgr/dcn401/dcn401_clk_mgr.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/135691aaf7a2846940928580ae80061f0efa99e7 https://git.kernel.org/stable/c/8f7b663d23f3b66c97afc5f8e36b63388322bc53 https://git.kernel.org/stable/c/7473715dcf76196d2242c1b19756a95c98ea21ba https://git.kernel.org/stable/c/7fac15d009cf236677a8cddf6bc0e8c85666ac3b