⬢ DragonFlyBSD Kernel Audit
DF-3595 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3595",
  "title": "sc_curmac NULL after failed band-switch/hw-reset leaves RUNNING set: bwn_stop/bwn_detach/bwn_suspend NULL-deref panic",
  "verdict": "inconclusive",
  "impact": "panic",
  "reproduce": {
    "build": "sh probe.sh",
    "run": "as root on DF guest: sh probe.sh",
    "expected": "probe shows driver resident + no Broadcom hardware; on real hw: up the interface, fail a band-switch/hwreset re-init (e.g. firmware files removed after first load), then ifconfig down/detach/suspend → NULL-deref panic at if_bwn.c:2048"
  },
  "kernel_refs": [
    "sys/dev/netif/bwn/bwn/if_bwn.c:4764",
    "sys/dev/netif/bwn/bwn/if_bwn.c:5365",
    "sys/dev/netif/bwn/bwn/if_bwn.c:2042",
    "sys/dev/netif/bwn/bwn/if_bwn.c:2048",
    "sys/dev/netif/bwn/bwn/if_bwn.c:791",
    "sys/dev/netif/bwn/bwn/if_bwn.c:7374",
    "sys/dev/netif/bwn/bwn/if_bwn.c:949"
  ],
  "artifacts": ["README.md", "VERDICT.md", "probe.sh", "run.log", "fix.diff", "manifest.json", "verdict.json"]
}