{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2023-52691",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2023-52691"
  ],
  "published": "2024-05-17T14:32:10Z",
  "summary": "drm/amd/pm: fix a double-free in si_dpm_init",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.75",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-52691"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/afe9f5b871f86d58ecdc45b217b662227d7890d0"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/06d95c99d5a4f5accdb79464076efe62e668c706"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/aeed2b4e4a70c7568d4a5eecd6a109713c0dfbf4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2bf47c89bbaca2bae16581ef1b28aaec0ade0334"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f957a1be647f7fc65926cbf572992ec2747a93f2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fb1936cb587262cd539e84b34541abb06e42b2f9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ca8e2e251c65e5a712f6025e27bd9b26d16e6f4a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ac16667237a82e2597e329eb9bc520d1cf9dff30"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:24:39Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The vulnerable path runs in amdgpu PCI probe via amdgpu_device_ip_init \u2192 si_dpm_sw_init \u2192 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\u2019s 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\u2019s 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."
    }
  }
}
