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

CVE-2024-47704
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 8c22a62288194f072eb3a51045b700fce1c18d9e ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < be2ca7a2c1561390d28bf2f92654d819659ba510 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 530e29452b955c30cf2102fa4d07420dc6e0c953 ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 0508a4e95ac1aefd851ceb97ea050d8abb93262c ; affected 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c < 0beca868cde8742240cd0038141c30482d2b7eb8
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 6.1.151 ≤ 6.1.* ; unaffected 6.6.55 ≤ 6.6.* ; unaffected 6.10.14 ≤ 6.10.* ; unaffected 6.11.2 ≤ 6.11.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD