{"id":"CVE-2023-52691","state":"PUBLISHED","title":"drm/amd/pm: fix a double-free in si_dpm_init","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/pm: fix a double-free in si_dpm_init\n\nWhen the allocation of\nadev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries fails,\namdgpu_free_extended_power_table is called to free some fields of adev.\nHowever, when the control flow returns to si_dpm_sw_init, it goes to\nlabel dpm_failed and calls si_dpm_fini, which calls\namdgpu_free_extended_power_table again and free those fields again. Thus\na double-free is triggered.","publishedAt":"2024-05-17T14:24:51.294Z","updatedAt":"2026-08-05T09:11:04.032Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"afe9f5b871f86d58ecdc45b217b662227d7890d0","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"06d95c99d5a4f5accdb79464076efe62e668c706","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"2bf47c89bbaca2bae16581ef1b28aaec0ade0334","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"f957a1be647f7fc65926cbf572992ec2747a93f2","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"fb1936cb587262cd539e84b34541abb06e42b2f9","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"ac16667237a82e2597e329eb9bc520d1cf9dff30","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"4.19.306","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.268","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.209","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.148","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.75","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.14","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.2","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c"]}],"references":["https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0","https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706","https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4","https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334","https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2","https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9","https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a","https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30","https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52691.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52691","state":"PUBLISHED","datePublished":"2024-05-17T14:24:51.294Z","dateUpdated":"2026-08-05T09:11:04.032Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-07T14:49:46.888Z"},"containers":{"cna":{"title":"drm/amd/pm: fix a double-free in si_dpm_init","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/pm: fix a double-free in si_dpm_init\n\nWhen the allocation of\nadev->pm.dpm.dyn_state.vddc_dependency_on_dispclk.entries fails,\namdgpu_free_extended_power_table is called to free some fields of adev.\nHowever, when the control flow returns to si_dpm_sw_init, it goes to\nlabel dpm_failed and calls si_dpm_fini, which calls\namdgpu_free_extended_power_table again and free those fields again. Thus\na double-free is triggered."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"afe9f5b871f86d58ecdc45b217b662227d7890d0","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"06d95c99d5a4f5accdb79464076efe62e668c706","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"2bf47c89bbaca2bae16581ef1b28aaec0ade0334","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"f957a1be647f7fc65926cbf572992ec2747a93f2","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"fb1936cb587262cd539e84b34541abb06e42b2f9","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a","versionType":"git"},{"version":"841686df9f7d2942cfd94d024b8591fa3f74ef7c","status":"affected","lessThan":"ac16667237a82e2597e329eb9bc520d1cf9dff30","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"4.19.306","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.268","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.209","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.148","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.75","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.14","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.2","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0"},{"url":"https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706"},{"url":"https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4"},{"url":"https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334"},{"url":"https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2"},{"url":"https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9"},{"url":"https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a"},{"url":"https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable path runs in amdgpu PCI probe via amdgpu_device_ip_init → si_dpm_sw_init → si_dpm_init, which is local driver initialization on Southern Islands GPUs, not reachable from network packets or adjacent-link protocols.\nAC:L - A local attacker can induce system-wide memory pressure so the GFP_KERNEL kcalloc fails and force the error path; once that allocation fails, the double-free is deterministic with no uncontrolled race.\nPR:L - Exploitation is assessed from an unprivileged local account on a shared system with an affected AMD SI GPU and amdgpu SI support enabled; root is not required for the attacker’s privileges prior to exploitation under the higher-severity interpretation.\nUI:N - No victim user action such as opening a file or clicking a link is required; the flaw is triggered by driver initialization under attacker-influenced memory conditions.\nS:U - Impact remains within the host kernel’s security authority; this is standard kernel memory corruption / potential privilege escalation, not a VM escape or IOMMU boundary cross.\nC:H - The bug is a kernel double-free of heap objects in amdgpu_free_extended_power_table without pointer clearing, which is memory corruption that can be leveraged for arbitrary read primitives.\nI:H - Double-free freelist corruption in the kernel allocator can be abused for overlapping objects and arbitrary write / control-flow hijacking, enabling full integrity compromise.\nA:H - The double-free reliably causes kernel heap corruption that can oops/panic the kernel or otherwise deny service even when not fully exploited for code execution."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:11:04.032Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"4.19.306"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.4.268"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.10.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.15.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.1.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.6.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52691","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-17T16:59:58.212684Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:23:55.721Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:11:35.720Z"}}]}}}