⬢ DragonFlyBSD Kernel Audit
DF-4525 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4525",
  "title": "amdgpu_dpm: error-path double/triple free of all dyn_state power-table pointers (amdgpu_free_extended_power_table frees without NULLing)",
  "verdict": "reproduced",
  "impact": "panic",
  "confidence": "certain",
  "reproduce": {
    "build": "./build.sh",
    "run": "./run.sh",
    "expected": "panic: memory chunk 0xfffff8008976ba00 is already free! (stack: chunk_mark_free <- _kfree <- amdgpu_free_extended_power_table); fix_validate.sh then shows no panic"
  },
  "kernel_refs": [
    "sys/dev/drm/amd/amdgpu/amdgpu_dpm.c:775-792",
    "sys/dev/drm/amd/amdgpu/amdgpu_dpm.c:393-727",
    "sys/dev/drm/amd/amdgpu/ci_dpm.c:5877",
    "sys/dev/drm/amd/amdgpu/ci_dpm.c:6321",
    "sys/dev/drm/amd/amdgpu/si_dpm.c:7729",
    "sys/dev/drm/amd/amdgpu/kv_dpm.c:3035"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "df4525demo.c", "Makefile",
    "build.sh", "run.sh", "fix_validate.sh",
    "demo_build.log", "fix_build.log",
    "run.log", "fix_run.log", "panic.txt", "env.txt",
    "fix.diff", "manifest.json", "verdict.json"
  ]
}