CVE-2026-99626: drm/amd/display: Fix NULL deref in dcn401_update_clocks_update_dtb_dto
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix NULL deref in dcn401updateclocksupdatedtbdto
[Why] resourcegetotgmasterforstream() 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 dcn60updateclocksupdatedtbdto().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
(cherry picked from commit ffde3d74c1faeeb645b66d02d02fdae3e073941b)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 7.3.5-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch ffde3d74c1faeeb645b66d02d02fdae3e073941b
Event History
Frequently Asked Questions
What condition triggers the NULL pointer dereference?
The issue occurs when resource_get_otg_master_for_stream() cannot find an OTG master pipe for a stream and returns NULL. The affected clock-update code dereferences that result without checking it.
What is the mitigation if an updated kernel cannot be deployed immediately?
The supplied fix adds a NULL check and skips streams for which no OTG master is found. No separate configuration workaround or operational mitigation is provided in the available data.
How can I determine whether the fix is present in my kernel source?
Check whether dcn401_update_clocks_update_dtb_dto() verifies that the OTG master returned for a stream is non-NULL before dereferencing it, and skips the stream when no master is found. The provided references identify stable commits containing the resolution.