CVE-2024-58052
drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
Mitigation
- Upgrade Linux to 357445e28ff004d7f10967aa93ddb4bffa5c3688 or later.
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
Vulnerability facts
- Affected
- Linux >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < a713ba7167c2d74c477dd7764dbbdbe3199f17f4; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 2396bc91935c6da0588ce07850d07897974bd350; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < ae522ad211ec4b72eaf742b25f24b0a406afcba1; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 357445e28ff004d7f10967aa93ddb4bffa5c3688; Linux 4.7
- Fixed in
- Linux 2396bc91935c6da0588ce07850d07897974bd350, Linux 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a, Linux 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb, Linux 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a, Linux 357445e28ff004d7f10967aa93ddb4bffa5c3688
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-476
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < a713ba7167c2d74c477dd7764dbbdbe3199f17f4; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < c47066ed7c8f3b320ef87fa6217a2b8b24e127cc; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 2396bc91935c6da0588ce07850d07897974bd350; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < ae522ad211ec4b72eaf742b25f24b0a406afcba1; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a; >= a23eefa2f4615af91ea496ca5b55c9e7c6fa934c, < 357445e28ff004d7f10967aa93ddb4bffa5c3688 | — | cvelist |
| Linux | 4.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.