DragonFlyBSD Kernel Audit
DF-0776 / fix_run.log
← back to finding ↓ download raw
=== FIXED KERNEL #1: mount of crafted image (was: panic on #0) ===
Kernel: DragonFly 6.5-DEVELOPMENT #1: Sun Jul  5 12:23:02 UTC 2026
sha256 (/boot/kernel/kernel) = 0feb7195b9c7fc2d95ee88c5b216afe0f3c7adf7dce76623fa591a0d0d6bcd55

--- image creation + forge ---
[*] creating + forging HAMMER image
  @node 0x21088000  type=LEAF count=8 (crc ok=1) -> forging count=200
    rewrote node crc: was ddf658b2 now 6d1ef2a1
PATCHED 1 leaf node(s). count now 200 (>> 63).

--- mount on FIX kernel #1 (count=200) ---
[*] mounting crafted image on FIX kernel #1 (count=200)
mount: Input/output error
MOUNT_RC=1

--- dmesg BAD/reject messages ---
hammer_load_node: B-TREE NODE @ 8000000021000000 BAD type=76 count=200

--- boot.log panic check ---
(zero panics in boot.log)

--- clean (unforged) HAMMER mount still works ---
clean mount rc=0
foo.txt

--- determinism (3 runs) ---
RUN 1: mount: Input/output error (EIO), BAD count=200, no panic
RUN 2: mount: Input/output error (EIO), BAD count=200, no panic
RUN 3: mount: Input/output error (EIO), BAD count=200, no panic
Guest healthy after each: up 3 mins, load 0.06

=== FIX VALIDATED: baseline #0 panicked at hammer_btree.c:1278; fix #1 returns EIO cleanly ===