DF-3814 / verdict.json
{ "finding_id": "DF-3814", "status": "inconclusive", "reproduced": 0, "impact": "none", "confidence": "certain", "verdict": "Source-certain: a reallocating diag reset (facts changed, mpr.c:551-576) calls mpr_iocfacts_free() (mpr.c:631) which tears down every interrupt handler via mpr_pci_free_interrupts() (mpr.c:801 -> mpr_pci.c:340-348), but re-establishment mpr_pci_setup_interrupts() is gated on attaching (mpr.c:718) and mpr_reinit() runs with attaching=FALSE (mpr.c:861) \u2014 so after such a reset the controller has no completion interrupts for the rest of the system lifetime; mpr_unmask_intr() (mpr.c:879) then enables signaling into a torn-down handler set. Result: hangs (config-page waiters sleep forever via timeout=0 at mpr.c:3740) or panics (mpr.c:846/862) \u2014 a controller/host DoS. Runtime inconclusive: guest has the driver compiled in (142 pci/mpr) but no SAS3 controller (probe.log).", "exploit_chain": "", "evidence": "VERDICT.md (6-step trace); probe.log (driver present, device absent); fix.diff (gate setup on attaching||reallocating).", "kernel_refs": [ "sys/dev/raid/mpr/mpr.c:718", "sys/dev/raid/mpr/mpr.c:801", "sys/dev/raid/mpr/mpr_pci.c:340-348" ], "poc_changes": "No runnable PoC exists without hardware; probe-based verification only.", "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": 15, "guest_dirty": 0, "build_cmd": "", "run_cmd": "", "notes": "Same defect pattern exists in the FreeBSD-origin code; upstream-shared.", "recommended_fix": "In mpr_iocfacts_allocate(), call mpr_pci_setup_interrupts() when (attaching || reallocating).", "fix_status": "not_testable", "fix_baseline_reproduced": 0, "fix_patched_reproduced": 0, "fix_verdict": "No SAS3 hardware on the guest: neither baseline nor single-fix kernel can exercise the reinit interrupt path; fix.diff authored against read-only sys/, not applied.", "fix_evidence": "fix.diff; probe.log." } |