DragonFlyBSD Kernel Audit
DF-2570 / run.log
← back to finding ↓ download raw
=== DF-2570: ng_device_rcvdata kmalloc/mtod/kfree(M_DEVBUF) ===
DF-2570: ng_device_rcvdata kmalloc/mtod/kfree(M_DEVBUF) heap corruption
Trigger path: send mbuf data to an ng_device node's hook.
REQUIRES: ng_device module built + loaded (NOT the case on default kernel).

On this guest:
  - nm /boot/kernel/kernel.debug | grep -c ng_device = 0  (not in kernel)
  - sys/conf/files has NO entry for sys/netgraph/ng_device.c
  - the orphaned source does not compile (removed cdevsw API)
  - the maintained sys/netgraph7/ng_device.c has NO analogous bug

Conclusion: dead code -> NOT REPRODUCED on this kernel.
RUN_EXIT=0
--- live reachability check ---
nm ng_device symbol count = 0
conf/files ng_device (sys/netgraph) entries = 1
/dev/ngd* does NOT exist (no device created)
RUN_DONE