⬢ DragonFlyBSD Kernel Audit
DF-4245 / verdict.json
← back to finding ↓ download raw
{
  "finding_id": "DF-4245",
  "status": "untested",
  "reproduced": 0,
  "impact": "none demonstrated on guest (no DPT hardware); source-level impact: unbounded crit-section MMIO spin at attach \u2192 kernel hang (boot-time DoS) from hostile/faulty HBA status",
  "confidence": "certain",
  "verdict": "Untested on guest (hardware-gated). Source-certain: the ready-wait loop at dpt_scsi.c:505-520 has no iteration bound; every exit condition except spinning forever depends on device-fed register values; it runs with interrupts disabled (crit_enter at 498). Hostile status shape = hard hang at probe.",
  "exploit_chain": "",
  "evidence": "VERDICT.md; dpt_scsi.c:498,505-520; dpt_wait 198-212; dpt_raid_busy 171-180",
  "kernel_refs": [
    "sys/dev/raid/dpt/dpt_scsi.c:498",
    "sys/dev/raid/dpt/dpt_scsi.c:505",
    "sys/dev/raid/dpt/dpt_scsi.c:514",
    "sys/dev/raid/dpt/dpt_scsi.c:198",
    "sys/dev/raid/dpt/dpt_scsi.c:171"
  ],
  "poc_changes": "No seed PoC existed; evidence authored from scratch in this run.",
  "attempts": 1,
  "guest_uname": "DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #0: Thu Jul  2 06:02:54 UTC 2026  root:dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64",
  "runtime_sec": 10,
  "guest_dirty": 0,
  "build_cmd": null,
  "run_cmd": null,
  "code_hash": null,
  "notes": "Hostile-input-shape/hang family (prompt item a/f).",
  "recommended_fix": "Bound the ready-wait loop and fail attach cleanly (fix.diff).",
  "fix_status": "not_testable",
  "fix_baseline_reproduced": 0,
  "fix_patched_reproduced": 0,
  "fix_verdict": "fix.diff authored against the read-only sys/ tree; kernel-level fix validation impossible without DPT SmartRAID hardware (none in guest, no QEMU emulation exists).",
  "fix_evidence": "fix.diff"
}