CVE-2026-143452: drm/amd/display: Fix null deref of link_enc in dce110_enable_tmds_link_output
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix null deref of linkenc in dce110enabletmdslinkoutput
Smatch reports that link->linkenc is unconditionally dereferenced at the top of dce110enabletmdslinkoutput() while the later setupripjcheckinsworhwmode calls guard against it being NULL, making those checks contradictory.
Add an early return when linkenc is NULL and drop the redundant NULL checks from the two call sites that follow, since linkenc is guaranteed non-NULL past the guard
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In drm/amd/display, add an early return in dce110_enable_tmds_link_output() when link_enc is NULL, and remove the redundant NULL checks at the two call sites.
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems running the Linux kernel with the AMD display driver code path that invokes dce110_enable_tmds_link_output() are relevant. The issue requires link->link_enc to be NULL when that function is reached.
What is the impact if the vulnerable path is triggered?
The function unconditionally dereferences link->link_enc before checking it, which can cause a NULL-pointer dereference. The provided information does not specify the resulting user-visible effect or attack vector.
How is the issue fixed?
The fix adds an early return in dce110_enable_tmds_link_output() when link_enc is NULL. It also removes later redundant NULL checks because link_enc is guaranteed to be non-NULL after the new guard.