login: uvm_fault(0xffffffff83a60a18, 0xffff8000240a2004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND * 23345 5380 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff000624711f0,ffff80003c8e14e0,ffff80003c8e1510) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c8e14b0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c8e14b0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c8e14b0,10223,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a760558,ffffff9c,200000000000,10622,0,0,8c3f797ec0d2e090) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_openat(ffff80002a760558,ffff80003c8e1750,ffff80003c8e16a0) at sys_openat+0x58 sys/kern/vfs_syscalls.c:1101 syscall(ffff80003c8e1750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e1750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8210fd8fde0, count: 6 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff83a60a18, 0xffff8000240a2004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff000624711f0,ffff80003c8e14e0,ffff80003c8e1510) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c8e14b0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c8e14b0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c8e14b0,10223,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a760558,ffffff9c,200000000000,10622,0,0,8c3f797ec0d2e090) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_openat(ffff80002a760558,ffff80003c8e1750,ffff80003c8e16a0) at sys_openat+0x58 sys/kern/vfs_syscalls.c:1101 syscall(ffff80003c8e1750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e1750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8210fd8fde0, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c8e1110 rbx 0 rdx 0 rcx 0xffffffff rax 0xffff80002a760558 r8 0xffffffffffffffff r9 0xfffff00007ffd4e0 r10 0x759989b6c9f29d63 r11 0xf3fa16c8f0cc8053 r12 0xfffff00076598550 r13 0 r14 0 r15 0xffff8000240a2000 rip 0xffffffff82c92313 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c8e1020 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=23345 pid=5380 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a761cb0,0xffff80002a760a98 process=0xffff8000ffff4da0 user=0xffff80003c8dc000, vmspace=0xfffff0006caac180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61340 261021 96211 0 2 0x2 sh 26912 53419 72713 0 2 0 syz-executor 26912 82993 72713 0 3 0x4000080 fsleep syz-executor 34208 317297 4058 0 2 0 syz-executor 5380 385103 34098 0 2 0 syz-executor 5380 254458 34098 0 2 0x4000000 syz-executor * 5380 23345 34098 0 7 0x4000000 syz-executor 35266 193884 63014 0 2 0 syz-executor 35266 154138 63014 0 3 0x4000080 fsleep syz-executor 37260 452498 36408 0 2 0 syz-executor 37260 153295 36408 0 3 0x4000080 sbwait syz-executor 96211 243744 87068 0 3 0x82 wait syz-executor 4058 133562 87068 0 3 0x82 nanoslp syz-executor 34559 356260 0 0 3 0x14280 nfsidl nfsio 50825 384291 0 0 3 0x14280 nfsidl nfsio 8081 61181 0 0 3 0x14280 nfsidl nfsio 96486 234612 0 0 3 0x14280 nfsidl nfsio 63864 4765 0 0 3 0x14280 nfsidl nfsio 69471 119516 0 0 3 0x14280 nfsidl nfsio 54147 51470 0 0 3 0x14280 nfsidl nfsio 83909 177264 0 0 3 0x14280 nfsidl nfsio 7937 15526 0 0 3 0x14280 nfsidl nfsio 2393 450641 0 0 3 0x14280 nfsidl nfsio 75572 398415 0 0 3 0x14280 nfsidl nfsio 67456 14062 0 0 3 0x14280 nfsidl nfsio 92528 386039 0 0 3 0x14280 nfsidl nfsio 58549 78270 0 0 3 0x14280 nfsidl nfsio 28123 288890 0 0 3 0x14280 nfsidl nfsio 32316 328581 0 0 3 0x14280 nfsidl nfsio 34716 218069 0 0 3 0x14280 nfsidl nfsio 67883 237539 0 0 3 0x14280 nfsidl nfsio 25506 367366 0 0 3 0x14280 nfsidl nfsio 58608 132037 0 0 3 0x14280 nfsidl nfsio 78012 120684 1 0 3 0x100083 ttyin getty 72713 235671 87068 0 3 0x82 nanoslp syz-executor 16735 154905 87068 0 2 0x2 syz-executor 21847 5207 87068 0 3 0x82 nanoslp syz-executor 34098 196756 87068 0 3 0x82 nanoslp syz-executor 63014 186374 87068 0 3 0x82 nanoslp syz-executor 36408 224365 87068 0 3 0x82 nanoslp syz-executor 87068 259135 1 0 3 0x82 kqread syz-executor 46540 16140 20114 0 3 0x98 kqread sshd-session 20114 218645 1 0 3 0x92 kqread sshd-session 98207 384438 1 73 3 0x1100090 kqread syslogd 66496 270302 0 0 3 0x14200 bored smr 79496 281072 0 0 2 0x14200 zerothread 67678 120050 0 0 3 0x14200 aiodoned aiodoned 77843 141149 0 0 3 0x14200 syncer update 22948 28991 0 0 3 0x14200 cleaner cleaner 39708 252912 0 0 3 0x14200 reaper reaper 99368 259918 0 0 3 0x14200 pgdaemon pagedaemon 53807 344006 0 0 3 0x14200 bored viomb 6525 338848 0 0 3 0x40014200 acpi0 acpi0 84523 14337 0 0 3 0x14200 bored softnet0 93269 107779 0 0 3 0x14200 smrbar systqmp 60446 179327 0 0 3 0x14200 bored systq 28055 436960 0 0 3 0x40014200 tmoslp softclock 31823 202666 0 0 3 0x40014200 idle0 1 187106 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11060 12180K 12397K 166960K 12743 0 pcb 18 16K 18K 166960K 230 0 rtable 231 9K 10K 166960K 710 0 pf 32 13K 19K 166960K 90 0 ifaddr 38 6K 7K 166960K 100 0 ifgroup 50 2K 2K 166960K 126 0 sysctl 4 1K 9K 166960K 11 0 counters 33 17K 18K 166960K 58 0 ioctlops 0 0K 4K 166960K 170 0 iov 1 12K 12K 166960K 18 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 1939 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 28 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 606 0 sigio 0 0K 0K 166960K 4 0 proc 20 25K 91K 166960K 806 0 subproc 72 4K 4K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 108 0 in_multi 84 6K 7K 166960K 221 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 558 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 145 99K 175K 166960K 6541 0 UVM aobj 12 4K 4K 166960K 13 0 pinsyscall 25 50K 91K 166960K 1960 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 13 0K 1K 166960K 70 0 temp 43 9123K 9174K 166960K 14358 0 kqueue 5 8K 31K 166960K 94 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 75 0 75 1 0 1 1 0 8 1 rtentry 136 231 0 132 4 0 4 4 0 8 0 unpcb 144 271 0 262 5 0 5 5 0 8 4 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 166 0 164 4 0 4 4 0 8 3 arp 96 36 0 20 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 781 0 778 7 0 7 7 0 8 6 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 61 0 39 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 18 0 10 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pfstscr 40 3 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 2 1 0 1 1 0 8 1 pfstitem 24 3 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 2 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1004 0 545 31 0 31 31 0 8 2 art_table 40 1005 0 545 5 0 5 5 0 8 0 art_node 32 230 0 139 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 72 26 0 16 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2238 0 752 93 0 93 93 0 8 0 ffsino 256 2238 0 752 93 0 93 93 0 8 0 nchpl 144 2913 0 1179 65 0 65 65 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2754 0 0 153 0 153 153 0 8 0 namei 1024 10610 0 10609 2 0 2 2 0 8 1 kstatmem 264 67 0 44 2 0 2 2 0 8 0 scxspl 216 12861 0 12861 8 0 8 8 1 8 8 plimitpl 152 133 0 120 1 0 1 1 0 8 0 sigapl 424 904 0 849 7 0 7 7 0 8 0 knotepl 120 17060 0 17033 10 0 10 10 0 8 8 kqueuepl 184 266 0 262 3 0 3 3 0 8 2 pipepl 304 175 0 148 3 0 3 3 0 8 0 fdescpl 448 871 0 849 5 0 5 5 0 8 2 filepl 120 4945 0 4694 12 0 12 12 0 8 4 lockfpl 104 234 0 232 2 0 2 2 0 8 1 lockfspl 48 100 0 98 1 0 1 1 0 8 0 sessionpl 144 45 0 40 1 0 1 1 0 8 0 pgrppl 48 66 0 53 1 0 1 1 0 8 0 ucredpl 104 689 0 682 1 0 1 1 0 8 0 zombiepl 144 850 0 849 1 0 1 1 0 8 0 processpl 1152 904 0 849 5 0 5 5 0 8 0 procpl 664 1392 0 1332 6 0 6 6 0 8 0 sockpl 552 1147 0 1135 15 6 9 15 0 8 8 mcl64k 65536 50 0 49 1 0 1 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2976 0 2926 16 1 15 16 0 8 7 mcl2k 2048 529 0 529 2 0 2 2 0 8 2 mtagpl 96 73 0 5 2 0 2 2 0 8 0 mbufpl 256 8673 0 8435 16 0 16 16 0 8 0 bufpl 272 6387 0 171 415 0 415 415 0 8 0 anonpl 24 145525 0 143445 47 0 47 47 0 186 16 amapchunkpl 152 20286 0 19942 29 0 29 29 0 158 12 amappl16 200 2530 0 2510 16 3 13 15 0 8 8 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 523 0 523 1 0 1 1 0 8 1 amappl13 176 136 0 132 1 0 1 1 0 8 0 amappl12 168 1147 0 1128 2 0 2 2 0 8 0 amappl11 160 4 0 3 1 0 1 1 0 8 0 amappl10 152 58 0 56 1 0 1 1 0 8 0 amappl9 144 271 0 270 1 0 1 1 0 8 0 amappl8 136 133 0 132 1 0 1 1 0 8 0 amappl7 128 160 0 155 1 0 1 1 0 8 0 amappl6 120 240 0 239 1 0 1 1 0 8 0 amappl5 112 95 0 91 1 0 1 1 0 8 0 amappl4 104 310 0 302 1 0 1 1 0 8 0 amappl3 96 3989 0 3915 4 0 4 4 0 8 1 amappl2 88 621 0 594 2 0 2 2 0 8 0 amappl1 80 13157 0 12851 15 0 15 15 0 8 3 amappl 88 5576 0 5457 5 0 5 5 0 92 1 uvmvnodes 80 111 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 871 0 849 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 871 0 849 1 0 1 1 0 8 0 vmmpekpl 168 8650 0 8609 3 0 3 3 0 8 0 vmmpepl 168 64135 0 62968 91 0 91 91 0 357 26 vmsppl 368 870 0 849 4 0 4 4 0 8 1 rwobjpl 40 20676 0 20078 13 0 13 13 0 8 1 pdppl 4096 1748 0 1698 104 50 54 78 0 8 4 pvpl 32 389197 0 383662 114 0 114 114 0 265 42 pmappl 216 870 0 849 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 798 0 51 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff000624711f0,ffff80003c8e14e0,ffff80003c8e1510) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c8e14b0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c8e14b0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c8e14b0,10223,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a760558,ffffff9c,200000000000,10622,0,0,8c3f797ec0d2e090) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_openat(ffff80002a760558,ffff80003c8e1750,ffff80003c8e16a0) at sys_openat+0x58 sys/kern/vfs_syscalls.c:1101 syscall(ffff80003c8e1750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e1750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8210fd8fde0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff000624711f0,ffff80003c8e14e0,ffff80003c8e1510) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80003c8e14b0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80003c8e14b0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 vn_open(ffff80003c8e14b0,10223,0) at vn_open+0x22e sys/kern/vfs_vnops.c:109 doopenat(ffff80002a760558,ffffff9c,200000000000,10622,0,0,8c3f797ec0d2e090) at doopenat+0x352 sys/kern/vfs_syscalls.c:1162 sys_openat(ffff80002a760558,ffff80003c8e1750,ffff80003c8e16a0) at sys_openat+0x58 sys/kern/vfs_syscalls.c:1101 syscall(ffff80003c8e1750) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e1750) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8210fd8fde0, count: -9