DF-3410 / verdict.json
{ "finding_id": "DF-3410", "status": "reproduced", "reproduced": 1, "poc_path": "findings/poc/DF-3410", "artifact_dir": "findings/poc/DF-3410", "build_cmd": "cc -O -o <prog> <prog>.c (on the guest)", "run_cmd": "(no arg; root)", "code_hash": "a5a1f2270fa06b1fefa85f91098419f0d6a34e9ddea793ba4181755d620820fd", "build_log": "(inline)", "run_log": "live1.log", "impact": "none", "confidence": "certain", "verdict": "TUNSIFMODE validates *(int*)data & ~IFF_MULTICAST but ORs the RAW word into if_flags: the IFF_MULTICAST bit rides along outside the validated mode set (demonstrated live: raw word IFF_BROADCAST|IFF_MULTICAST accepted and MULTICAST kept set). Honest impact ceiling: the mask admits only the MULTICAST bit as extra, and tun(4) is created with IFF_MULTICAST already set (and it is in IFF_CANTCHANGE), so no stock configuration delta exists.", "exploit_chain": "", "evidence": "live1.log DF-3410 section: flags before 0x8010 [PTP MCAST], after TUNSIFMODE(BCAST) 0x8002 [BCAST MCAST], raw word accepted, BCAST|0x100 correctly EINVALs", "kernel_refs": [ "sys/net/tun/if_tun.c:731-738", "sys/net/if.h:119-124" ], "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": "One-line fix (OR the masked value) is in fix.diff; kernel not rebuilt for this no-delta Low item.", "fix_baseline_reproduced": null, "fix_patched_reproduced": null } |