⬢ DragonFlyBSD Kernel Audit
DF-3471 / verdict.json
← back to finding ↓ download raw
{
 "finding_id": "DF-3471",
 "status": "not_reproduced",
 "reproduced": 0,
 "impact": "none",
 "confidence": "certain",
 "verdict": "Line-accurate confirmation: ieee80211_ratectl_register/unregister (ieee80211_ratectl.c:57-73) and ieee80211_ratectl_set (:135+) check only type >= IEEE80211_RATECTL_MAX; a negative type indexes below ratectls[]/ratectl_mod_names[] and set() stores the OOB-read function pointer into vap->iv_rate for later indirect call. Unreachable today (no IEEE80211_IOC_RATECTL ioctl exists in DFs net80211; every caller passes a compile-time constant). Fix adds type < 0 guards at all three sites; 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_ratectl.c:57",
  "sys/netproto/802_11/wlan/ieee80211_ratectl.c:137"
 ],
 "poc_changes": "n/a - all call sites pass constants",
 "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": "type < 0 guards in register/unregister/set",
 "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)"
}