CVE-2024-26647
JSON

5.5medium

drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()' In link_set_dsc_pps_packet(), 'struct display_stream_compressor *dsc' was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the 'dsc' NULL pointer check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check 'dsc' (see line 903)

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6ca7415f11af5200ab10bd420b513f846e9bfb99 before 6aa5ede6665122f4c8abce3c6eba06b49e54d25c, from 6ca7415f11af5200ab10bd420b513f846e9bfb99 before cf656fc7276e5b3709a81bc9d9639459be2b2647, from 6ca7415f11af5200ab10bd420b513f846e9bfb99 before 3bb9b1f958c3d986ed90a3ff009f1e77e9553207, 6.3
Not affected: before 6.3, from 6.6.15 up to 6.6.*, from 6.7.3 up to 6.7.*, from 6.8 up to *
CVE List
linux linux_kernelbefore 6.6.15, from 6.7 before 6.7.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()' In link_set_dsc_pps_packet(), 'struct display_stream_compressor *dsc' was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the 'dsc' NULL pointer check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check 'dsc' (see line 903)

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/amd/display: se corrigió la verificación de desrefrence tardía 'dsc' en 'link_set_dsc_pps_packet()'. En link_set_dsc_pps_packet(), se eliminó la referencia a 'struct display_stream_compressor *dsc' en un DC_LOGGER_INIT(dsc- >ctx->registrador); antes de la verificación del puntero NULL 'dsc'. Corrige lo siguiente: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() advertencia: variable desreferenciada antes de verificar 'dsc' (consulte la línea 903)

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26647 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-26647 changed 2026-06-17Public domain