⬢ DragonFlyBSD Kernel Audit
DF-3375 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3375",
 "status": "not_reproduced",
 "reproduced": 0,
 "impact": "none",
 "confidence": "certain",
 "verdict": "Line-accurate confirmation; runtime demonstration not possible on this guest (no in-tree driver delivers chained management frames; QEMU has no 802.11 radio). sta_inputs MGT dispatch validates only m_pkthdr.len >= sizeof(frame) (ieee80211_sta.c:878) and calls vap->iv_recv_mgmt at :916 without m_pullup; sta_recv_mgmt computes efrm = mtod + m_len, so a driver delivering a chained frame with m_len < 24 makes efrm-frm negative (self-bounding VERIFY_LENGTHs discard safely) but the direct wh->i_addr1/i_addr2 reads at offsets 4-15 can read past the first mbuf. Mirror of DF-0348 (hostap). Fix pulls up sizeof(ieee80211_frame) before dispatch; compiled in the F40FIX build.",
 "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/ieee80211_sta.c:878",
  "sys/netproto/802_11/wlan/ieee80211_sta.c:916"
 ],
 "poc_changes": "n/a - no chained-mgmt driver on this guest",
 "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": "m_pullup(sizeof(struct ieee80211_frame)) before iv_recv_mgmt dispatch",
 "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)"
}