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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-03-06T15:53:56.877Z
- **Modified:** 2026-06-17T08:14:31.033Z

## Who should check

- Anyone running Linux \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< a713ba7167c2d74c477dd7764dbbdbe3199f17f4; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 2396bc91935c6da0588ce07850d07897974bd350; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< ae522ad211ec4b72eaf742b25f24b0a406afcba1; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 357445e28ff004d7f10967aa93ddb4bffa5c3688
- Anyone running Linux 4.7

## 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.

## Affected and fixed versions

- Linux: \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< a713ba7167c2d74c477dd7764dbbdbe3199f17f4; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 2396bc91935c6da0588ce07850d07897974bd350; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< ae522ad211ec4b72eaf742b25f24b0a406afcba1; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 357445e28ff004d7f10967aa93ddb4bffa5c3688 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 357445e28ff004d7f10967aa93ddb4bffa5c3688 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-58052. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-58052.md
Affected: Linux >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < a713ba7167c2d74c477dd7764dbbdbe3199f17f4; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 2396bc91935c6da0588ce07850d07897974bd350; >= a23eefa2f4615af91ea496c…
Fixed in: Linux 2396bc91935c6da0588ce07850d07897974bd350, Linux 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a, Linux 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, Linux 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a, Linux 357445e28ff004d7f10967aa93ddb4bffa5c3688

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-58052 being exploited?

There is no confirmed exploitation: CVE-2024-58052 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-58052?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-58052?

Linux \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< a713ba7167c2d74c477dd7764dbbdbe3199f17f4; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 2396bc91935c6da0588ce07850d07897974bd350; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< ae522ad211ec4b72eaf742b25f24b0a406afcba1; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a; \>= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, \< 357445e28ff004d7f10967aa93ddb4bffa5c3688; Linux 4.7.

### Is there a fix for CVE-2024-58052?

Yes. Fixed in Linux 2396bc91935c6da0588ce07850d07897974bd350, Linux 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a, Linux 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, Linux 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a, Linux 357445e28ff004d7f10967aa93ddb4bffa5c3688. Upgrade Linux to 357445e28ff004d7f10967aa93ddb4bffa5c3688 or later.

### How do I check if I'm affected by CVE-2024-58052?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a713ba7167c2d74c477dd7764dbbdbe3199f17f4>
- patch: <https://git.kernel.org/stable/c/c47066ed7c8f3b320ef87fa6217a2b8b24e127cc>
- patch: <https://git.kernel.org/stable/c/2396bc91935c6da0588ce07850d07897974bd350>
- patch: <https://git.kernel.org/stable/c/ae522ad211ec4b72eaf742b25f24b0a406afcba1>
- patch: <https://git.kernel.org/stable/c/6a30634a2e0f1dd3c6b39fd0f114c32893a9907a>
- patch: <https://git.kernel.org/stable/c/0b97cd8a61b2b40fd73cf92a4bb2256462d22adb>
- patch: <https://git.kernel.org/stable/c/396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a>
- patch: <https://git.kernel.org/stable/c/357445e28ff004d7f10967aa93ddb4bffa5c3688>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-58052>

HTML: <https://flawdb.com/CVE-2024-58052> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-58052>
