DF-4011 / verdict.json
{ "finding_id": "DF-4011", "status": "untested", "reproduced": 0, "impact": "none", "confidence": "certain", "verdict": "Info-level latent defect, no runtime impact as shipped: the COMPAT_FREEBSD32 block (mpr_user.c:2425-2604) references undefined identifiers (com, td in mpr_ioctl_devsw at :2616) and calls the 4-arg mpr_ioctl with 5 arguments (:2553), so it cannot compile \u2014 DragonFly never defines COMPAT_FREEBSD32. The shims MPRIO_RAID_ACTION32 maps to native MPRIO_RAID_ACTION which the native ioctl switch does not implement (falls to ENOIOCTL) \u2014 the RAID-action ioctl surface (mpr_ioctl.h:101-114,362) is dead. Pass-2 checklist item (d) answered: no RAID-action buffer-sizing bug exists because no handler exists.", "exploit_chain": "", "evidence": "mpr_user.c:2614-2617 (undefined com/td), mpr_user.c:2553 (5-arg call into 4-arg mpr_ioctl at :2258), mpr_user.c:2272-2417 (no RAID_ACTION case), mpr_ioctl.h:362", "kernel_refs": [ "sys/dev/raid/mpr/mpr_user.c:2425", "sys/dev/raid/mpr/mpr_user.c:2523", "sys/dev/raid/mpr/mpr_user.c:2553", "sys/dev/raid/mpr/mpr_user.c:2606", "sys/dev/raid/mpr/mpr_user.c:2616", "sys/dev/raid/mpr/mpr_ioctl.h:362" ], "poc_changes": "n/a", "attempts": 0, "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": 0, "guest_dirty": 0, "build_cmd": "", "run_cmd": "", "code_hash": "", "notes": "Info hardening/cleanup finding; no verification applicable.", "recommended_fix": "Remove the COMPAT_FREEBSD32 block (or fix it: com->cmd, drop td, correct the mpr_ioctl arity, and drop the RAID_ACTION mapping until a native handler exists).", "fix_status": "untested", "fix_baseline_reproduced": 0, "fix_patched_reproduced": 0, "fix_verdict": "not applicable (Info)", "fix_evidence": "" } |