⬢ DragonFlyBSD Kernel Audit
DF-3514 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-3514",
  "title": "ng_ID_rehash/ng_name_rehash: INVARIANTS-only LIST_REMOVE + wrong hashdestroy mask -> hashdestroy panic (list double-insert UAF)",
  "verdict": "reproduced",
  "impact": "panic",
  "reproduce": {
    "build": "build ng7 modules (see DF-3513 build.sh)",
    "run": "load UNFIXED modules; loop ./poc_leak 500 (each run pins nodes via DF-3513/DF-3515 leaks); panic within ~3-8 runs",
    "expected": "panic: hashdestroy: hash not empty (ng_make_node_common or ng_name_node path); with fixed core module: 20/20 runs survive"
  },
  "kernel_refs": [
    "sys/netgraph7/netgraph/ng_base.c:953-962",
    "sys/netgraph7/netgraph/ng_base.c:986-996",
    "sys/netgraph7/netgraph/ng_base.c:645-661"
  ],
  "artifacts": ["README.md","VERDICT.md","panic.txt","fix.diff","manifest.json","verdict.json"]
}