CVE-2024-47704
JSON

5.5medium

drm/amd/display: Check link_res->hpo_dp_link_enc before using it

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% 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: Check link_res->hpo_dp_link_enc before using it [WHAT & HOW] Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res without initializing hpo_dp_link_enc and it is necessary to check for null before dereferencing. This fixes 2 FORWARD_NULL issues reported by Coverity.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 8c22a62288194f072eb3a51045b700fce1c18d9e, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before be2ca7a2c1561390d28bf2f92654d819659ba510, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 530e29452b955c30cf2102fa4d07420dc6e0c953, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 0508a4e95ac1aefd851ceb97ea050d8abb93262c, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before 0beca868cde8742240cd0038141c30482d2b7eb8, 4.15
Not affected: before 4.15, from 6.1.151 up to 6.1.*, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.2 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelbefore 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.2NVD

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: Check link_res->hpo_dp_link_enc before using it [WHAT & HOW] Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res without initializing hpo_dp_link_enc and it is necessary to check for null before dereferencing. This fixes 2 FORWARD_NULL issues reported by Coverity.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Compruebe link_res->hpo_dp_link_enc antes de usarlo [QUÉ Y CÓMO] Las funciones dp_enable_link_phy y dp_disable_link_phy pueden pasar link_res sin inicializar hpo_dp_link_enc y es necesario comprobar si hay valores nulos antes de desreferenciar. Esto soluciona 2 problemas de FORWARD_NULL informados por Coverity.

References

Sources

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