panic: bad dir Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 355979 46775 0 0 0 0 syz-executor * 53883 8481 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8302e260) at panic+0x1e5 sys/kern/subr_prf.c:198 ufs_dirbadentry(ffff8000371d87f8,ffff8000371d87f8,312d1f07c48fb2ab) at ufs_dirbadentry VOP_LOOKUP(fffffd805feaf570,ffff8000371d8b98,ffff8000371d8bc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d8b68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d8b68) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d8b68,70f,0) at vn_open+0x1f4 sys/kern/vfs_vnops.c:107 doopenat(ffff8000ffff2cc8,ffffff9c,20000040,70e,0,ffff8000371d8d10) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d8dc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8dc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2da7a639b80, count: 5 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: bad dir ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8302e260) at panic+0x1e5 sys/kern/subr_prf.c:198 ufs_dirbadentry(ffff8000371d87f8,ffff8000371d87f8,312d1f07c48fb2ab) at ufs_dirbadentry VOP_LOOKUP(fffffd805feaf570,ffff8000371d8b98,ffff8000371d8bc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d8b68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d8b68) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d8b68,70f,0) at vn_open+0x1f4 sys/kern/vfs_vnops.c:107 doopenat(ffff8000ffff2cc8,ffffff9c,20000040,70e,0,ffff8000371d8d10) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d8dc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8dc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2da7a639b80, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000371d8620 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000ffff2cc8 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x80dd30b54812f67e r11 0xf79e96ac889fa363 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff823851f5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000371d8610 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=53883 pid=8481 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff2530,0xffff8000ffff3c08 process=0xffff800035396d70 user=0xffff8000371d3000, vmspace=0xfffffd806bfb6c60 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46775 355979 10806 0 7 0 syz-executor 46775 375506 10806 0 2 0x4000080 syz-executor 8481 296942 1720 0 2 0 syz-executor * 8481 53883 1720 0 7 0x4000000 syz-executor 17847 947 27841 0 3 0x80 nanoslp syz-executor 17847 99604 27841 0 3 0x4000080 kqread syz-executor 17847 7673 27841 0 3 0x4000080 kqread syz-executor 17847 433672 27841 0 3 0x4000080 fsleep syz-executor 92169 143443 90142 60929 3 0x90 nanoslp syz-executor 92169 292937 90142 60929 3 0x4000090 msgwait syz-executor 92169 211375 90142 60929 3 0x4000090 fsleep syz-executor 59557 475893 90443 0 3 0x80 nanoslp syz-executor 59557 482514 90443 0 3 0x4000080 fsleep syz-executor 59557 217181 90443 0 3 0x4000080 kqread syz-executor 92381 416210 91520 60928 3 0x3010 suspend syz-executor 92381 102266 91520 60928 3 0x4081010 biowait syz-executor 92381 434421 91520 60928 3 0x4081010 inode syz-executor 93698 60419 0 0 3 0x14200 bored sosplice 50508 376619 9998 0 3 0x100082 sbwait arp 9998 6890 19619 0 3 0x10008a sigsusp sh 27841 102735 28489 0 3 0x82 nanoslp syz-executor 10806 517777 28489 0 3 0x82 nanoslp syz-executor 19619 250578 28489 0 3 0x82 wait syz-executor 90142 40384 28489 0 3 0x82 nanoslp syz-executor 91520 373457 28489 0 3 0x82 nanoslp syz-executor 1720 424125 28489 0 3 0x82 nanoslp syz-executor 90443 368615 28489 0 3 0x82 nanoslp syz-executor 28489 134876 93921 0 3 0x82 wait syz-executor 93921 365412 40914 0 3 0x10008a sigsusp ksh 40914 108976 97222 0 3 0x98 kqread sshd-session 97222 292480 50647 0 3 0x92 kqread sshd-session 43812 436808 1 0 3 0x100083 ttyin getty 50647 469256 1 0 3 0x88 kqread sshd 75713 470013 47021 74 3 0x1100092 bpf pflogd 47021 37007 1 0 3 0x80 sbwait pflogd 30216 51126 36075 73 3 0x1100090 kqread syslogd 36075 355596 1 0 3 0x100082 sbwait syslogd 38804 219781 1 0 3 0x100080 kqread resolvd 1125 286417 63307 77 3 0x100092 kqread dhcpleased 3087 318050 63307 77 3 0x100092 kqread dhcpleased 63307 466464 1 0 3 0x80 kqread dhcpleased 80478 412058 0 0 3 0x14200 bored smr 44546 444366 0 0 3 0x14200 pgzero zerothread 85769 80377 0 0 3 0x14200 aiodoned aiodoned 925 315711 0 0 3 0x14200 syncer update 92207 21768 0 0 3 0x14200 cleaner cleaner 68425 159888 0 0 3 0x14200 reaper reaper 41901 447777 0 0 3 0x14200 pgdaemon pagedaemon 29404 346236 0 0 3 0x14200 bored viomb 37473 68215 0 0 3 0x40014200 acpi0 acpi0 6645 325849 0 0 3 0x40014200 idle1 80604 35372 0 0 3 0x14200 bored softnet3 17023 5232 0 0 3 0x14200 bored softnet2 81846 452441 0 0 3 0x14200 bored softnet1 80849 418678 0 0 3 0x14200 bored softnet0 22939 470310 0 0 3 0x14200 bored systqmp 87982 110269 0 0 3 0x14200 bored systq 98601 307453 0 0 3 0x14200 tmoslp softclockmp 30101 487704 0 0 3 0x40014200 tmoslp softclock 26164 122303 0 0 3 0x40014200 idle0 1 159430 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 8481 (syz-executor) thread 0xffff8000ffff2cc8 (53883) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8358f6c8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 __mp_acquire_count+0x58 #2 mi_switch+0x4b7 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x2f2 sys/kern/kern_synch.c:425 #4 biowait+0xc1 sys/kern/vfs_bio.c:1246 #5 ffs_bufatoff+0x16f sys/ufs/ffs/ffs_subr.c:71 #6 ufs_lookup+0x548 sys/ufs/ufs/ufs_lookup.c:256 #7 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #8 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #9 namei+0x7aa sys/kern/vfs_lookup.c:250 #10 vn_open+0x1f4 sys/kern/vfs_vnops.c:107 #11 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #12 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #12 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806bf375f0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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 vn_open+0x1f4 sys/kern/vfs_vnops.c:107 #8 doopenat+0x31d sys/kern/vfs_syscalls.c:1123 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 Process 92381 (syz-executor) thread 0xffff8000ffff27b8 (102266) exclusive rrwlock inode r = 0 (0xfffffd806bf37b40) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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 vn_write+0x18d sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x23c sys/kern/sys_generic.c:380 #7 sys_write+0xa2 sys/kern/sys_generic.c:300 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 11197K 11318K 166960K 11391 0 pcb 20 12K 12K 166960K 47 0 rtable 198 7K 7K 166960K 373 0 pf 38 18K 18K 166960K 49 0 ifaddr 40 6K 7K 166960K 47 0 ifgroup 59 2K 2K 166960K 59 0 sysctl 1 0K 0K 166960K 1 0 counters 66 36K 36K 166960K 66 0 ioctlops 0 0K 4K 166960K 1493 0 iov 0 0K 4K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 86K 166960K 1447 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 18 65K 93K 166960K 222 0 sigio 0 0K 0K 166960K 2 0 proc 72 91K 128K 166960K 532 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 11 0 in_multi 81 6K 6K 166960K 105 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 383 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 246 73K 81K 166960K 3705 0 UVM aobj 13 2K 2K 166960K 15 0 pinsyscall 44 88K 106K 166960K 1327 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 6 0 NDP 14 0K 1K 166960K 28 0 temp 34 6814K 6882K 166960K 5082 0 kqueue 14 22K 30K 166960K 39 0 SYN cache 2 16K 16K 166960K 2 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 50 0 45 1 0 1 1 0 8 0 rtentry 112 114 0 25 3 0 3 3 0 8 0 unpcb 144 97 0 75 3 1 2 2 0 8 0 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 808 41 0 34 1 0 1 1 0 8 0 arp 120 18 0 3 1 0 1 1 0 8 0 inpcb 336 168 0 151 2 0 2 2 0 8 0 nd6 136 22 0 6 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 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 28 0 0 1 0 1 1 0 8 0 pfstkey 128 28 0 0 1 0 1 1 0 8 0 pfstate 376 27 0 0 3 0 3 3 0 8 0 pfrule 1344 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 443 0 86 26 2 24 26 0 8 0 art_table 32 445 0 86 4 0 4 4 0 8 0 art_node 16 110 0 29 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 12 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1720 0 214 95 0 95 95 0 8 0 ffsino 272 1720 0 214 101 0 101 101 0 8 0 nchpl 144 2027 0 341 63 0 63 63 0 8 0 uvmvnodes 80 1876 0 0 39 0 39 39 0 8 0 vnodes 216 1876 0 0 105 0 105 105 0 8 0 namei 1024 6207 0 6206 3 2 1 2 0 8 0 percpumem 16 47 0 0 1 0 1 1 0 8 0 kstatmem 264 26 0 0 2 0 2 2 0 8 0 scxspl 216 6834 0 6833 3 2 1 2 1 8 0 plimitpl 152 105 0 87 1 0 1 1 0 8 0 sigapl 424 534 0 483 7 0 7 7 0 8 0 futexpl 64 1658 0 1655 1 0 1 1 0 8 0 knotepl 120 340 0 0 11 0 11 11 0 8 0 kqueuepl 216 105 0 92 5 4 1 5 0 8 0 pipepl 320 119 0 92 3 0 3 3 0 8 0 fdescpl 496 515 0 483 5 0 5 5 0 8 0 filepl 152 2060 0 1790 14 2 12 13 0 8 1 lockfpl 104 38 0 34 1 0 1 1 0 8 0 lockfspl 48 20 0 16 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 127 0 112 1 0 1 1 0 8 0 zombiepl 144 485 0 483 2 1 1 1 0 8 0 processpl 1160 534 0 483 5 1 4 5 0 8 0 procpl 648 690 0 628 6 0 6 6 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 664 317 0 273 5 0 5 5 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 129 0 0 17 0 17 17 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 185 0 0 12 0 12 12 0 8 0 bufpl 280 2905 0 98 201 0 201 201 0 8 0 anonpl 24 136932 0 132094 40 4 36 36 0 185 6 amapchunkpl 152 11718 0 11199 27 0 27 27 0 158 4 amappl16 200 3330 0 3227 10 4 6 6 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 119 0 106 1 0 1 1 0 8 0 amappl13 176 23 0 23 1 1 0 1 0 8 0 amappl12 168 1188 0 1155 4 1 3 3 0 8 0 amappl11 160 61 0 47 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 1 0 1 0 8 0 amappl9 144 175 0 175 1 1 0 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 108 0 95 1 0 1 1 0 8 0 amappl6 120 178 0 176 1 0 1 1 0 8 0 amappl5 112 138 0 125 1 0 1 1 0 8 0 amappl4 104 317 0 297 1 0 1 1 0 8 0 amappl3 96 2104 0 2000 3 0 3 3 0 8 0 amappl2 88 787 0 703 3 0 3 3 0 8 0 amappl1 80 8117 0 7522 14 0 14 14 0 8 0 amappl 88 3319 0 3139 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 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 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 515 0 483 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 515 0 483 1 0 1 1 0 8 0 vmmpekpl 168 5738 0 5696 3 0 3 3 0 8 0 vmmpepl 168 39583 0 37605 92 0 92 92 0 357 2 vmsppl 448 514 0 483 6 1 5 5 0 8 0 rwobjpl 56 16946 0 13995 43 1 42 42 0 8 0 pdppl 4096 1037 0 966 103 28 75 85 0 8 4 pvpl 32 13696 0 0 112 1 111 111 0 265 0 pmappl 248 514 0 483 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 382 0 36 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83504ff0) 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(ffffffff8358f4c0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8358f4c0) at __mp_lock+0x199 sys/kern/kern_lock.c:144 intr_handler(ffff800037208350,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7987a069be20, count: 9 ddb{0}> trace x86_ipi_db(ffffffff83504ff0) 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(ffffffff8358f4c0) at __mp_lock+0x199 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8358f4c0) at __mp_lock+0x199 sys/kern/kern_lock.c:144 intr_handler(ffff800037208350,ffff800000079f80) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:553 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f end of kernel end trace frame: 0x7987a069be20, count: -6 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(ffffffff8302e260) at panic+0x1e5 sys/kern/subr_prf.c:198 ufs_dirbadentry(ffff8000371d87f8,ffff8000371d87f8,312d1f07c48fb2ab) at ufs_dirbadentry VOP_LOOKUP(fffffd805feaf570,ffff8000371d8b98,ffff8000371d8bc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d8b68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d8b68) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d8b68,70f,0) at vn_open+0x1f4 sys/kern/vfs_vnops.c:107 doopenat(ffff8000ffff2cc8,ffffff9c,20000040,70e,0,ffff8000371d8d10) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d8dc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8dc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2da7a639b80, count: 5 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8302e260) at panic+0x1e5 sys/kern/subr_prf.c:198 ufs_dirbadentry(ffff8000371d87f8,ffff8000371d87f8,312d1f07c48fb2ab) at ufs_dirbadentry VOP_LOOKUP(fffffd805feaf570,ffff8000371d8b98,ffff8000371d8bc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000371d8b68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff8000371d8b68) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff8000371d8b68,70f,0) at vn_open+0x1f4 sys/kern/vfs_vnops.c:107 doopenat(ffff8000ffff2cc8,ffffff9c,20000040,70e,0,ffff8000371d8d10) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371d8dc0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371d8dc0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2da7a639b80, count: -10