panic: ffs_valloc: dup alloc Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *109003 83857 0 0x2 0 0K syz-executor 113359 5915 0 0x14000 0x200 1 reaper 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(fffffd806c4dc220,41ed,fffffd807f7d3888,ffff80002a130238) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a1302a0) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806ce7db30,ffff80002a130400,ffff80002a130430,ffff80002a130330) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000ffff6020,ffffff9c,79ef31462220,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a1305b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1305b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79ef314622b0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: ffs_valloc: dup alloc ddb{0}> 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(fffffd806c4dc220,41ed,fffffd807f7d3888,ffff80002a130238) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a1302a0) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806ce7db30,ffff80002a130400,ffff80002a130430,ffff80002a130330) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000ffff6020,ffffff9c,79ef31462220,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a1305b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1305b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79ef314622b0, count: -8 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002a12ffc0 rbx 0xffffffff8348dd87 cpu_info_full_primary+0x2d87 rdx 0 rcx 0xffff8000ffff6020 rax 0xffffffff8348cff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x2e346eb3877c4a26 r11 0xb1f10f80183d7707 r12 0xffffffff8348db88 cpu_info_full_primary+0x2b88 r13 0 r14 0 r15 0x1 rip 0xffffffff82535fb5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a12ffb0 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=109003 pid=83857 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=81, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff67b8,0xffff8000ffff62b8 process=0xffff8000ffff9230 user=0xffff80002a12b000, vmspace=0xfffffd806c989a68 estcpu=31, cpticks=0, pctcpu=0.1, user=0, sys=9, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 97554 168763 40273 0 3 0x80 nanoslp syz-executor 97554 339955 40273 0 3 0x4000080 fsleep syz-executor 97554 169643 40273 0 3 0x4000000 smrbar syz-executor 17647 472727 75973 0 3 0x80 nanoslp syz-executor 17647 143586 75973 0 3 0x4000080 dtread syz-executor 17647 90096 75973 0 3 0x4000080 fsleep syz-executor 17647 360931 75973 0 3 0x4000080 fsleep syz-executor 37927 296734 0 0 3 0x14280 nfsidl nfsio 29922 282244 0 0 3 0x14280 nfsidl nfsio 94385 368933 0 0 3 0x14280 nfsidl nfsio 8334 392268 0 0 3 0x14280 nfsidl nfsio 17329 497562 0 0 3 0x14280 nfsidl nfsio 21132 354304 0 0 3 0x14280 nfsidl nfsio 14592 312359 0 0 3 0x14280 nfsidl nfsio 43972 276105 0 0 3 0x14280 nfsidl nfsio 74399 409246 0 0 3 0x14280 nfsidl nfsio 66310 107694 0 0 3 0x14280 nfsidl nfsio 35133 237602 0 0 3 0x14280 nfsidl nfsio 47828 280319 0 0 3 0x14280 nfsidl nfsio 54869 306978 0 0 3 0x14280 nfsidl nfsio 26242 126133 0 0 3 0x14280 nfsidl nfsio 54590 487327 0 0 3 0x14280 nfsidl nfsio 24002 303884 0 0 3 0x14280 nfsidl nfsio 70094 299878 0 0 3 0x14280 nfsidl nfsio 79374 337229 0 0 3 0x14280 nfsidl nfsio 12431 427255 0 0 3 0x14280 nfsidl nfsio 28790 214551 0 0 3 0x14280 nfsidl nfsio 71234 183693 0 0 3 0x14200 bored sosplice 40273 60469 35195 0 3 0x82 nanoslp syz-executor *83857 109003 35195 0 7 0x2 syz-executor 83187 32286 35195 0 3 0x82 nanoslp syz-executor 75973 276102 35195 0 3 0x82 nanoslp syz-executor 95051 214158 35195 0 3 0x82 nanoslp syz-executor 51714 291543 35195 0 2 0x2 syz-executor 90288 140908 35195 0 3 0x82 wait syz-executor 35195 233306 88874 0 3 0x82 wait syz-executor 88874 167317 890 0 3 0x10008a sigsusp ksh 890 24621 86716 0 3 0x98 kqread sshd-session 86716 384915 60695 0 3 0x92 kqread sshd-session 64365 29239 1 0 3 0x100083 ttyin getty 60695 35589 1 0 3 0x88 kqread sshd 46054 255726 91681 74 3 0x1100092 bpf pflogd 91681 16552 1 0 3 0x80 sbwait pflogd 11621 468935 61340 73 3 0x1100090 kqread syslogd 61340 150332 1 0 3 0x100082 sbwait syslogd 13099 59540 1 0 3 0x100080 kqread resolvd 99260 135013 43544 77 3 0x100092 kqread dhcpleased 53766 397111 43544 77 3 0x100092 kqread dhcpleased 43544 139566 1 0 3 0x80 kqread dhcpleased 18032 266121 0 0 3 0x14200 bored smr 50401 284978 0 0 3 0x14200 pgzero zerothread 19238 453530 0 0 3 0x14200 aiodoned aiodoned 12490 380977 0 0 3 0x14200 syncer update 34406 153232 0 0 3 0x14200 cleaner cleaner 5915 113359 0 0 7 0x14200 reaper 23495 469140 0 0 3 0x14200 pgdaemon pagedaemon 87913 56942 0 0 3 0x14200 bored viomb 53088 117615 0 0 3 0x40014200 acpi0 acpi0 36917 301917 0 0 3 0x40014200 idle1 7580 492292 0 0 3 0x14200 bored softnet3 43425 58816 0 0 3 0x14200 bored softnet2 76842 378818 0 0 3 0x14200 bored softnet1 30464 393056 0 0 3 0x14200 bored softnet0 25086 56808 0 0 3 0x14200 bored systqmp 28180 173939 0 0 3 0x14200 bored systq 39169 385010 0 0 2 0x14200 softclockmp 1664 446892 0 0 2 0x40014200 softclock 55575 300172 0 0 3 0x40014200 idle0 1 509323 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 97554 (syz-executor) thread 0xffff80003539c538 (169643) exclusive rwlock clonelk r = 0 (0xffffffff834cda50) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 if_clone_destroy+0x67 #2 tun_dev_close+0x1ce sys/net/if_tun.c:521 #3 spec_close+0x412 #4 VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 #5 vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] #5 vn_closefile+0x12b sys/kern/vfs_vnops.c:609 #6 fdrop+0x126 sys/kern/kern_descrip.c:1274 #7 closef+0x192 sys/kern/kern_descrip.c:1258 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 83857 (syz-executor) thread 0xffff8000ffff6020 (109003) exclusive rrwlock inode r = 0 (0xfffffd806deb9818) #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 (0xfffffd806c4dc2b8) #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 Process 51714 (syz-executor) thread 0xffff800029fd9958 (291543) exclusive rrwlock inode r = 0 (0xfffffd80697304e8) #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 (0xfffffd8069730a38) #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 10173K 10362K 166960K 11798 0 pcb 17 12K 12K 166960K 69 0 rtable 221 6K 7K 166960K 393 0 pf 38 18K 18K 166960K 55 0 ifaddr 44 7K 7K 166960K 49 0 ifgroup 60 2K 2K 166960K 65 0 sysctl 0 0K 1K 166960K 1 0 counters 66 36K 36K 166960K 68 0 ioctlops 0 0K 4K 166960K 1509 0 iov 0 0K 16K 166960K 31 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1408 89K 89K 166960K 1641 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 14 49K 89K 166960K 409 0 sigio 0 0K 0K 166960K 10 0 proc 70 91K 128K 166960K 546 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 31 0 in_multi 96 7K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 115 519K 519K 166960K 115 0 exec 0 0K 1K 166960K 382 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 75K 77K 166960K 5442 0 UVM aobj 12 4K 4K 166960K 12 0 pinsyscall 39 78K 101K 166960K 1478 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 13 0 NDP 13 0K 2K 166960K 30 0 temp 45 6812K 6882K 166960K 9263 0 kqueue 14 22K 28K 166960K 76 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 48 0 45 1 0 1 1 0 8 0 rtentry 112 126 0 24 4 0 4 4 0 8 0 unpcb 144 240 0 209 2 0 2 2 0 8 0 syncache 336 4 0 4 3 2 1 1 0 8 1 tcpcb 808 96 0 90 2 0 2 2 0 8 1 arp 120 22 0 3 1 0 1 1 0 8 0 inpcb 336 348 0 336 2 0 2 2 0 8 1 nd6 136 29 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pffrag 232 18 0 17 1 0 1 1 0 482 0 pffrnode 88 18 0 17 1 0 1 1 0 8 0 pffrent 40 66 0 65 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 pfstitem 24 41 0 1 1 0 1 1 0 8 0 pfstkey 128 43 0 3 2 0 2 2 0 8 0 pfstate 376 42 0 2 4 0 4 4 0 8 0 pfrule 1344 24 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 517 0 71 30 0 30 30 0 8 1 art_table 32 518 0 71 4 0 4 4 0 8 0 art_node 16 125 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 28 0 11 3 0 3 3 0 8 0 dino2pl 256 2094 0 584 95 0 95 95 0 8 0 ffsino 272 2095 0 585 102 0 102 102 0 8 0 nchpl 144 2678 0 991 63 0 63 63 0 8 0 uvmvnodes 80 2350 0 0 48 0 48 48 0 8 0 vnodes 216 2350 0 0 131 0 131 131 0 8 0 namei 1024 8643 0 8642 2 1 1 2 0 8 0 percpumem 16 48 0 1 1 0 1 1 0 8 0 kstatmem 264 28 0 2 2 0 2 2 0 8 0 scxspl 216 7396 0 7396 3 2 1 2 1 8 1 plimitpl 152 68 0 50 1 0 1 1 0 8 0 sigapl 424 728 0 660 9 1 8 8 0 8 0 futexpl 64 4612 0 4609 1 0 1 1 0 8 0 knotepl 120 318 0 0 10 0 10 10 0 8 0 kqueuepl 216 170 0 160 5 0 5 5 0 8 4 pipepl 320 132 0 105 3 0 3 3 0 8 0 fdescpl 496 689 0 661 5 0 5 5 0 8 0 filepl 152 3614 0 3344 13 0 13 13 0 8 1 lockfpl 104 101 0 99 1 0 1 1 0 8 0 lockfspl 48 41 0 39 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 38 0 21 1 0 1 1 0 8 0 ucredpl 104 577 0 563 1 0 1 1 0 8 0 zombiepl 144 664 0 660 1 0 1 1 0 8 0 processpl 1160 728 0 660 6 0 6 6 0 8 0 procpl 648 1240 0 1167 9 1 8 8 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 648 0 603 6 0 6 6 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 264 0 0 33 0 33 33 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 579 0 0 36 0 36 36 0 8 0 bufpl 280 2566 0 99 177 0 177 177 0 8 0 anonpl 24 197492 0 188083 62 4 58 58 0 185 0 amapchunkpl 152 18312 0 17488 34 0 34 34 0 158 0 amappl16 200 5391 0 5324 10 3 7 7 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 122 0 110 1 0 1 1 0 8 0 amappl13 176 25 0 25 1 1 0 1 0 8 0 amappl12 168 1328 0 1299 3 1 2 2 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 138 0 138 1 1 0 1 0 8 0 amappl8 136 29 0 26 1 0 1 1 0 8 0 amappl7 128 107 0 95 1 0 1 1 0 8 0 amappl6 120 167 0 166 1 0 1 1 0 8 0 amappl5 112 138 0 126 1 0 1 1 0 8 0 amappl4 104 326 0 305 1 0 1 1 0 8 0 amappl3 96 3357 0 3257 3 0 3 3 0 8 0 amappl2 88 900 0 824 2 0 2 2 0 8 0 amappl1 80 8468 0 7888 14 1 13 14 0 8 0 amappl 88 5064 0 4886 5 0 5 5 0 92 0 dma4096 4096 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 8 0 8 2 1 1 1 0 8 1 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 689 0 661 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 689 0 661 1 0 1 1 0 8 0 vmmpekpl 168 6995 0 6951 3 0 3 3 0 8 0 vmmpepl 168 51526 0 49659 91 0 91 91 0 357 2 vmsppl 440 688 0 660 6 2 4 5 0 8 0 rwobjpl 56 21377 0 18016 49 1 48 48 0 8 0 pdppl 4096 1385 0 1320 99 28 71 83 0 8 6 pvpl 32 15973 0 0 130 1 129 129 0 265 0 pmappl 248 688 0 660 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 414 0 33 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> 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(fffffd806c4dc220,41ed,fffffd807f7d3888,ffff80002a130238) at ffs_inode_alloc+0x96c sys/ufs/ffs/ffs_alloc.c:404 ufs_mkdir(ffff80002a1302a0) at ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 VOP_MKDIR(fffffd806ce7db30,ffff80002a130400,ffff80002a130430,ffff80002a130330) at VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 domkdirat(ffff8000ffff6020,ffffff9c,79ef31462220,1ff) at domkdirat+0x179 sys/kern/vfs_syscalls.c:3099 syscall(ffff80002a1305b0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a1305b0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79ef314622b0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) 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 uvn_detach(fffffd80748d2160) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:310 uvm_unmap_detach(ffff800029fe5010,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806bfb7c10) at uvm_map_teardown+0x35e sys/uvm/uvm_map.c:2518 uvmspace_free(fffffd806bfb7c10) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd8f38) at reaper+0x246 sys/kern/kern_exit.c:480 end trace frame: 0x0, count: 6 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) 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 uvn_detach(fffffd80748d2160) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:310 uvm_unmap_detach(ffff800029fe5010,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806bfb7c10) at uvm_map_teardown+0x35e sys/uvm/uvm_map.c:2518 uvmspace_free(fffffd806bfb7c10) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd8f38) at reaper+0x246 sys/kern/kern_exit.c:480 end trace frame: 0x0, count: -9