CVE-2024-58052

published 6 Mar 2025 · updated 11 May 2026

drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, Kernel 2396bc91935c6da0588ce07850d07897974bd350, Kernel 357445e28ff004d7f10967aa93ddb4bffa5c3688 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.7, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <2396bc91935c6da0588ce07850d07897974bd350, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <357445e28ff004d7f10967aa93ddb4bffa5c3688, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <6a30634a2e0f1dd3c6b39fd0f114c32893a9907a, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <a713ba7167c2d74c477dd7764dbbdbe3199f17f4, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <ae522ad211ec4b72eaf742b25f24b0a406afcba1, >=a23eefa2f4615af91ea496ca5b55c9e7c6fa934c <c47066ed7c8f3b320ef87fa6217a2b8b24e127cc0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, 2396bc91935c6da0588ce07850d07897974bd350, 357445e28ff004d7f10967aa93ddb4bffa5c3688, 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a, 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a, a713ba7167c2d74c477dd7764dbbdbe3199f17f4, ae522ad211ec4b72eaf742b25f24b0a406afcba1, c47066ed7c8f3b320ef87fa6217a2b8b24e127cc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58052 severity on Zeptric[![CVE-2024-58052](https://zeptric.io/badge/cve/CVE-2024-58052.svg)](https://zeptric.io/cve/CVE-2024-58052)