{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-93178",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-93178"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "drm/amdgpu/pm/powerplay: bounds-check voltage index in SMU7 lookup",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/pm/powerplay: bounds-check voltage index in SMU7 lookup\n\nvddInd and vddcInd fields from VBIOS-parsed tables are used to index into\nvoltage lookup tables without a bounds check. Return -EINVAL when any\nindex is out of range.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-93178"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d9ef085114d1e3c2c1f869c0bdb275a7b358ce8b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6f08c001fa6e8212930d694540ae8d9d6d3fb58a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ce0d8e72836c9d3710a160ad848b0f1d096075e3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/745297208d31222f916cc04da313cb737b997935"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f925d317d84d401d642e537ea18ee12f67cb6983"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8a3db9f593b643904c6cc6d8a3f211c84ca6cf8a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1664327ce797e09e387dc10cbbaa5b8d76558d2c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3a8a05477cda6c8293e2b629495b42981dcaba32"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-18T17:55:42Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The attacker-controlled ATOM_Tonga_SCLK_Dependency_Record.ucVddInd (and MCLK ucVddcInd / MM ucVddcInd) bytes enter via write() on /sys/class/drm/cardN/device/pp_table; amdgpu_set_pp_table \u2192 pp_dpm_set_pp_table copies them into hardcode_pp_table and amd_powerplay_reset \u2192 hwmgr_hw_init \u2192 pp_tables_v1_0_initialize re-parses them before smu7_patch_voltage_dependency_tables_with_lookup_table uses vddInd.\nAC:L - A PowerPlay table whose ucVddInd/ucVddcInd is >= vddc_lookup_table or vddgfx_lookup_table count makes smu7_patch_voltage_dependency_tables_with_lookup_table perform a deterministic entries[voltage_id].us_vdd load; voltage_id is the attacker-chosen uint8_t and no race or memory-layout gate is required.\nPR:L - pp_table is AMDGPU_DEVICE_ATTR_RW (S_IRUGO|S_IWUSR) and amdgpu_dpm_is_pp_table_allowed() enables it on SMU7 discrete ASICs (Tonga/Fiji/Polaris/VegaM); the same sysfs node was scored PR:L in CVE-2025-21780 and CVE-2026-74450 because AMD desktop/gaming udev rules routinely grant group write for overclocking tools.\nUI:N - The attacker writes the crafted PowerPlay table to pp_table themselves; no other user must plug in a GPU, mount an image, or confirm a prompt.\nS:U - The out-of-bounds us_vdd load targets the kmalloc_flex vddc_lookup_table/vddgfx_lookup_table in the host amdgpu driver and does not cross a KVM/Xen, IOMMU, or sandbox boundary.\nC:H - get_vddc_lookup_table allocates only 16 phm_ppt_v1_voltage_lookup_record slots, but voltage_id is the attacker-supplied uint8_t ucVddInd (0-255), so entries[voltage_id].us_vdd reads two kernel-heap bytes at a chosen offset up to about 2.5KB past the object, repeatable across sclk, mclk, and mm dependency entries.\nI:N - The only stores are in-bounds writes of that 16-bit millivolt into sclk_table/mclk_table/mm_table entries[entry_id].vddc or .vddgfx; those fields are not used as pointers or as further unbounded indexes, so this is not an out-of-bounds write or control-flow hijack primitive.\nA:H - voltage_id 255 walks about 2.5KB past the 16-entry lookup object and can fault on an unmapped or guard page; the same uploaded table can leave vdd_dep_on_sclk, vdd_dep_on_mclk, or mm_dep_table NULL so the ->count load oopses; garbage voltages later sent to the SMU can hang the GPU."
    }
  }
}
