⬢ DragonFlyBSD Kernel Audit
DF-3668 / verdict.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3668",
  "status": "inconclusive",
  "reproduced": 0,
  "impact": "none",
  "confidence": "certain",
  "verdict": "Source-level certain, runtime-inconclusive: ix_txeof (if_ix.c:2368) and ix_txgc (if_ix.c:2409) loop while (first != hdr) on a hardware-provided TX head index (DMA write-back *(txr->tx_hdr) at if_ix.c:1203/4788/4810/4957, or TDH register at 2400) with no range validation against tx_ndesc. A value outside [0, tx_ndesc) makes the exit condition unreachable: INVARIANTS kernels panic on KKASSERT at 2371; production kernels spin forever in interrupt context (soft-lockup DoS) with unbounded avail increments. Hardware-gated (malicious/faulty NIC); guest has no ixgbe device (env.txt). fix.diff (reject out-of-range hdr) compile-validated with -Werror on md5-identical guest source.",
  "exploit_chain": "",
  "evidence": "VERDICT.md (path:line); build_baseline.log vs build_patched.log (fix compiles clean); env.txt (no device)",
  "kernel_refs": [
    "sys/dev/netif/ix/if_ix.c:2355",
    "sys/dev/netif/ix/if_ix.c:2368",
    "sys/dev/netif/ix/if_ix.c:1203",
    "sys/dev/netif/ix/if_ix.c:4788",
    "sys/dev/netif/ix/if_ix.c:4810",
    "sys/dev/netif/ix/if_ix.c:4957",
    "sys/dev/netif/ix/if_ix.c:2400",
    "sys/dev/netif/ix/if_ix.h:223"
  ],
  "poc_changes": "New pass-2 finding, no seed. Fix authored directly from the audited source.",
  "attempts": 1,
  "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": 120,
  "guest_dirty": 0,
  "build_cmd": "cd /usr/src/sys/dev/netif/ix && make obj && make   (after patch -p1 < fix.diff)",
  "run_cmd": "n/a (hardware-gated; see VERDICT.md source argument)",
  "code_hash": "09ba32a4146f57def59389e3a5102ef831721b39810c9d6eda1d62ee83002f1c",
  "notes": "DoS-only class: first stays ring-bounded so no memory corruption. Guest left clean.",
  "recommended_fix": "Reject hdr outside [0, tx_ndesc) in ix_txeof/ix_txgc (fix.diff).",
  "fix_status": "not_testable",
  "fix_baseline_reproduced": 0,
  "fix_patched_reproduced": 0,
  "fix_verdict": "Compile-validated only (build_patched.log, -Werror clean); runtime comparison needs hardware.",
  "fix_evidence": "build_baseline.log / build_patched.log; fix.diff applies with patch -p1 from /usr/src."
}