DragonFlyBSD Kernel Audit
DF-0017 / fix_run.log
← back to finding ↓ download raw
================================================================
 DF-0017 — FIX VALIDATION RUN (patched #1 kernel, DMSG_MAX_CIRCUIT_DEPTH=8)
================================================================
kernel: DragonFly 6.5-DEVELOPMENT #1: Thu Jul  2 09:28:57 UTC 2026

--- PoC run (depth 300, same command that panicked #0) ---
[setup] disk DMSG iocom is free
[run] ./trigger 300  (expect kernel double-fault panic)
[1] opened /dev/vbd0 fd=3
[2] socketpair sv[4,5]
[2a] creating drain thread
[2b] drain thread started
[2c] issuing DIOCRECLUSTER (recl.fd=4)...
[3] DIOCRECLUSTER ok
[*] DMSG iocom attached; sending 300 chained CREATEs + root DELETE
[4] wrote 300 CREATEs
[5] wrote DELETE root (rv=64); waiting for panic...
[6] survived sleep(3); closing sv[1] to trigger EOF path
[7] survived; no panic observed
TRIGGER_EXIT=0
[run] if you see this, the recursion did NOT overflow (kernel fixed / depth too small)
RUN_EXIT=0

--- boot.log diagnostic proof (cap fired, NO panic) ---
[circuit nesting too deep count]:    5
[missing parent in stacked trans]:   6150
[double fault / panic count]:        0

--- boot.log kdmsg diagnostic tail ---
login: kdmsg: circuit nesting too deep (9), rejecting CREATE
kdmsg: missing parent in stacked trans
kdmsg: missing parent in stacked trans
kdmsg: missing parent in stacked trans
kdmsg: missing parent in stacked trans
...
kdmsg: missing parent in stacked trans
kdmsg: missing parent in stacked trans
kdmsg: missing parent in stacked trans

--- boot.log very tail (should show normal operation, NOT db>) ---
kdmsg: msgrx: state=0xfffff8008e0d8130 error 22
kdmsg: missing parent in stacked trans
kdmsg: msgrx: state=0xfffff8008e0d8130 error 22
kdmsg: missing parent in stacked trans
kdmsg: msgrx: state=0xfffff8008e0d8130 error 22