panic: ufs_rename: lost dir entry Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 13791 71838 0 0 0x4000000 0 syz-executor1040522027 * 98258 73618 0 0 0x4000000 1K syz-executor1040522027 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827b3c40) at panic+0x17b sys/kern/subr_prf.c:198 ufs_rename(ffff8000212ad758) at ufs_rename+0x15b1 sys/ufs/ufs/ufs_vnops.c:908 VOP_RENAME(fffffd806f17ec00,fffffd806d58f370,ffff8000212ad928,fffffd806f17ec00,0,ffff8000212ad878) at VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 dorenameat(ffff8000211ea848,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 syscall(ffff8000212adac0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212adac0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec509a3c70, count: 8 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: ufs_rename: lost dir entry ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827b3c40) at panic+0x17b sys/kern/subr_prf.c:198 ufs_rename(ffff8000212ad758) at ufs_rename+0x15b1 sys/ufs/ufs/ufs_vnops.c:908 VOP_RENAME(fffffd806f17ec00,fffffd806d58f370,ffff8000212ad928,fffffd806f17ec00,0,ffff8000212ad878) at VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 dorenameat(ffff8000211ea848,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 syscall(ffff8000212adac0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212adac0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec509a3c70, count: -7 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000212ad4e0 rbx 0xffff800020d59b9f rdx 0x3fd rcx 0 rax 0x22 r8 0x101010101010101 r9 0x8080808080808080 r10 0x46c1ea24a4700292 r11 0xddb6d89a9397b3b8 r12 0xffff800020d599a0 r13 0 r14 0 r15 0x1 rip 0xffffffff8227e57c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff8000212ad4d0 ss 0 db_enter+0x1c: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor1040522027) pid=98258 stat=onproc flags process=0 proc=4000000 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000211eab00,0xffff8000211ea5a0 process=0xffff8000ffff8008 user=0xffff8000212a8000, vmspace=0xfffffd806d82faf8 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 42496 272904 59733 0 2 0 syz-executor1040522027 42496 351746 59733 0 2 0x4000000 syz-executor1040522027 42496 494548 59733 0 2 0x4000000 syz-executor1040522027 42496 90645 59733 0 2 0x4000000 syz-executor1040522027 71838 155326 56823 0 2 0 syz-executor1040522027 71838 13791 56823 0 7 0x4000000 syz-executor1040522027 71838 386698 56823 0 2 0x4000000 syz-executor1040522027 31966 504696 2791 0 2 0 syz-executor1040522027 31966 363094 2791 0 2 0x4000000 syz-executor1040522027 31966 210077 2791 0 2 0x4000000 syz-executor1040522027 31966 247138 2791 0 2 0x4000000 syz-executor1040522027 63100 153192 53821 0 2 0 syz-executor1040522027 63100 247682 53821 0 2 0x4000000 syz-executor1040522027 63100 421811 53821 0 2 0x4000000 syz-executor1040522027 48181 300695 28485 0 2 0 syz-executor1040522027 48181 332085 28485 0 3 0x4000080 fsleep syz-executor1040522027 48181 144667 28485 0 2 0x4000000 syz-executor1040522027 73618 226086 59877 0 2 0 syz-executor1040522027 *73618 98258 59877 0 7 0x4000000 syz-executor1040522027 73618 175146 59877 0 2 0x4000000 syz-executor1040522027 51883 44481 5667 0 2 0 syz-executor1040522027 51883 354117 5667 0 2 0x4000000 syz-executor1040522027 51883 248739 5667 0 2 0x4000000 syz-executor1040522027 51883 374465 5667 0 2 0x4000000 syz-executor1040522027 59733 272976 10571 0 3 0x80 nanoslp syz-executor1040522027 56823 21123 10571 0 3 0x80 nanoslp syz-executor1040522027 2791 284473 10571 0 3 0x80 nanoslp syz-executor1040522027 53821 515488 10571 0 3 0x80 nanoslp syz-executor1040522027 5667 105104 10571 0 3 0x80 nanoslp syz-executor1040522027 28485 121449 10571 0 3 0x80 nanoslp syz-executor1040522027 70049 106345 34914 0 3 0x80 nanoslp syz-executor1040522027 70049 291553 34914 0 2 0x4000000 syz-executor1040522027 70049 435925 34914 0 3 0x4000080 fsleep syz-executor1040522027 70049 370681 34914 0 3 0x4000080 fsleep syz-executor1040522027 59877 476266 10571 0 3 0x80 nanoslp syz-executor1040522027 34914 371281 10571 0 3 0x80 nanoslp syz-executor1040522027 10571 190318 33561 0 3 0x82 nanoslp syz-executor1040522027 33561 84035 32796 0 3 0x10008a sigsusp ksh 32796 113101 15147 0 3 0x9a kqread sshd 37458 167945 1 0 3 0x100083 ttyin getty 15147 376013 1 0 3 0x88 kqread sshd 37868 482824 82969 74 3 0x1100092 bpf pflogd 82969 198357 1 0 3 0x80 netio pflogd 6245 284031 33140 73 3 0x1100090 kqread syslogd 33140 119182 1 0 3 0x100082 netio syslogd 12599 356459 1 0 3 0x100080 kqread resolvd 61470 464424 24962 77 3 0x100092 kqread dhcpleased 21483 396966 24962 77 3 0x100092 kqread dhcpleased 24962 199673 1 0 3 0x80 kqread dhcpleased 90658 79629 0 0 3 0x14200 bored smr 49433 232060 0 0 2 0x14200 zerothread 97163 519372 0 0 3 0x14200 aiodoned aiodoned 55346 349281 0 0 3 0x14200 syncer update 44130 499190 0 0 3 0x14200 cleaner cleaner 30546 55962 0 0 3 0x14200 reaper reaper 20447 411590 0 0 3 0x14200 pgdaemon pagedaemon 87627 300432 0 0 3 0x14200 bored viomb 66290 127447 0 0 3 0x40014200 acpi0 acpi0 73373 490349 0 0 3 0x40014200 idle1 86752 510287 0 0 3 0x14200 bored softnet3 42095 313412 0 0 3 0x14200 bored softnet2 24546 404155 0 0 3 0x14200 bored softnet1 16905 306761 0 0 3 0x14200 bored softnet0 50651 38873 0 0 3 0x14200 bored systqmp 82652 112743 0 0 3 0x14200 bored systq 16621 119603 0 0 3 0x40014200 bored softclock 33382 206823 0 0 3 0x40014200 idle0 1 27157 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 31966 (syz-executor1040522027) thread 0xffff80002122d8a0 (247138) exclusive rwlock vmmaplk r = 0 (0xfffffd806d82f110) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0xfa sys/uvm/uvm_map.c:5345 #3 uvmfault_lookup+0xb6 sys/uvm/uvm_fault.c:1767 #4 uvm_fault_check+0x65d uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #4 uvm_fault_check+0x65d sys/uvm/uvm_fault.c:711 #5 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #6 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 Process 63100 (syz-executor1040522027) thread 0xffff80002132f8a8 (421811) exclusive rwlock vmmaplk r = 0 (0xfffffd806d82f4b0) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0xfa sys/uvm/uvm_map.c:5345 #3 uvmfault_lookup+0xb6 sys/uvm/uvm_fault.c:1767 #4 uvm_fault_check+0x65d uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #4 uvm_fault_check+0x65d sys/uvm/uvm_fault.c:711 #5 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #6 upageflttrap+0x86 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x226 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 Process 73618 (syz-executor1040522027) thread 0xffff8000211ea848 (98258) exclusive rrwlock inode r = 0 (0xfffffd806c15bf78) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vget+0x200 sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1314 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 #10 vfs_relookup+0xb4 sys/kern/vfs_lookup.c:787 #11 ufs_rename+0x13c4 sys/ufs/ufs/ufs_vnops.c:1042 #12 VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 #13 dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 #14 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #14 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #15 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f311098) #0 witness_lock+0x447 #1 rw_enter+0x3c8 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x8c sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_relookup+0x57 sys/kern/vfs_lookup.c:778 #6 ufs_rename+0x13c4 sys/ufs/ufs/ufs_vnops.c:1042 #7 VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 #8 dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 #9 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #9 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d6e990) #0 witness_lock+0x447 #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x4c6 sys/kern/sched_bsd.c:470 #3 sleep_finish+0x19b sys/kern/kern_synch.c:414 #4 biowait+0x91 sys/kern/vfs_bio.c:1278 #5 bwrite+0x21c sys/kern/vfs_bio.c:769 #6 VOP_BWRITE+0x4e sys/kern/vfs_vops.c:640 #7 ufs_direnter+0x90a sys/ufs/ufs/ufs_lookup.c:909 #8 ufs_rename+0xb70 sys/ufs/ufs/ufs_vnops.c:936 #9 VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 #10 dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 #11 syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] #11 syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 #12 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10159 6455K 6456K 78643K 11237 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 114 0 pf 15 6K 10K 78643K 26 0 ifaddr 13 9K 9K 78643K 13 0 ifgroup 22 1K 1K 78643K 22 0 counters 44 33K 33K 78643K 44 0 ioctlops 0 0K 4K 78643K 1475 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1176 74K 74K 78643K 1192 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 67 91K 91K 78643K 302 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 270 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 165 7K 7K 78643K 2579 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 4 0 temp 1 5904K 5968K 78643K 3112 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 20 0 17 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 1 1 0 1 0 8 0 tcpqe 32 157 0 157 1 1 0 1 0 8 0 tcpcb 808 8 0 5 1 0 1 1 0 8 0 arp 120 2 0 0 1 0 1 1 0 8 0 inpcb 368 33 0 27 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 9 0 0 1 0 1 1 0 8 0 pfstkey 128 9 0 0 1 0 1 1 0 8 0 pfstate 376 9 0 0 1 0 1 1 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 97 0 0 7 0 7 7 0 8 0 art_table 32 98 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1437 0 40 88 0 88 88 0 8 0 ffsino 272 1437 0 40 94 0 94 94 0 8 0 nchpl 144 1621 0 55 59 0 59 59 0 8 0 uvmvnodes 80 1451 0 0 30 0 30 30 0 8 0 vnodes 216 1451 0 0 81 0 81 81 0 8 0 namei 1024 4749 0 4731 6 1 5 5 0 8 2 percpumem 16 35 0 0 1 0 1 1 0 8 0 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 4994 0 4994 3 2 1 2 1 8 1 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 424 354 0 306 7 1 6 6 0 8 0 futexpl 64 12 0 9 1 0 1 1 0 8 0 knotepl 120 43 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 94 0 91 1 0 1 1 0 8 0 fdescpl 496 337 0 306 4 0 4 4 0 8 0 filepl 152 1275 0 1217 3 0 3 3 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 104 71 0 59 1 0 1 1 0 8 0 zombiepl 144 306 0 306 1 1 0 1 0 8 0 processpl 1072 354 0 306 4 0 4 4 0 8 0 procpl 696 374 0 306 7 0 7 7 0 8 0 sockpl 488 88 0 64 4 0 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 288 0 0 36 0 36 36 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 302 0 0 19 0 19 19 0 8 0 bufpl 288 2571 0 86 178 0 178 178 0 8 0 anonpl 24 196222 0 193796 27 12 15 25 0 186 0 amapchunkpl 152 9218 0 8897 14 1 13 13 0 158 0 amappl16 200 5745 0 5737 5 4 1 5 0 8 0 amappl15 192 16 0 15 1 0 1 1 0 8 0 amappl14 184 112 0 101 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 876 0 854 2 1 1 2 0 8 0 amappl11 160 58 0 44 1 0 1 1 0 8 0 amappl10 152 87 0 87 1 1 0 1 0 8 0 amappl9 144 206 0 206 1 1 0 1 0 8 0 amappl8 136 36 0 34 1 0 1 1 0 8 0 amappl7 128 34 0 16 1 0 1 1 0 8 0 amappl6 120 156 0 141 1 0 1 1 0 8 0 amappl5 112 121 0 110 1 0 1 1 0 8 0 amappl4 104 475 0 441 1 0 1 1 0 8 0 amappl3 96 2258 0 2197 3 1 2 2 0 8 0 amappl2 88 509 0 452 2 0 2 2 0 8 0 amappl1 80 9502 0 8984 12 0 12 12 0 8 0 amappl 88 2274 0 2156 3 0 3 3 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 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 337 0 306 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 337 0 306 1 0 1 1 0 8 0 vmmpekpl 168 7275 0 7248 2 0 2 2 0 8 0 vmmpepl 168 36559 0 35094 65 1 64 64 0 357 0 vmsppl 464 336 0 306 4 0 4 4 0 8 0 rwobjpl 56 19952 0 17695 34 2 32 33 0 8 0 pdppl 4096 682 0 612 90 20 70 70 0 8 0 pvpl 32 299839 0 294060 60 13 47 57 0 265 0 pmappl 248 336 0 306 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 529 0 23 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffffffff82bd0ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82d6e788) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6e788) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82d6e788,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x4c6 sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19b sys/kern/kern_synch.c:414 rw_enter(fffffd806f311088,1) at rw_enter+0x341 sys/kern/kern_rwlock.c:285 rrw_enter(fffffd806f311088,1) at rrw_enter+0x8c sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806f17ec00,2001) at VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 vn_lock(fffffd806f17ec00,2001) at vn_lock+0x84 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff8000212f5ac0) at vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 namei(ffff8000212f5ac0) at namei+0x55a sys/kern/vfs_lookup.c:250 domkdirat(ffff80002122c598,ffffff9c,20000000,0) at domkdirat+0x79 sys/kern/vfs_syscalls.c:3058 end trace frame: 0xffff8000212f5c90, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82bd0ff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff82d6e788) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82d6e788) at __mp_lock+0x122 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82d6e788,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x4c6 sys/kern/sched_bsd.c:470 sleep_finish(0,1) at sleep_finish+0x19b sys/kern/kern_synch.c:414 rw_enter(fffffd806f311088,1) at rw_enter+0x341 sys/kern/kern_rwlock.c:285 rrw_enter(fffffd806f311088,1) at rrw_enter+0x8c sys/kern/kern_rwlock.c:464 VOP_LOCK(fffffd806f17ec00,2001) at VOP_LOCK+0x8b sys/kern/vfs_vops.c:518 vn_lock(fffffd806f17ec00,2001) at vn_lock+0x84 sys/kern/vfs_vnops.c:564 vfs_lookup(ffff8000212f5ac0) at vfs_lookup+0xd5 sys/kern/vfs_lookup.c:418 namei(ffff8000212f5ac0) at namei+0x55a sys/kern/vfs_lookup.c:250 domkdirat(ffff80002122c598,ffffff9c,20000000,0) at domkdirat+0x79 sys/kern/vfs_syscalls.c:3058 syscall(ffff8000212f5ca0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212f5ca0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec36119200, count: -16 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x1c: addq $0x8,%rsp db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827b3c40) at panic+0x17b sys/kern/subr_prf.c:198 ufs_rename(ffff8000212ad758) at ufs_rename+0x15b1 sys/ufs/ufs/ufs_vnops.c:908 VOP_RENAME(fffffd806f17ec00,fffffd806d58f370,ffff8000212ad928,fffffd806f17ec00,0,ffff8000212ad878) at VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 dorenameat(ffff8000211ea848,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 syscall(ffff8000212adac0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212adac0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec509a3c70, count: 8 ddb{1}> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827b3c40) at panic+0x17b sys/kern/subr_prf.c:198 ufs_rename(ffff8000212ad758) at ufs_rename+0x15b1 sys/ufs/ufs/ufs_vnops.c:908 VOP_RENAME(fffffd806f17ec00,fffffd806d58f370,ffff8000212ad928,fffffd806f17ec00,0,ffff8000212ad878) at VOP_RENAME+0xf4 sys/kern/vfs_vops.c:370 dorenameat(ffff8000211ea848,ffffff9c,200005c0,ffffff9c,20000800) at dorenameat+0x2a0 sys/kern/vfs_syscalls.c:2994 syscall(ffff8000212adac0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff8000212adac0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaec509a3c70, count: -7 ddb{1}>