CVE-2024-58052

medium

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.

References

https://git.kernel.org/stable/c/ae522ad211ec4b72eaf742b25f24b0a406afcba1

https://git.kernel.org/stable/c/6a30634a2e0f1dd3c6b39fd0f114c32893a9907a

https://git.kernel.org/stable/c/396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a

https://git.kernel.org/stable/c/357445e28ff004d7f10967aa93ddb4bffa5c3688

https://git.kernel.org/stable/c/0b97cd8a61b2b40fd73cf92a4bb2256462d22adb

Details

Source: Mitre, NVD

Published: 2025-03-06

Updated: 2025-03-06

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium