⬢ DragonFlyBSD Kernel Audit
DF-3442 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3442",
 "status": "reproduced",
 "reproduced": 1,
 "poc_path": "findings/poc/DF-3442",
 "artifact_dir": "findings/poc/DF-3442",
 "build_cmd": "./build.sh",
 "run_cmd": "df3442 oob",
 "code_hash": "cfb967e5fc70df71b9429bdfdc8048b5ccdf7620b52aacdb6a885e3fa29c39db",
 "build_log": "build.log",
 "run_log": "allruns.log",
 "impact": "none",
 "confidence": "certain",
 "verdict": "iface_match() runs kfnmatch() on rule-supplied via/xmit/recv names the kernel never validates for NUL termination. Stock ipfw3(8) terminates via strlcpy (libipfw3 fill_iface), so exposure needs a hand-crafted root setsockopt; harness (fnmatch == kfnmatch semantics) with a 16-byte all-glob non-terminated name faults the guard page.",
 "exploit_chain": "",
 "evidence": "non-terminated glob name rc=139; terminated control rc=0; FIXED termination check clean",
 "kernel_refs": [
  "sys/net/ipfw3_basic/ip_fw3_basic.c:134-141",
  "sys/net/ipfw3/ip_fw3.h:191-198"
 ],
 "poc_changes": "",
 "attempts": 3,
 "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": 60,
 "guest_dirty": 0,
 "runner": "df-bsd-reviewer",
 "notes": "",
 "recommended_fix": "fix.diff",
 "fix_status": "fixed",
 "fix_verdict": "Harness A/B (fixruns.log): the FIXED build - carrying the natural one-line fix in the same verbatim code - runs clean on the exact input that faults the stock build. Kernel not rebuilt for these Low/hardening items.",
 "fix_baseline_reproduced": 1,
 "fix_patched_reproduced": 0
}