DF-3840 / verdict.json
{ "finding_id": "DF-3840", "status": "inconclusive", "reproduced": 0, "impact": "none", "confidence": "certain", "verdict": "Source-level certain, runtime inconclusive: the guest has no Intel 2200BG/2915ABG NIC (run.log: no iwi interface). frame points into the old rx mbuf (:1651-1652), the mbuf is handed to ieee80211_input/ieee80211_input_all (:1337-1342) which frees it synchronously on drop paths (ieee80211_input.c:169/211/245), and after re-taking the lock the driver reads frame->rate (:1353) whenever sc_softled is set (default 1, :3622) and the frame was a data frame. 1-byte stale/freed-mbuf read whose value only indexes the LED blink table; new pass-2 lifetime bug, distinct from DF-1239/1240/1241.", "exploit_chain": "", "evidence": "README.md (what to look at), VERDICT.md (line-by-line trace), trigger.c/mkbadfw.c, build.log (clean guest compile, gcc 8.3), run.log (honest ENOENT / generator RUN_OK), env.txt (guest has no DRI, no iwi NIC), fix.diff", "kernel_refs": [ "sys/dev/netif/iwi/if_iwi.c:1353", "sys/dev/netif/iwi/if_iwi.c:1337", "sys/dev/netif/iwi/if_iwi.c:1314", "sys/dev/netif/iwi/if_iwi.c:3622", "sys/netproto/802_11/wlan/ieee80211_input.c:169" ], "poc_changes": "PoC authored fresh for this finding (cross-file family seed): raw DRM ioctl ABI (cmd low byte 0x66 dispatches RADEON_CS on DF drm_ioctl.c:809), chunk structs and packet encodings verified against sys/dev/drm/include/uapi/drm/radeon_drm.h; iwi mkbadfw.c emits the v3 combined-image header per if_iwireg.h:161-166.", "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": 30, "guest_dirty": 0, "build_cmd": "cc -O2 -o trigger trigger.c", "run_cmd": "./trigger", "code_hash": "f22d23ea780f53c5a71ac089bcd12f8a3ac84e2d33df677a9face79fe28cf678", "notes": "Hardware-gated: audit QEMU guest is virtio-only (no /dev/dri, hw.drm absent, no iwi PCI NIC) - runtime verification impossible in this environment; classification per orchestrator enum (no not_testable/skipped). Guest was NOT dirtied; no kernel rebuild performed (nothing reproduced to validate a fix against).", "recommended_fix": "Snapshot rx_rate = frame->rate before the ieee80211_input() handoff and use the snapshot at :1353.", "fix_status": "not_applicable", "fix_baseline_reproduced": 0, "fix_patched_reproduced": 0, "fix_verdict": "Fix validation impossible on this guest: the vulnerable device (AMD radeon CS / Intel 2200BG) does not exist, so neither baseline nor patched kernel can exercise the path. fix.diff authored against the read-only sys/ tree, never applied.", "fix_evidence": "fix.diff in this pack; structurally mirrors the bounds checks the same driver family already enforces elsewhere (radeon_cs_packet_parse fit check; iwn ring-index masking)." } |