CVE-2024-58052

drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table

MEDIUM
5.5
CVSS Score
Published: March 6, 2025 at 03:53 PM UTC
Updated: June 17, 2026 at 08:14 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.7 ≤ v < 5.10.2354.7 ≤ v < 5.15.1794.7 ≤ v < 5.4.2914.7 ≤ v < 6.1.1294.7 ≤ v < 6.12.134.7 ≤ v < 6.13.24.7 ≤ v < 6.144.7 ≤ v < 6.6.765.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1295.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.134.7a23eefa2f4615af91ea496ca5b55c9e7c6fa934c
Vendor states this is fixed in 0b97cd8a61b2b40fd73cf92a4bb2256462d22adb (fixed)
Vendor states this is fixed in 2396bc91935c6da0588ce07850d07897974bd350 (fixed)
Vendor states this is fixed in 357445e28ff004d7f10967aa93ddb4bffa5c3688 (fixed)
Vendor states this is fixed in 396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a (fixed)
Vendor states this is fixed in 6a30634a2e0f1dd3c6b39fd0f114c32893a9907a (fixed)
Vendor states this is fixed in a713ba7167c2d74c477dd7764dbbdbe3199f17f4 (fixed)
Vendor states this is fixed in ae522ad211ec4b72eaf742b25f24b0a406afcba1 (fixed)
Vendor states this is fixed in c47066ed7c8f3b320ef87fa6217a2b8b24e127cc (fixed)
Vendor states this is fixed in 4.7 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b97cd8a61b2b40fd73cf92a4bb2256462d22adb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2396bc91935c6da0588ce07850d07897974bd350
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/357445e28ff004d7f10967aa93ddb4bffa5c3688
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a30634a2e0f1dd3c6b39fd0f114c32893a9907a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a713ba7167c2d74c477dd7764dbbdbe3199f17f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae522ad211ec4b72eaf742b25f24b0a406afcba1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c47066ed7c8f3b320ef87fa6217a2b8b24e127cc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card