panic: ffs_valloc: dup alloc Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *281655 70525 0 0x2 0 1K syz-executor 407289 86652 0 0x2 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3cf3) at panic+0x1e5 sys/kern/subr_prf.c:198 ffs_inode_alloc(fffffd806dd78770,41ed,fffffd807f7d3820,ffff80002a0a6318) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a0a6380) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806bdd9eb0,ffff80002a0a64e0,ffff80002a0a6510,ffff80002a0a6410) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000fffed700,ffffff9c,7b7dbafe3690,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a0a6690) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6690) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b7dbafe3720, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: ffs_valloc: dup alloc ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3cf3) at panic+0x1e5 sys/kern/subr_prf.c:198 ffs_inode_alloc(fffffd806dd78770,41ed,fffffd807f7d3820,ffff80002a0a6318) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a0a6380) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806bdd9eb0,ffff80002a0a64e0,ffff80002a0a6510,ffff80002a0a6410) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000fffed700,ffffff9c,7b7dbafe3690,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a0a6690) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6690) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b7dbafe3720, count: -8 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a0a60a0 rbx 0xffff800029b7cd87 rdx 0 rcx 0xffff8000fffed700 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf90088f54622cd94 r11 0x52f2d160b53190ce r12 0xffff800029b7cb88 r13 0 r14 0 r15 0x1 rip 0xffffffff82535fb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a0a6090 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=281655 pid=70525 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffec2c0,0xffff8000fffeccf0 process=0xffff800030978020 user=0xffff80002a0a1000, vmspace=0xfffffd806c3d1dd8 estcpu=36, cpticks=2, pctcpu=0.4, user=0, sys=7, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78105 324940 80280 0 3 0x80 nanoslp syz-executor 78105 258230 80280 0 3 0x4000080 kqread syz-executor 78105 337412 80280 0 3 0x4000080 fsleep syz-executor 78853 312113 55581 0 3 0x2 biowait syz-executor *70525 281655 55581 0 7 0x2 syz-executor 86652 407289 55581 0 7 0x2 syz-executor 80280 255879 55581 0 3 0x82 nanoslp syz-executor 98432 154143 1 0 3 0x100083 ttyin getty 46709 157262 0 0 3 0x14200 bored sosplice 55590 395861 0 0 3 0x14280 nfsidl nfsio 20194 114443 0 0 3 0x14280 nfsidl nfsio 11566 159445 0 0 3 0x14280 nfsidl nfsio 91806 303315 0 0 3 0x14280 nfsidl nfsio 21279 479864 0 0 3 0x14280 nfsidl nfsio 93384 31125 0 0 3 0x14280 nfsidl nfsio 77099 274322 0 0 3 0x14280 nfsidl nfsio 79518 355446 0 0 3 0x14280 nfsidl nfsio 72083 455388 0 0 3 0x14280 nfsidl nfsio 23036 463402 0 0 3 0x14280 nfsidl nfsio 87109 283504 0 0 3 0x14280 nfsidl nfsio 39444 394114 0 0 3 0x14280 nfsidl nfsio 22297 302599 0 0 3 0x14280 nfsidl nfsio 36996 504852 0 0 3 0x14280 nfsidl nfsio 97720 505378 0 0 3 0x14280 nfsidl nfsio 22837 405588 0 0 3 0x14280 nfsidl nfsio 76917 49235 0 0 3 0x14280 nfsidl nfsio 15571 234661 0 0 3 0x14280 nfsidl nfsio 52960 419956 0 0 3 0x14280 nfsidl nfsio 1424 146583 0 0 3 0x14280 nfsidl nfsio 55581 84889 83422 0 3 0x82 wait syz-executor 83422 213329 11406 0 3 0x10008a sigsusp ksh 11406 426730 90717 0 3 0x98 kqread sshd-session 90717 411259 34069 0 3 0x92 kqread sshd-session 34069 80636 1 0 3 0x88 kqread sshd 55901 423969 97664 74 3 0x1100092 bpf pflogd 97664 165353 1 0 3 0x80 sbwait pflogd 72200 323412 98047 73 3 0x1100090 kqread syslogd 98047 484316 1 0 3 0x100082 sbwait syslogd 3233 77911 1 0 3 0x100080 kqread resolvd 16274 701 33730 77 3 0x100092 kqread dhcpleased 1095 271969 33730 77 3 0x100092 kqread dhcpleased 33730 358541 1 0 3 0x80 kqread dhcpleased 16279 476680 0 0 3 0x14200 bored smr 96031 137597 0 0 3 0x14200 pgzero zerothread 78750 16459 0 0 3 0x14200 aiodoned aiodoned 8347 85424 0 0 3 0x14200 syncer update 21611 93298 0 0 3 0x14200 cleaner cleaner 11520 398064 0 0 3 0x14200 reaper reaper 62783 240179 0 0 3 0x14200 pgdaemon pagedaemon 66330 102914 0 0 3 0x14200 bored viomb 37399 413434 0 0 3 0x40014200 acpi0 acpi0 41664 424070 0 0 3 0x40014200 idle1 32744 459817 0 0 3 0x14200 bored softnet3 31951 445542 0 0 3 0x14200 bored softnet2 34809 46759 0 0 3 0x14200 bored softnet1 29121 11253 0 0 3 0x14200 bored softnet0 86524 90324 0 0 3 0x14200 bored systqmp 67950 7899 0 0 3 0x14200 bored systq 39658 53655 0 0 3 0x14200 tmoslp softclockmp 65825 221001 0 0 3 0x40014200 tmoslp softclock 78599 218915 0 0 3 0x40014200 idle0 1 309482 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 78853 (syz-executor) thread 0xffff8000ffff42b0 (312113) exclusive rrwlock inode r = 0 (0xfffffd807a1b80a0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:97 #7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1201 #8 ufs_lookup+0x19f8 sys/ufs/ufs/ufs_lookup.c:478 #9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #11 namei+0x7aa sys/kern/vfs_lookup.c:250 #12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #13 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #13 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd80698985f0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 Process 70525 (syz-executor) thread 0xffff8000fffed700 (281655) exclusive rrwlock inode r = 0 (0xfffffd806fd8f5e8) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:149 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 #10 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806dd78808) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83547560) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10232 10240K 10442K 166960K 13048 0 pcb 17 18K 22K 166960K 540 0 rtable 222 8K 9K 166960K 2101 0 pf 38 18K 22K 166960K 236 0 ifaddr 43 8K 8K 166960K 271 0 ifgroup 59 2K 2K 166960K 291 0 sysctl 3 0K 1K 166960K 7 0 counters 66 36K 37K 166960K 192 0 ioctlops 0 0K 4K 166960K 1643 0 iov 0 0K 24K 166960K 74 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1502 94K 95K 166960K 3384 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 5K 9K 166960K 24 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 40 0 dirhash 12 2K 3K 166960K 42 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 11 37K 93K 166960K 2119 0 sigio 0 0K 0K 166960K 49 0 proc 70 91K 128K 166960K 2054 0 subproc 104 6K 7K 166960K 767 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 225 0 in_multi 96 7K 7K 166960K 693 0 ether_multi 1 0K 0K 166960K 7 0 mrt 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 205 917K 917K 166960K 205 0 exec 0 0K 1K 166960K 1209 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 187 71K 91K 166960K 18187 0 UVM aobj 97 4K 4K 166960K 104 0 pinsyscall 36 72K 106K 166960K 4531 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 75 0 NDP 13 0K 2K 166960K 195 0 temp 77 6824K 6904K 166960K 52341 0 kqueue 16 22K 28K 166960K 224 0 SYN cache 2 8K 16K 166960K 3 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 327 0 324 4 3 1 3 0 8 0 rtentry 112 713 0 614 4 1 3 4 0 8 0 unpcb 144 1407 0 1389 13 12 1 6 0 8 0 syncache 336 7 0 7 5 4 1 1 0 8 1 tcpqe 32 2 0 2 2 1 1 1 0 8 1 tcpcb 808 459 0 454 12 10 2 5 0 8 0 arp 120 128 0 110 1 0 1 1 0 8 0 inpcb 336 2595 0 2587 52 47 5 18 0 8 3 nd6 136 187 0 163 1 0 1 1 0 8 0 pkpcb 40 9 0 9 6 6 0 1 0 8 0 kcovpl 48 59 0 51 1 0 1 1 0 8 0 ppxss 1168 10 0 10 6 6 0 1 0 8 0 pfstscr 40 4 0 4 3 3 0 1 0 8 0 pffrag 232 11 0 9 1 0 1 1 0 482 0 pffrnode 88 10 0 8 1 0 1 1 0 8 0 pffrent 40 59 0 57 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 8 0 5 1 0 1 1 0 8 0 pfanchor 1288 5 0 2 1 0 1 1 0 8 0 pftag 88 5 0 3 3 2 1 1 0 8 0 pfstitem 24 163 0 122 1 0 1 1 0 8 0 pfstkey 128 168 0 127 3 0 3 3 0 8 0 pfstate 376 166 0 125 7 2 5 7 0 8 0 pfrule 1344 56 0 30 3 0 3 3 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 2807 0 2390 39 11 28 29 0 8 1 art_table 32 2809 0 2390 4 0 4 4 0 8 0 art_node 16 711 0 622 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 8 1 0 1 1 0 8 0 semapl 112 36 0 26 1 0 1 1 0 8 0 shmpl 112 101 0 7 3 0 3 3 0 8 0 dirhash 1024 37 0 20 3 0 3 3 0 8 0 dino2pl 256 4068 0 2469 102 1 101 101 0 8 0 ffsino 272 4070 0 2471 108 0 108 108 0 8 0 nchpl 144 6204 0 5545 64 39 25 64 0 8 0 uvmvnodes 80 5602 0 0 115 0 115 115 0 8 0 vnodes 216 5602 0 0 312 0 312 312 0 8 0 namei 1024 26209 0 26208 3 2 1 1 0 8 0 percpumem 16 110 0 63 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 0 1 0 1 1 0 8 0 kstatmem 264 152 0 126 3 0 3 3 0 8 1 scsiplug 72 4 0 4 4 3 1 1 0 8 1 scxspl 216 38037 0 38036 15 14 1 8 1 8 0 plimitpl 152 353 0 336 1 0 1 1 0 8 0 sigapl 424 2340 0 2276 10 1 9 9 0 8 0 futexpl 64 19473 0 19472 5 4 1 1 0 8 0 knotepl 120 582 0 0 17 0 17 17 0 8 0 kqueuepl 216 618 0 607 11 10 1 5 0 8 0 pipepl 320 425 0 398 3 0 3 3 0 8 0 fdescpl 496 2301 0 2276 5 0 5 5 0 8 0 filepl 152 14560 0 14318 43 31 12 18 0 8 1 lockfpl 104 516 0 513 1 0 1 1 0 8 0 lockfspl 48 205 0 202 1 0 1 1 0 8 0 sessionpl 144 77 0 68 1 0 1 1 0 8 0 pgrppl 48 145 0 128 1 0 1 1 0 8 0 ucredpl 104 2259 0 2246 1 0 1 1 0 8 0 zombiepl 144 2280 0 2276 2 1 1 1 0 8 0 processpl 1160 2340 0 2276 6 0 6 6 0 8 0 procpl 648 4346 0 4280 11 3 8 8 0 8 0 srpgc 96 12 0 12 3 3 0 1 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 664 4352 0 4323 57 50 7 20 0 8 4 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 252 0 0 32 0 32 32 0 8 0 mtagpl 96 12 0 0 1 0 1 1 0 8 0 mbufpl 256 782 0 0 43 0 43 43 0 8 0 bufpl 280 9605 0 2583 502 0 502 502 0 8 0 anonpl 24 369078 0 365529 98 43 55 75 0 185 19 amapchunkpl 152 58135 0 57781 48 16 32 33 0 158 10 amappl16 200 7731 0 7712 57 55 2 15 0 8 0 amappl15 192 17 0 17 2 2 0 1 0 8 0 amappl14 184 229 0 217 1 0 1 1 0 8 0 amappl13 176 13 0 12 1 0 1 1 0 8 0 amappl12 168 3755 0 3730 3 1 2 2 0 8 0 amappl11 160 70 0 56 1 0 1 1 0 8 0 amappl10 152 18 0 17 2 1 1 1 0 8 0 amappl9 144 143 0 143 2 2 0 1 0 8 0 amappl8 136 33 0 29 1 0 1 1 0 8 0 amappl7 128 215 0 203 1 0 1 1 0 8 0 amappl6 120 674 0 673 1 0 1 1 0 8 0 amappl5 112 341 0 329 1 0 1 1 0 8 0 amappl4 104 477 0 455 1 0 1 1 0 8 0 amappl3 96 10341 0 10272 3 0 3 3 0 8 0 amappl2 88 2661 0 2586 2 0 2 2 0 8 0 amappl1 80 17091 0 16521 18 3 15 16 0 8 0 amappl 88 17343 0 17218 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 103 0 7 2 0 2 2 0 8 0 uaddrrnd 24 2301 0 2276 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2301 0 2276 1 0 1 1 0 8 0 vmmpekpl 168 20484 0 20430 4 0 4 4 0 8 0 vmmpepl 168 146498 0 144912 128 39 89 98 0 357 5 vmsppl 440 2300 0 2276 6 2 4 5 0 8 0 rwobjpl 56 47551 0 40958 101 7 94 94 0 8 0 pdppl 4096 4609 0 4552 174 99 75 85 0 8 18 pvpl 32 31026 0 0 250 0 250 250 0 265 0 pmappl 248 2300 0 2276 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 592 0 184 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff8348cff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83547358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83547358) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a101fa0,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83547358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83547358) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff80002a102170) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a102170) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b33f8cdd810, count: 6 ddb{0}> trace x86_ipi_db(ffffffff8348cff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83547358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83547358) at __mp_lock+0x192 sys/kern/kern_lock.c:144 intr_handler(ffff80002a101fa0,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff83547358) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83547358) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff80002a102170) at syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a102170) at syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b33f8cdd810, count: -9 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3cf3) at panic+0x1e5 sys/kern/subr_prf.c:198 ffs_inode_alloc(fffffd806dd78770,41ed,fffffd807f7d3820,ffff80002a0a6318) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a0a6380) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806bdd9eb0,ffff80002a0a64e0,ffff80002a0a6510,ffff80002a0a6410) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000fffed700,ffffff9c,7b7dbafe3690,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a0a6690) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6690) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b7dbafe3720, count: 7 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff830e3cf3) at panic+0x1e5 sys/kern/subr_prf.c:198 ffs_inode_alloc(fffffd806dd78770,41ed,fffffd807f7d3820,ffff80002a0a6318) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a0a6380) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806bdd9eb0,ffff80002a0a64e0,ffff80002a0a6510,ffff80002a0a6410) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000fffed700,ffffff9c,7b7dbafe3690,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a0a6690) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a6690) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b7dbafe3720, count: -8