⬢ DragonFlyBSD Kernel Audit
DF-3447 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3447",
 "status": "reproduced",
 "reproduced": 1,
 "poc_path": "findings/poc/DF-3447",
 "artifact_dir": "findings/poc/DF-3447",
 "build_cmd": "cc -O -o <prog> <prog>.c   (on the guest)",
 "run_cmd": "(no arg; root)",
 "code_hash": "5ef321c7f04fb8cc4b8360df335fef821609accf60763468a345ab68784f5475",
 "build_log": "(inline)",
 "run_log": "live1.log",
 "impact": "none",
 "confidence": "certain",
 "verdict": "Kernel mbuf-path BPF_LD|BPF_H|BPF_ABS ignores m_xhalf failure (merr unchecked, unlike the BPF_W twin two cases above): an out-of-range halfword load yields A=0 and the filter KEEPS RUNNING - fail-open. Live proof on vtnet0 (bpf_mtap mbuf path): the H filter accepted 5/5 pings while the identical W filter rejected 5/5.",
 "exploit_chain": "",
 "evidence": "live1.log DF-3447 section: packet 1-5 captured-by-H=1 captured-by-W=0",
 "kernel_refs": [
  "sys/net/bpf_filter.c:238-247",
  "sys/net/bpf.c:1325"
 ],
 "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": "not_testable",
 "fix_verdict": "Two-line fix (check merr, return 0 like the W path); kernel not rebuilt for this root-only filter-semantics Low item.",
 "fix_baseline_reproduced": null,
 "fix_patched_reproduced": null
}