Kernel Kit / Infix / v26.10.0latest
CVE-2026-53313
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
drm/amd/display: Avoid NULL dereference in dc_dmub_srv error paths
In dc_dmub_srv_log_diagnostic_data() and dc_dmub_srv_enable_dpia_trace().
Both functions check:
if (!dc_dmub_srv || !dc_dmub_srv->dmub)
and then call DC_LOG_ERROR() inside that block.
DC_LOG_ERROR() uses dc_dmub_srv->ctx internally. So if dc_dmub_srv is NULL, the logging itself can dereference a NULL pointer and cause a crash.
Fix this by splitting the checks.
First check if dc_dmub_srv is NULL and return immediately. Then check dc_dmub_srv->dmub and log the error only when dc_dmub_srv is valid.
Fixes the below: ../display/dc/dc_dmub_srv.c:962 dc_dmub_srv_log_diagnostic_data() error: we previously assumed 'dc_dmub_srv' could be null (see line 961) ../display/dc/dc_dmub_srv.c:1167 dc_dmub_srv_enable_dpia_trace() error: we previously assumed 'dc_dmub_srv' could be null (see line 1166)
Published 2026-06-26NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References 6
- git.kernel.org/stable/c/1cad9afbb2d559b738b83c498f9c1abdfd327e7f
- git.kernel.org/stable/c/2ab18de5ebb11c76bfc8087c5a09fbcccd0dea8a
- git.kernel.org/stable/c/2afedb8b9262df2a09e62ee7c22530a8c9df5934
- git.kernel.org/stable/c/4ae3e16f4b3bf64140f773629b765d605ee079a9
- git.kernel.org/stable/c/a71fdbd6e8289e2725d33a9873833459f3b1824f
- git.kernel.org/stable/c/b37a978e6d8c33fbfa4abc5dcca4c7cfc6d01f22
Build check · v26.10.0 aarch64_minimal
None of the source files the CNA lists for CVE-2026-53313 (drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.
Evidence 1
object file absent: not compiled
output/build/linux-6.18.60/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.o
Members of Kernel Kit decide. Sign in if you are one.