⬢ DragonFlyBSD Kernel Audit
DF-3413 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3413",
 "status": "not_reproduced",
 "reproduced": 0,
 "impact": "none",
 "confidence": "certain",
 "verdict": "Line-accurate confirmation; no meaningful runtime demonstration (the gap requires a separate heap-info-leak primitive to matter). _ieee80211_crypto_delkey memsets the MASTER key after cipher_detach, but tkip_detach kfrees the tkip_ctx (up to 64 bytes of tx/rx_rc4key[16] fully-mixed per-packet RC4 keys and tx/rx_ttak[5] phase-1 mixing state) with no zeroing (ieee80211_crypto_tkip.c:131-139) - defeating the frameworks own zeroization intent on the freed heap chunk. Fix memsets the ctx before free; compiled in the F40FIX build (wlan_tkip in kernel).",
 "exploit_chain": "",
 "evidence": "VERDICT.md with path:line citations; run.log where a live demo exists; fix.diff",
 "kernel_refs": [
  "sys/netproto/802_11/wlan_tkip/ieee80211_crypto_tkip.c:131"
 ],
 "poc_changes": "n/a - residue gap, needs a leak to matter",
 "attempts": 0,
 "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": 30,
 "guest_dirty": 0,
 "build_cmd": "see build.sh",
 "run_cmd": "see run.sh",
 "code_hash": null,
 "notes": "",
 "recommended_fix": "memset(ctx, 0, sizeof(*ctx)) before IEEE80211_FREE",
 "fix_status": "compile_validated",
 "fix_verdict": "fix.diff applied in the F40FIX verification kernel build (RC=0, zero -Werror errors); no runtime A/B for this item (line-certain hardening)"
}