โฌข DragonFlyBSD Kernel Audit
DF-2748 / run3.log
โ† back to finding โ†“ download raw
DF-2748 run3.log โ€” PATCHED kernel #1 (Mon Aug 31 16:22:33), exact same PoC
setup: mountctl -a -2 -w /root/j2.bin -o memfifo=64k /tmp:wedge
       (rthread still exits instantly on EOF โ€” unchanged)
command: /root/poc/df2748 /tmp/jstress

child 0: created+wrote file #1
child 0: created+wrote file #2
child 1: created+wrote file #1
...  (continuous progress; the stock kernel wedged both children at
      file #11 โ€” 64K un-acked โ€” here they pass it and keep going)
child 0: created+wrote file #11
child 0: created+wrote file #12
...
child 0: created+wrote file #24
child 1: created+wrote file #16
...  (runs indefinitely; output truncated at 40 lines by the harness)

$ ps -axo pid,state,wchan,comm | grep df2748
(none โ€” SIGKILL/normal exit work; no D-state, no leftovers)
$ mountctl -l /tmp
/tmp:wedge
    membufsize= 64K
    membufused=0            <-- fifo drains: degraded half-duplex xindex
    membufunacked=0
    total_bytes=190K
    fifo_stalls=0
$ mountctl -d -f /tmp:wedge
1 journals deleted

BASELINE (stock): wedge at file #11, D jwrite, SIGKILL-immune >= 45 s.
PATCHED:         no wedge at any point, killable, fifo drained, clean delete.