DragonFlyBSD Kernel Audit
DF-2617 / fix_run.log
← back to finding ↓ download raw
##### DF-2617 FIX VALIDATION (kernel #1 v3, all 3 fix.diff hunks) #####
## uname:
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #1: Fri Aug 28 19:06:12 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64

===== P1 on patched (expect EINVAL, no panic) =====
+ uname -a
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #1: Fri Aug 28 19:06:12 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
+ vnconfig -u vn0
+ true
+ vnconfig -c vn0 /root/poc/df2617/P1.img
+ mkdir -p /mnt/h2
+ mount -t hammer2 -o ro /dev/vn0@testvol /mnt/h2
mount: Invalid argument
+ echo 'MOUNT_RC=1'
MOUNT_RC=1
+ ls /mnt/h2
+ echo P1_DONE
P1_DONE
+ uname -a
DragonFly dfbsd 6.5-DEVELOPMENT DragonFly 6.5-DEVELOPMENT #1: Fri Aug 28 19:06:12 UTC 2026     root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
+ vnconfig -u vn0
+ true
+ vnconfig -c vn0 /root/poc/df2617/P2.img
+ mkdir -p /mnt/h2
+ mount -t hammer2 -o ro /dev/vn0@testvol /mnt/h2
mount_hammer2: /dev/vn0@testvol not found
+ echo 'MOUNT_RC=1'
MOUNT_RC=1
+ ls /mnt/h2
+ echo P2_DONE
P2_DONE

===== P2 on patched (expect EINVAL, no panic) =====

===== H on patched (expect ls returns, no hang) =====
--- procstat kernel stacks of ls ---
+ procstat -kk 878
/root/poc/df2617/trigger_H.sh: procstat: not found
+ true
+ procstat -t 878
/root/poc/df2617/trigger_H.sh: procstat: not found
+ true
+ echo '--- second ls (mount wedged?) ---'
--- second ls (mount wedged?) ---
+ timeout 10 ls -la /mnt/h2
ls: f1: No such file or directory
ls: w0: No such file or directory
ls: w1: No such file or directory
ls: w10: No such file or directory
ls: w11: No such file or directory
ls: w12: No such file or directory
ls: w13: No such file or directory
ls: w14: No such file or directory
ls: w15: No such file or directory
ls: w16: No such file or directory
ls: w17: No such file or directory
ls: w18: No such file or directory
ls: w19: No such file or directory
ls: w2: No such file or directory
ls: w20: No such file or directory
ls: w21: No such file or directory
ls: w22: No such file or directory
ls: w23: No such file or directory
ls: w24: No such file or directory
ls: w25: No such file or directory
ls: w26: No such file or directory
ls: w27: No such file or directory
ls: w28: No such file or directory
ls: w29: No such file or directory
ls: w3: No such file or directory
ls: w30: No such file or directory
ls: w31: No such file or directory
ls: w4: No such file or directory
ls: w5: No such file or directory
ls: w6: No such file or directory
ls: w7: No such file or directory
ls: w8: No such file or directory
ls: w9: No such file or directory
total 4
drwxr-xr-x  1 root  wheel  0 Aug 28 18:01 .
drwxr-xr-x  1 root  wheel  0 Aug 28 19:19 ..
+ echo 'SECOND_LS_RC=1'
SECOND_LS_RC=1
+ echo H_CAPTURE_DONE
H_CAPTURE_DONE

===== dmesg (patched) =====
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2
hammer2_chain_load_data: illegal zero data_off on bref type 2

===== stuck-thread check + umount + control image =====
NO_STUCK_THREADS
UMOUNT_OK
CONTROL_MOUNT_OK 33-files CONTROL_UMOUNT_OK