⬢ DragonFlyBSD Kernel Audit
DF-4247 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4247",
  "file": "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c",
  "verdict": "reproduced",
  "impact": "leak",
  "confidence": "certain",
  "evidence_class": "verbatim-rig (DF-4165 precedent): entire parser body processpptables.c:37-1706 + 22 header slices, checker-proven byte-identical on the guest against /usr/src/sys (the running kernel's tree); fix A/B validated in-rig",
  "reproduce": {
    "build": "cd findings/poc/DF-4247/rig && sh ./build.sh /usr/src",
    "run": "cd findings/poc/DF-4247/rig && sh ./run.sh",
    "expected": "baseline: 10/10 crafted-input modes SIGSEGV at the exact predicted offsets (65280 vs 128; 146 vs 144; 142 vs 141; 136 vs 136; 65227 vs 242; 65187 vs 242; 1662 vs 134 x2; NULL+2) + leak-canary 70/70 byte-exact; fixed: 0 faults, counts clamped (255->3, 40->5), rc=-1/-EINVAL on off-by-one/index modes, clean-valid identical to baseline"
  },
  "kernel_refs": [
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:61",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:383",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:784",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:827",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:875",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:913",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:923",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:929",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:937",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1062",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1099",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1122",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1279",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1304",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1379",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1473",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1520",
    "sys/dev/drm/amd/powerplay/hwmgr/processpptables.c:1571",
    "sys/dev/drm/amd/powerplay/amd_powerplay.c:672"
  ],
  "artifacts": [
    "README.md",
    "VERDICT.md",
    "verdict.json",
    "manifest.json",
    "fix.diff",
    "build.log",
    "run.log",
    "run.2.log",
    "run.3.log",
    "fix_validation.log",
    "env.txt",
    "hw_probe.log",
    "trigger.sh",
    "rig/gen_rig.sh",
    "rig/check_verbatim.sh",
    "rig/Makefile",
    "rig/pp_rig.c",
    "rig/rig_shims.h",
    "rig/build.sh",
    "rig/run.sh",
    "rig/code_hashes.txt",
    "rig/pp_slice_verbatim.h (generated)",
    "rig/pp_slice.inc (generated)",
    "rig/pp_slice_fixed.inc (generated)"
  ]
}