panic: bad dir Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 368308 2220 0 0 0 0 syz-executor.2 * 98412 50581 0 0 0 1K dhcpleased db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247ee87) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f342658,ffff8000211dc008,ffff8000211dc038) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbfd8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbfd8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbfd8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7fffff5980,0,0,ffff8000211dc1c0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc230) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc230) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5970, 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+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247ee87) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f342658,ffff8000211dc008,ffff8000211dc038) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbfd8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbfd8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbfd8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7fffff5980,0,0,ffff8000211dc1c0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc230) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc230) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5970, count: -10 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211dba90 rbx 0xffff800020d39bff rdx 0 rcx 0 rax 0xffff800021193ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x33f2baa1adc2f0e5 r11 0x754fa520c747232e r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff815ada48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211dba80 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (dhcpleased) pid=98412 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800021192548,0xffff8000ffff7d00 process=0xffff8000ffff8430 user=0xffff8000211d7000, vmspace=0xfffffd8008586000 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 2220 368308 32155 0 7 0 syz-executor.2 2220 488905 32155 0 2 0x4000000 syz-executor.2 5673 239632 56854 0 3 0x80 nanoslp syz-executor.1 5673 321412 56854 0 3 0x4000080 fsleep syz-executor.1 5673 172087 56854 0 2 0x4000000 syz-executor.1 5673 60493 56854 0 3 0x4000080 fsleep syz-executor.1 39580 347096 30909 0 2 0 syz-executor.0 39580 132074 30909 0 2 0x4000000 syz-executor.0 51353 181170 75965 0 2 0 syz-executor.3 51353 265377 75965 0 3 0x4000080 piperd syz-executor.3 32155 2212 18420 0 3 0x82 nanoslp syz-executor.2 56854 61459 18420 0 3 0x82 nanoslp syz-executor.1 75965 37614 18420 0 3 0x82 nanoslp syz-executor.3 30909 271386 18420 0 3 0x82 nanoslp syz-executor.0 74412 47209 1 0 3 0x100083 ttyin getty 63253 175594 0 0 3 0x14280 nfsidl nfsio 31945 435132 0 0 3 0x14280 nfsidl nfsio 52007 178550 0 0 3 0x14280 nfsidl nfsio 68693 402156 0 0 3 0x14280 nfsidl nfsio 49325 160181 0 0 3 0x14280 nfsidl nfsio 89146 190267 0 0 3 0x14280 nfsidl nfsio 91255 204792 0 0 3 0x14280 nfsidl nfsio 29330 298417 0 0 3 0x14280 nfsidl nfsio 67925 127549 0 0 3 0x14280 nfsidl nfsio 37012 455260 0 0 3 0x14280 nfsidl nfsio 26128 436133 0 0 3 0x14280 nfsidl nfsio 58238 356571 0 0 3 0x14280 nfsidl nfsio 44573 255953 0 0 3 0x14280 nfsidl nfsio 84127 487337 0 0 3 0x14280 nfsidl nfsio 70020 501334 0 0 3 0x14280 nfsidl nfsio 67444 20913 0 0 3 0x14280 nfsidl nfsio 36373 140093 0 0 3 0x14280 nfsidl nfsio 21352 402810 0 0 3 0x14280 nfsidl nfsio 43883 71764 0 0 3 0x14280 nfsidl nfsio 32848 168659 0 0 3 0x14280 nfsidl nfsio 73157 43102 0 0 3 0x14200 bored sosplice 18420 205116 83579 0 3 0x82 thrsleep syz-fuzzer 18420 296594 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 381622 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 105678 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 270827 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 41138 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 372211 83579 0 3 0x4000082 thrsleep syz-fuzzer 18420 232729 83579 0 3 0x4000082 kqread syz-fuzzer 18420 343858 83579 0 3 0x4000082 thrsleep syz-fuzzer 83579 152607 98502 0 3 0x10008a sigsusp ksh 98502 496475 14186 0 3 0x9a poll sshd 14186 421763 1 0 3 0x88 poll sshd 88786 328914 20415 74 3 0x100092 bpf pflogd 20415 500965 1 0 3 0x80 netio pflogd 55063 63993 1153 73 3 0x100090 kqread syslogd 1153 165613 1 0 3 0x100082 netio syslogd 50271 319384 1 0 3 0x100080 kqread resolvd 67462 234733 50581 77 3 0x100092 kqread dhcpleased 11432 80325 50581 77 3 0x100092 kqread dhcpleased *50581 98412 1 0 7 0 dhcpleased 61879 423625 0 0 3 0x14200 bored smr 91269 59523 0 0 2 0x14200 zerothread 64351 135529 0 0 3 0x14200 aiodoned aiodoned 44501 107331 0 0 3 0x14200 syncer update 18511 338874 0 0 3 0x14200 cleaner cleaner 25679 336078 0 0 3 0x14200 reaper reaper 39161 170856 0 0 3 0x14200 pgdaemon pagedaemon 47435 97134 0 0 3 0x14200 bored viomb 34098 101150 0 0 3 0x40014200 acpi0 acpi0 83089 176433 0 0 3 0x40014200 idle1 84815 469857 0 0 3 0x14200 bored softnet 5206 446684 0 0 3 0x14200 bored systqmp 16924 157279 0 0 3 0x14200 bored systq 44532 210203 0 0 3 0x40014200 bored softclock 80584 380194 0 0 3 0x40014200 idle0 1 329255 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 50581 (dhcpleased) thread 0xffff800021193ce8 (98412) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828cff68) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:416 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 ffs_bufatoff+0x125 sys/ufs/ffs/ffs_subr.c:71 #7 ufs_lookup+0x466 sys/ufs/ufs/ufs_lookup.c:258 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806f1063d0) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vget+0x1d3 sys/kern/vfs_subr.c:677 #6 cache_lookup+0x2b4 sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1ac sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 #10 namei+0x36a sys/kern/vfs_lookup.c:245 #11 vn_open+0x105 sys/kern/vfs_vnops.c:146 #12 doopenat+0x26a sys/kern/vfs_syscalls.c:1128 #13 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 6515K 10780K 78643K 88261 0 pcb 13 24K 28K 78643K 6293 0 rtable 227 38K 41K 78643K 12698 0 ifaddr 94 33K 41K 78643K 4233 0 sysctl 3 1K 1K 78643K 3 0 counters 46 34K 35K 78643K 1082 0 ioctlops 0 0K 4K 78643K 8863 0 iov 0 0K 28K 78643K 3376 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1551 97K 98K 78643K 26116 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 462 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 5256 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 10 33K 45K 78643K 41048 0 sigio 0 0K 0K 78643K 383 0 proc 74 87K 112K 78643K 5954 0 subproc 52 3K 3K 78643K 2023 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 2959 0 in_multi 35 2K 4K 78643K 3455 0 ether_multi 1 0K 0K 78643K 570 0 mrt 1 0K 0K 78643K 161 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 313 1394K 1394K 78643K 313 0 exec 0 0K 2K 78643K 8811 0 pfkey data 0 0K 1K 78643K 4 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 7 26K 26K 78643K 7 0 UVM amap 882 2508K 2523K 78643K 521199 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2618 0 NDP 11 0K 1K 78643K 924 0 temp 132 4262K 8350K 78643K 302740 0 kqueue 14 22K 32K 78643K 8363 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 3100 0 3097 40 37 3 4 0 8 2 rtentry 112 2775 0 2730 2 0 2 2 0 8 0 unpcb 136 20775 0 20760 230 224 6 10 0 8 5 syncache 296 101 0 101 29 29 0 1 0 8 0 tcpqe 32 166 123 166 1 1 0 1 0 8 0 tcpcb 736 15226 0 15220 478 473 5 25 0 8 3 arp 120 448 0 440 1 0 1 1 0 8 0 inpcb 304 41346 0 41336 466 462 4 16 0 8 2 rttmr 72 35 0 35 11 11 0 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 9 0 9 1 1 0 1 0 8 0 nd6 48 606 0 597 1 0 1 1 0 8 0 pkpcb 40 166 0 166 15 15 0 1 0 8 0 kcovpl 48 155 0 151 1 0 1 1 0 8 0 ppxss 1248 113 0 113 28 28 0 1 0 8 0 pfstscr 40 269 0 269 24 24 0 1 0 8 0 pffrag 232 414 0 414 20 20 0 1 0 482 0 pffrnode 88 414 0 414 20 20 0 1 0 8 0 pffrent 40 5379 0 5379 21 21 0 1 0 8 0 pfosfp 40 1458 0 1033 5 0 5 5 0 8 0 pfosfpen 112 1458 0 739 21 0 21 21 0 8 0 pfrke_plain 168 4 0 4 2 2 0 1 0 8 0 pfrktable 1344 2186 0 2137 34 29 5 5 0 8 0 pftag 88 109 0 97 1 0 1 1 0 8 0 pfqueue 264 15 0 7 3 2 1 1 0 8 0 pfstitem 24 138 0 136 1 0 1 1 0 8 0 pfstkey 112 683 0 681 2 1 1 2 0 8 0 pfstate 320 397 0 395 6 5 1 6 0 8 0 pfrule 1360 3831 0 3473 43 13 30 30 0 8 0 art_heap8 4096 14 0 13 8 7 1 3 0 8 0 art_heap4 256 10587 0 10419 56 44 12 22 0 8 0 art_table 32 10601 0 10432 5 2 3 3 0 8 0 art_node 16 2703 0 2667 1 0 1 1 0 8 0 sysvmsgpl 40 81 0 74 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 5254 0 5244 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 52770 0 51233 97 0 97 97 0 8 0 ffsino 272 52770 0 51233 103 0 103 103 0 8 0 nchpl 144 114534 0 112938 61 0 61 61 0 8 0 rtmask 32 8 0 8 2 2 0 1 0 8 0 uvmvnodes 80 6174 0 0 126 0 126 126 0 8 0 vnodes 224 6174 0 0 364 0 364 364 0 8 0 namei 1024 378968 0 378967 7 6 1 2 0 8 0 percpumem 16 553 0 518 1 0 1 1 0 8 0 vcpupl 2048 455 0 1 57 0 57 57 0 8 0 vmpool 560 513 0 59 34 1 33 33 0 8 0 pfiaddrpl 120 733 0 615 8 4 4 4 0 8 0 scsiplug 72 10 0 10 4 4 0 1 0 8 0 scxspl 216 331667 0 331667 74 73 1 8 0 8 1 plimitpl 152 3947 0 3936 1 0 1 1 0 8 0 sigapl 424 40856 0 40798 7 0 7 7 0 8 0 futexpl 64 349066 0 349064 8 7 1 1 0 8 0 knotepl 112 390 0 0 3 0 3 3 0 8 0 kqueuepl 216 28943 0 28922 276 274 2 9 0 8 0 pipepl 336 8612 0 8595 237 232 5 12 0 8 3 fdescpl 496 40820 0 40797 5 2 3 4 0 8 0 filepl 152 290209 0 290054 406 394 12 21 0 8 6 lockfpl 104 11509 0 11507 24 23 1 2 0 8 0 lockfspl 48 3400 0 3398 1 0 1 1 0 8 0 sessionpl 144 172 0 159 1 0 1 1 0 8 0 pgrppl 48 235 0 222 1 0 1 1 0 8 0 ucredpl 96 33223 0 33200 1 0 1 1 0 8 0 zombiepl 144 40798 0 40798 2 1 1 1 0 8 1 processpl 1064 40856 0 40798 4 0 4 4 0 8 0 procpl 672 119980 0 119908 44 37 7 8 0 8 0 srpgc 96 210 0 210 42 42 0 1 0 8 0 sosppl 168 340 0 340 60 60 0 1 0 8 0 sockpl 480 65454 0 65426 1224 1209 15 36 0 8 10 mcl64k 65536 81 0 0 6 4 2 3 0 8 0 mcl16k 16384 57 0 0 8 5 3 3 0 8 0 mcl12k 12288 57 0 0 2 0 2 2 0 8 0 mcl9k 9216 57 0 0 4 2 2 2 0 8 0 mcl8k 8192 67 0 0 3 1 2 3 0 8 0 mcl4k 4096 72 0 0 3 1 2 3 0 8 0 mcl2k2 2112 25 0 0 2 0 2 2 0 8 0 mcl2k 2048 571 0 0 27 8 19 22 0 8 0 mtagpl 96 1821 0 0 15 1 14 14 0 8 0 mbufpl 256 6405 0 0 304 0 304 304 0 8 0 bufpl 288 66422 0 60218 454 2 452 454 0 8 0 anonpl 24 11775144 0 11751189 584 400 184 191 0 186 14 amapchunkpl 152 1309729 0 1308853 247 211 36 49 0 158 0 amappl16 200 110385 0 109255 389 317 72 73 0 8 6 amappl15 192 4761 0 4759 1 0 1 1 0 8 0 amappl14 184 5268 0 5261 1 0 1 1 0 8 0 amappl13 176 7950 0 7949 1 0 1 1 0 8 0 amappl12 168 4895 0 4888 1 0 1 1 0 8 0 amappl11 160 3703 0 3689 1 0 1 1 0 8 0 amappl10 152 5386 0 5377 1 0 1 1 0 8 0 amappl9 144 6118 0 6113 1 0 1 1 0 8 0 amappl8 136 9587 0 9427 6 0 6 6 0 8 0 amappl7 128 6668 0 6656 1 0 1 1 0 8 0 amappl6 120 6736 0 6711 1 0 1 1 0 8 0 amappl5 112 36123 0 36090 5 3 2 2 0 8 1 amappl4 104 11725 0 11692 1 0 1 1 0 8 0 amappl3 96 10668 0 10636 1 0 1 1 0 8 0 amappl2 88 12387 0 12322 5 3 2 2 0 8 0 amappl1 80 740466 0 739940 30 18 12 13 0 8 0 amappl 88 517294 0 516886 12 2 10 10 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 41333 0 40856 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 41333 0 40856 3 0 3 3 0 8 0 vmmpekpl 168 274272 0 274190 5 0 5 5 0 8 0 vmmpepl 168 3767491 0 3763508 1086 886 200 203 0 357 20 vmsppl 368 41332 0 40856 46 2 44 44 0 8 0 rwobjpl 56 905797 0 897137 186 60 126 126 0 8 2 pdppl 4096 82674 0 82166 601 93 508 508 0 8 0 pvpl 32 19820426 0 19799964 1047 826 221 269 0 265 25 pmappl 248 41332 0 40856 30 0 30 30 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 2544 0 893 49 1 48 48 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827cfff0) at x86_ipi_db+0x1a 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+0x23 end of kernel end trace frame: 0x7f7fffffae40, count: 12 ddb{0}> trace x86_ipi_db(ffffffff827cfff0) at x86_ipi_db+0x1a 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+0x23 end of kernel end trace frame: 0x7f7fffffae40, count: -3 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247ee87) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f342658,ffff8000211dc008,ffff8000211dc038) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbfd8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbfd8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbfd8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7fffff5980,0,0,ffff8000211dc1c0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc230) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc230) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5970, count: 5 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8247ee87) at panic+0x177 sys/kern/subr_prf.c:202 ufs_lookup() at ufs_lookup+0x174c ufs_dirbad sys/ufs/ufs/ufs_lookup.c:609 [inline] ufs_lookup() at ufs_lookup+0x174c sys/ufs/ufs/ufs_lookup.c:444 VOP_LOOKUP(fffffd806f342658,ffff8000211dc008,ffff8000211dc038) at VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000211dbfd8) at vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:561 namei(ffff8000211dbfd8) at namei+0x36a sys/kern/vfs_lookup.c:245 vn_open(ffff8000211dbfd8,1,0) at vn_open+0x105 sys/kern/vfs_vnops.c:146 doopenat(ffff800021193ce8,ffffff9c,7f7fffff5980,0,0,ffff8000211dc1c0) at doopenat+0x26a sys/kern/vfs_syscalls.c:1128 syscall(ffff8000211dc230) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000211dc230) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff5970, count: -10