CVE-2024-58052

drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table

Medium · published March 6, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
14.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00243 · 14.6th percentile
Published
2025-03-06T15:53Z
EPSS history
Timeline
  • 06 MAR 15:53Z
    drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
    cvelistv5