CVE-2024-58052

Source
https://cve.org/CVERecord?id=CVE-2024-58052
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58052.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58052
Downstream
Related
Published
2025-03-06T15:53:56.877Z
Modified
2026-03-20T12:39:57.856603Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix potential NULL pointer dereference in atomctrlgetsmcsclkrange_table

The function atomctrlgetsmcsclkrangetable() does not check the return value of smuatomgetdatatable(). If smuatomgetdatatable() fails to retrieve SMUInfo 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58052.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a23eefa2f4615af91ea496ca5b55c9e7c6fa934c
Fixed
a713ba7167c2d74c477dd7764dbbdbe3199f17f4
Fixed
c47066ed7c8f3b320ef87fa6217a2b8b24e127cc
Fixed
2396bc91935c6da0588ce07850d07897974bd350
Fixed
ae522ad211ec4b72eaf742b25f24b0a406afcba1
Fixed
6a30634a2e0f1dd3c6b39fd0f114c32893a9907a
Fixed
0b97cd8a61b2b40fd73cf92a4bb2256462d22adb
Fixed
396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a
Fixed
357445e28ff004d7f10967aa93ddb4bffa5c3688

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58052.json"