panic: bad dir Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 353411 20879 0 0 0 0 syz-executor * 83196 15512 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(ffff80003719fa58,ffff80003719fa58,8f4aa957a727c9e) at ufs_dirbadentry VOP_LOOKUP(fffffd805f341710,ffff80003719fdf8,ffff80003719fe28) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003719fdc8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80003719fdc8) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80003719fdc8,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff5978,ffffff9c,20000080,0,0,ffff80003719ff70) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371a0020) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371a0020) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf496ab470b0, 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(ffff80003719fa58,ffff80003719fa58,8f4aa957a727c9e) at ufs_dirbadentry VOP_LOOKUP(fffffd805f341710,ffff80003719fdf8,ffff80003719fe28) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003719fdc8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80003719fdc8) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80003719fdc8,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff5978,ffffff9c,20000080,0,0,ffff80003719ff70) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371a0020) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371a0020) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf496ab470b0, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003719f880 rbx 0xffff800029b7cdbf rdx 0 rcx 0xffff8000ffff5978 rax 0xffff800029b7bff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa1bf89a2e2388311 r11 0x6a169ea7ac2f6417 r12 0xffff800029b7cbc0 r13 0 r14 0 r15 0x1 rip 0xffffffff823851f5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003719f870 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=83196 pid=15512 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=82, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff5c00,0xffff8000ffff5478 process=0xffff8000fffec4a8 user=0xffff80003719b000, vmspace=0xfffffd8066e08c68 estcpu=32, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80602 416792 48018 0 3 0x2 biowait syz-executor 58786 394676 98859 0 2 0 syz-executor 58786 168041 98859 0 3 0x4000080 fsleep syz-executor 98538 177614 79236 0 2 0 syz-executor 98538 302725 79236 0 3 0x4000080 fsleep syz-executor 62897 447481 41055 0 2 0 syz-executor 62897 297722 41055 0 3 0x4000080 fsleep syz-executor 62897 30548 41055 0 2 0x4000000 syz-executor 20879 353411 80499 0 7 0 syz-executor 20879 408512 80499 0 2 0x4000000 syz-executor 25608 275693 87797 0 2 0 syz-executor 25608 418459 87797 0 3 0x4000080 fsleep syz-executor 25608 310117 87797 0 2 0x4000000 syz-executor 15512 236874 66143 0 2 0 syz-executor *15512 83196 66143 0 7 0x4000000 syz-executor 15512 271470 66143 0 3 0x4000080 fsleep syz-executor 85866 382835 0 0 3 0x14200 acct acct 50182 351081 0 0 3 0x14200 bored sosplice 87797 320439 48018 0 3 0x82 nanoslp syz-executor 80499 185022 48018 0 3 0x82 nanoslp syz-executor 66143 126830 48018 0 3 0x82 nanoslp syz-executor 98859 92814 48018 0 3 0x82 nanoslp syz-executor 41055 269050 48018 0 3 0x82 nanoslp syz-executor 79236 112853 48018 0 3 0x82 nanoslp syz-executor 14484 170474 48018 0 3 0x82 wait syz-executor 48018 443265 43082 0 3 0x82 kqread syz-executor 43082 45497 49437 0 3 0x10008a sigsusp ksh 49437 75861 3205 0 3 0x98 kqread sshd-session 3205 125971 93877 0 3 0x92 kqread sshd-session 2316 280718 1 0 3 0x100083 ttyin getty 93877 277739 1 0 3 0x88 kqread sshd 64805 518488 54583 74 3 0x1100092 bpf pflogd 54583 294078 1 0 3 0x80 sbwait pflogd 29776 202499 20461 73 3 0x1100090 kqread syslogd 20461 179746 1 0 3 0x100082 sbwait syslogd 93491 246583 1 0 3 0x100080 kqread resolvd 83768 350697 59625 77 3 0x100092 kqread dhcpleased 88272 78427 59625 77 3 0x100092 kqread dhcpleased 59625 64942 1 0 3 0x80 kqread dhcpleased 22503 62309 0 0 3 0x14200 bored smr 56894 325960 0 0 2 0x14200 zerothread 73824 452912 0 0 3 0x14200 aiodoned aiodoned 8301 169716 0 0 3 0x14200 syncer update 20321 250000 0 0 3 0x14200 cleaner cleaner 1288 458317 0 0 3 0x14200 reaper reaper 56096 303286 0 0 3 0x14200 pgdaemon pagedaemon 29727 104272 0 0 3 0x14200 bored viomb 52461 244470 0 0 3 0x40014200 acpi0 acpi0 66901 228122 0 0 3 0x40014200 idle1 62426 107577 0 0 3 0x14200 bored softnet3 20192 295460 0 0 3 0x14200 bored softnet2 34037 314375 0 0 3 0x14200 bored softnet1 38745 50885 0 0 3 0x14200 bored softnet0 11730 107634 0 0 3 0x14200 bored systqmp 93430 282624 0 0 3 0x14200 bored systq 89273 409295 0 0 3 0x14200 tmoslp softclockmp 4164 493328 0 0 3 0x40014200 tmoslp softclock 29884 400640 0 0 3 0x40014200 idle0 1 363560 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 80602 (syz-executor) thread 0xffff8000ffff47c0 (416792) exclusive rrwlock inode r = 0 (0xfffffd807e1310a0) #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 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:169 #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:178 [inline] #10 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f8a7098) #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 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 15512 (syz-executor) thread 0xffff8000ffff5978 (83196) 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+0x13f sys/kern/vfs_vnops.c:140 #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 (0xfffffd80657f1b40) #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+0x13f sys/kern/vfs_vnops.c:140 #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 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10201 11128K 11502K 166960K 11811 0 pcb 17 13K 13K 166960K 84 0 rtable 214 6K 7K 166960K 386 0 pf 32 17K 18K 166960K 58 0 ifaddr 39 6K 7K 166960K 53 0 ifgroup 51 2K 2K 166960K 76 0 sysctl 2 0K 0K 166960K 2 0 counters 62 36K 36K 166960K 74 0 ioctlops 0 0K 4K 166960K 1523 0 iov 0 0K 16K 166960K 34 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1429 90K 90K 166960K 1706 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 58K 89K 166960K 498 0 sigio 0 0K 0K 166960K 36 0 proc 72 91K 128K 166960K 546 0 subproc 91 5K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 39 0 in_multi 88 6K 7K 166960K 119 0 ether_multi 1 0K 0K 166960K 3 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 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 393 0 fusefs mount 1 32K 32K 166960K 1 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 231 65K 78K 166960K 6436 0 UVM aobj 16 2K 2K 166960K 19 0 pinsyscall 42 84K 102K 166960K 1594 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 11 0K 1K 166960K 34 0 temp 40 6820K 6886K 166960K 31808 0 kqueue 13 20K 34K 166960K 73 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 114 0 111 3 2 1 3 0 8 0 rtentry 112 117 0 19 4 0 4 4 0 8 0 unpcb 144 245 0 228 1 0 1 1 0 8 0 syncache 336 8 0 8 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 224 0 219 11 4 7 7 0 8 6 arp 120 20 0 4 1 0 1 1 0 8 0 inpcb 336 523 0 515 9 2 7 7 0 8 6 nd6 136 24 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 1 1 0 1 1 0 8 0 ppxss 1168 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 3 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 pfrktable 1344 4 0 4 1 1 0 1 0 8 0 pftag 88 8 0 8 1 1 0 1 0 8 0 pfstitem 24 54 0 2 1 0 1 1 0 8 0 pfstkey 128 54 0 2 2 0 2 2 0 8 0 pfstate 376 54 0 2 6 0 6 6 0 8 0 pfrule 1344 25 0 19 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 483 0 77 30 2 28 30 0 8 0 art_table 32 485 0 77 4 0 4 4 0 8 0 art_node 16 116 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 16 0 3 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2202 0 705 95 0 95 95 0 8 0 ffsino 272 2202 0 705 101 0 101 101 0 8 0 nchpl 144 2891 0 1208 63 0 63 63 0 8 0 uvmvnodes 80 2540 0 0 52 0 52 52 0 8 0 vnodes 216 2540 0 0 142 0 142 142 0 8 0 namei 1024 9445 0 9443 3 2 1 2 0 8 0 percpumem 16 51 0 6 1 0 1 1 0 8 0 kstatmem 264 34 0 12 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 8709 0 8708 3 2 1 2 1 8 0 plimitpl 152 81 0 64 1 0 1 1 0 8 0 sigapl 424 803 0 752 8 2 6 7 0 8 0 futexpl 64 5758 0 5753 1 0 1 1 0 8 0 knotepl 120 494 0 0 15 0 15 15 0 8 0 kqueuepl 216 120 0 111 1 0 1 1 0 8 0 pipepl 320 166 0 139 3 0 3 3 0 8 0 fdescpl 496 783 0 752 5 0 5 5 0 8 0 filepl 152 4273 0 4042 19 7 12 15 0 8 0 lockfpl 104 144 0 142 1 0 1 1 0 8 0 lockfspl 48 62 0 60 1 0 1 1 0 8 0 sessionpl 144 27 0 18 1 0 1 1 0 8 0 pgrppl 48 40 0 23 1 0 1 1 0 8 0 ucredpl 104 559 0 546 1 0 1 1 0 8 0 zombiepl 144 753 0 752 1 0 1 1 0 8 0 processpl 1160 803 0 752 5 1 4 5 0 8 0 procpl 648 1417 0 1357 7 1 6 6 0 8 0 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 664 887 0 859 13 5 8 9 0 8 4 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 139 0 0 18 0 18 18 0 8 0 mcl2k 2048 22 0 0 3 0 3 3 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 1151 0 0 72 0 72 72 0 8 0 bufpl 280 3292 0 98 229 0 229 229 0 8 0 anonpl 24 221953 0 216011 69 2 67 67 0 185 0 amapchunkpl 152 20992 0 20449 28 3 25 27 0 158 0 amappl16 200 6731 0 6620 27 7 20 23 0 8 1 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 123 0 111 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1428 0 1398 3 1 2 2 0 8 0 amappl11 160 59 0 45 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 1 0 1 0 8 0 amappl9 144 172 0 172 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 116 0 103 1 0 1 1 0 8 0 amappl6 120 192 0 191 1 0 1 1 0 8 0 amappl5 112 145 0 133 1 0 1 1 0 8 0 amappl4 104 345 0 323 1 0 1 1 0 8 0 amappl3 96 3843 0 3750 3 0 3 3 0 8 0 amappl2 88 1102 0 1018 4 1 3 3 0 8 0 amappl1 80 9854 0 9287 14 0 14 14 0 8 0 amappl 88 6009 0 5838 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 254 0 254 2 2 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 18 0 3 1 0 1 1 0 8 0 uaddrrnd 24 783 0 752 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 783 0 752 1 0 1 1 0 8 0 vmmpekpl 168 8107 0 8063 2 0 2 2 0 8 0 vmmpepl 168 59751 0 57819 108 8 100 100 0 357 3 vmsppl 448 782 0 752 6 2 4 5 0 8 0 rwobjpl 56 24813 0 21251 55 0 55 55 0 8 1 pdppl 4096 1573 0 1504 105 34 71 83 0 8 2 pvpl 32 17872 0 0 145 0 145 145 0 265 0 pmappl 248 782 0 752 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 468 0 52 12 0 12 12 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 end of kernel end trace frame: 0x72f0a8d5a550, count: 12 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 end of kernel end trace frame: 0x72f0a8d5a550, count: -3 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(ffff80003719fa58,ffff80003719fa58,8f4aa957a727c9e) at ufs_dirbadentry VOP_LOOKUP(fffffd805f341710,ffff80003719fdf8,ffff80003719fe28) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003719fdc8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80003719fdc8) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80003719fdc8,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff5978,ffffff9c,20000080,0,0,ffff80003719ff70) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371a0020) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371a0020) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf496ab470b0, 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(ffff80003719fa58,ffff80003719fa58,8f4aa957a727c9e) at ufs_dirbadentry VOP_LOOKUP(fffffd805f341710,ffff80003719fdf8,ffff80003719fe28) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003719fdc8) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80003719fdc8) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80003719fdc8,1,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 doopenat(ffff8000ffff5978,ffffff9c,20000080,0,0,ffff80003719ff70) at doopenat+0x31d sys/kern/vfs_syscalls.c:1123 syscall(ffff8000371a0020) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:178 [inline] syscall(ffff8000371a0020) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf496ab470b0, count: -10