drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table (Linux Linux)

CVE-2024-58052
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 16 ()
É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/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table The function atomctrl_get_smc_sclk_range_table() does not check the return value of smu_atom_get_data_table(). If smu_atom_get_data_table() fails to retrieve SMU_Info table, it returns NULL which is later dereferenced. Found by Linux Verification Center (linuxtesting.org) with SVACE. In practice this should never happen as this code only gets called on polaris chips and the vbios data table will always be present on those chips.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < a713ba7167c2d74c477dd7764dbbdbe3199f17f4 ; affected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < c47066ed7c8f3b320ef87fa6217a2b8b24e127cc ; affected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < 2396bc91935c6da0588ce07850d07897974bd350 ; affected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < ae522ad211ec4b72eaf742b25f24b0a406afcba1 ; affected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a ; affected a23eefa2f4615af91ea496ca5b55c9e7c6fa934c < 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.4.291 ≤ 5.4.* ; unaffected 5.10.235 ≤ 5.10.* ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.129 ≤ 6.1.*

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