drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.235, 5.15.179, 5.4.291, 6.1.129, 6.12.13, 6.13.2, 6.6.76
- CVEs
- CVE-2024-58052
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:30 UTC · Revision 1
Source evidence
drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table
core-osv · Original sourcePublished 6 Mar 2025, 15:53 UTC
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.
osv:CVE-2024-58052
Kernel
Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2
Complete source record
{
"id": "21ec001a9a97b35e7f9c1852cec321f8c5e55cd448531db612545f5143afe20f",
"url": "https://osv.dev/vulnerability/CVE-2024-58052",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amdgpu: Fix potential NULL pointer dereference in atomctrl_get_smc_sclk_range_table",
"summary": "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.",
"evidence": "osv:CVE-2024-58052",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.291",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.235",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.179",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.129",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.76",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.13",
"evidence": "/affected/1/ranges"
},
{
"value": "6.13.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2024-58052",
"aliases": [
"CVE-2024-58052"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a23eefa2f4615af91ea496ca5b55c9e7c6fa934c"
},
{
"fixed": "a713ba7167c2d74c477dd7764dbbdbe3199f17f4"
},
{
"fixed": "c47066ed7c8f3b320ef87fa6217a2b8b24e127cc"
},
{
"fixed": "2396bc91935c6da0588ce07850d07897974bd350"
},
{
"fixed": "ae522ad211ec4b72eaf742b25f24b0a406afcba1"
},
{
"fixed": "6a30634a2e0f1dd3c6b39fd0f114c32893a9907a"
},
{
"fixed": "0b97cd8a61b2b40fd73cf92a4bb2256462d22adb"
},
{
"fixed": "396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a"
},
{
"fixed": "357445e28ff004d7f10967aa93ddb4bffa5c3688"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58052.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.7.0"
},
{
"fixed": "5.4.291"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.235"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.179"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.129"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.76"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.13"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.13.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58052.json"
}
}
],
"modified": "2026-10-28T02:30:22.363586987Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0b97cd8a61b2b40fd73cf92a4bb2256462d22adb",
"https://git.kernel.org/stable/c/2396bc91935c6da0588ce07850d07897974bd350",
"https://git.kernel.org/stable/c/357445e28ff004d7f10967aa93ddb4bffa5c3688",
"https://git.kernel.org/stable/c/396350adf0e5ad4bf05f01e4d79bfb82f0f6c41a",
"https://git.kernel.org/stable/c/6a30634a2e0f1dd3c6b39fd0f114c32893a9907a",
"https://git.kernel.org/stable/c/a713ba7167c2d74c477dd7764dbbdbe3199f17f4",
"https://git.kernel.org/stable/c/ae522ad211ec4b72eaf742b25f24b0a406afcba1",
"https://git.kernel.org/stable/c/c47066ed7c8f3b320ef87fa6217a2b8b24e127cc",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58052.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-58052",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58052.json"
}
},
"related_cves": [
{
"value": "CVE-2024-58052",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488491,
"published_at": "2025-03-06T15:53:56.877+00:00"
}