⬢ DragonFlyBSD Kernel Audit
DF-3874 / verdict.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3874",
  "status": "inconclusive",
  "reproduced": 0,
  "impact": "leak",
  "confidence": "likely",
  "verdict": "Controller-DMA-written counts bound loops over fixed arrays (240/64/15) with no clamps; a count beyond the array walks the kmallocd buffer OOB (read), and AEN event contents (incl. adjacent heap bytes) get printed to console. Hardware-gated; not exercisable on the guest.",
  "exploit_chain": "",
  "evidence": "VERDICT.md + cited lines",
  "kernel_refs": [
    "sys/dev/raid/mfi/mfi.c:1331",
    "sys/dev/raid/mfi/mfi.c:1346",
    "sys/dev/raid/mfi/mfi.c:1396",
    "sys/dev/raid/mfi/mfi.c:1770",
    "sys/dev/raid/mfi/mfi.c:1788",
    "sys/dev/raid/mfi/mfireg.h:1152",
    "sys/dev/raid/mfi/mfireg.h:1184"
  ],
  "poc_changes": "no runnable PoC (hardware-gated)",
  "attempts": 0,
  "guest_uname": "DragonFly dfbsd 6.5-DEVELOPMENT x86_64 (no MegaRAID)",
  "runtime_sec": 0,
  "guest_dirty": 0,
  "build_cmd": "",
  "run_cmd": "",
  "code_hash": "",
  "notes": "mrsas-twin class; trust boundary is the controller firmware",
  "recommended_fix": "clamp FW counts to array sizes before the walks",
  "fix_status": "not_testable",
  "fix_baseline_reproduced": 0,
  "fix_patched_reproduced": 0,
  "fix_verdict": "clamps authored; cannot validate without HW",
  "fix_evidence": "fix.diff"
}