CVE-2026-53313
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/06/2026
Last modified:
30/06/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/display: Avoid NULL dereference in dc_dmub_srv error paths<br />
<br />
In dc_dmub_srv_log_diagnostic_data() and<br />
dc_dmub_srv_enable_dpia_trace().<br />
<br />
Both functions check:<br />
<br />
if (!dc_dmub_srv || !dc_dmub_srv->dmub)<br />
<br />
and then call DC_LOG_ERROR() inside that block.<br />
<br />
DC_LOG_ERROR() uses dc_dmub_srv->ctx internally. So if<br />
dc_dmub_srv is NULL, the logging itself can dereference a<br />
NULL pointer and cause a crash.<br />
<br />
Fix this by splitting the checks.<br />
<br />
First check if dc_dmub_srv is NULL and return immediately.<br />
Then check dc_dmub_srv->dmub and log the error only when<br />
dc_dmub_srv is valid.<br />
<br />
Fixes the below:<br />
../display/dc/dc_dmub_srv.c:962 dc_dmub_srv_log_diagnostic_data() error: we previously assumed &#39;dc_dmub_srv&#39; could be null (see line 961)<br />
../display/dc/dc_dmub_srv.c:1167 dc_dmub_srv_enable_dpia_trace() error: we previously assumed &#39;dc_dmub_srv&#39; could be null (see line 1166)



