⬢ DragonFlyBSD Kernel Audit
DF-3707 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3707",
  "title": "vega10_get_sclk_od/get_mclk_od divide-by-zero when golden top clock is 0 (crafted VBIOS) — world-readable sysfs",
  "verdict": "inconclusive",
  "impact": "source-certain kernel #DE panic (unprivileged read once precondition met); not demonstrable on guest",
  "reproduce": {
    "build": "n/a — VBIOS data + sysfs read",
    "run": "crafted-VBIOS Vega10, then any user: cat .../pp_od_clock_voltage's sibling pp_sclk_od",
    "expected": "integer divide-by-zero trap -> kernel panic"
  },
  "kernel_refs": [
    "sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c:4540",
    "sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c:4591",
    "sys/dev/drm/amd/powerplay/hwmgr/vega10_hwmgr.c:1209",
    "sys/dev/drm/amd/amdgpu/amdgpu_pm.c:1019"
  ],
  "artifacts": ["README.md","VERDICT.md","trigger_notes.c","build.sh","run.sh","run.log","env.txt","fix.diff","manifest.json","verdict.json"]
}