DF-2930 / verdict.json
{ "finding_id": "DF-2930", "status": "reproduced", "reproduced": 1, "impact": "none", "confidence": "certain", "verdict": "Mechanically reproduced via the harness on the stock guest: systimer_init_periodic_nq100khz(&st, cb, NULL, 10000) produced st.periodic = 10001 = fromhz(10000), NOT the ganged fromhz(100000)*10 = 10010 the SYSTF_100KHZSYNC flag promises - the 100KHZSYNC assignment at kern_systimer.c:268-269 is unconditionally overwritten because the MSSYNC condition at :270 lacks else (dead branch), so the documented 100kHz-ganged periods and coincident-event ordering of the nq100khz API never materialize. Zero in-tree callers today (latent). On the fix kernel the same call yields periodic = 10010 = the ganged value.", "exploit_chain": "", "evidence": "harness.log T9: periodic=10001 (== plain fromhz); fix kernel: periodic=10010 (== ganged)", "kernel_refs": [ "sys/kern/kern_systimer.c:268", "sys/kern/kern_systimer.c:270" ], "poc_changes": "none", "attempts": 1, "guest_uname": "DragonFly dfbsd 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": 25, "guest_dirty": 0, "build_cmd": "cd /root/h41 && make", "run_cmd": "kldload ./h41.ko; sysctl -w debug.h41.cmd=9", "code_hash": "85d6e241caa2a7fb1fb44b80c7736a4e83c36d29314b0c96ce91769bc9bdf839", "notes": "First future consumer silently gets wrong timer phasing", "recommended_fix": "Make the MSSYNC branch else if", "fix_status": "fixed", "fix_baseline_reproduced": 1, "fix_patched_reproduced": 0, "fix_kernel_uname": "DragonFly dfbsd 6.5-DEVELOPMENT #1: Mon Oct 26 01:57:23 UTC 2026 root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 (h41 fix kernel, all 41 hardening fixes applied)", "fix_verdict": "A/B: baseline plain period; fix kernel ganged period (else-if)." } |