# CVE-2024-58052: drm/amdgpu: Fix potential NULL pointer dereference in atomctrl\_get\_smc\_sclk\_range\_table

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-06 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-58052, DEBIAN-CVE-2024-58052
- Record: https://cvemate.com/vulnerability/CVE-2024-58052 · JSON: https://cvemate.com/vulnerability/CVE-2024-58052/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.243%, percentile 16.539%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 139)

- debian linux (Debian): \< 6.1.129-1 \| \< 6.12.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-216.236 \| \< 5.15.0-140.150 \| \< 6.8.0-64.67
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1146.156 \| \< 5.15.0-1084.91 \| \< 6.8.0-1032.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1084.91~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1146.156~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1032.34~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1146.156+fips1 \| \< 5.15.0-1084.91+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1151.158 \| \< 5.15.0-1089.98 \| \< 6.8.0-1034.39
- ubuntu linux-azure-4.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 57)

- <https://git.kernel.org/stable/c/a713ba7167c2d74c477dd7764dbbdbe3199f17f4>
- <https://git.kernel.org/stable/c/c47066ed7c8f3b320ef87fa6217a2b8b24e127cc>
- <https://git.kernel.org/stable/c/2396bc91935c6da0588ce07850d07897974bd350>
- <https://git.kernel.org/stable/c/ae522ad211ec4b72eaf742b25f24b0a406afcba1>
- <https://git.kernel.org/stable/c/6a30634a2e0f1dd3c6b39fd0f114c32893a9907a>
- <https://git.kernel.org/stable/c/0b97cd8a61b2b40fd73cf92a4bb2256462d22adb>
- <https://git.kernel.org/stable/c/396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a>
- <https://git.kernel.org/stable/c/357445e28ff004d7f10967aa93ddb4bffa5c3688>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://ubuntu.com/security/CVE-2024-58052>
- <https://www.cve.org/CVERecord?id=CVE-2024-58052>
- <https://git.kernel.org/linus/357445e28ff004d7f10967aa93ddb4bffa5c3688>
- <https://ubuntu.com/security/notices/USN-7510-1>
- <https://ubuntu.com/security/notices/USN-7510-2>
- <https://ubuntu.com/security/notices/USN-7511-1>
- <https://ubuntu.com/security/notices/USN-7511-2>
- <https://ubuntu.com/security/notices/USN-7512-1>
- <https://ubuntu.com/security/notices/USN-7516-1>
- <https://ubuntu.com/security/notices/USN-7516-2>

---

Data as of 2026-12-05T04:44:41.069Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
