uvm_fault(0xffffffff83a82418, 0xffff800028eb2004, 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 *178982 92859 0 0x2004 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8806ad4e480,ffff80002a80ada0,ffff80002a80add0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a80ad70) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a80ad70) at namei+0x7c3 sys/kern/vfs_lookup.c:250 check_exec(ffff80003a4d1cb0,ffff80002a80ae20) at check_exec+0x81 sys/kern/kern_exec.c:156 sys_execve(ffff80003a4d1cb0,ffff80002a80b2d0,ffff80002a80b220) at sys_execve+0x19a sys/kern/kern_exec.c:332 syscall(ffff80002a80b2d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80b2d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8918dcae000, count: 7 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(0xffffffff83a82418, 0xffff800028eb2004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8806ad4e480,ffff80002a80ada0,ffff80002a80add0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a80ad70) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a80ad70) at namei+0x7c3 sys/kern/vfs_lookup.c:250 check_exec(ffff80003a4d1cb0,ffff80002a80ae20) at check_exec+0x81 sys/kern/kern_exec.c:156 sys_execve(ffff80003a4d1cb0,ffff80002a80b2d0,ffff80002a80b220) at sys_execve+0x19a sys/kern/kern_exec.c:332 syscall(ffff80002a80b2d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80b2d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8918dcae000, count: -8 ddb> show registers rdi 0 rsi 0x2 rbp 0xffff80002a80aa80 rbx 0 rdx 0xffff8000015e5b80 rcx 0xffffffff rax 0xffff80003a4d1cb0 r8 0xffffffffffffffff r9 0xfffff88007ffd8f0 r10 0x1e83a8c1926e2448 r11 0x7fcc3f7902581ae8 r12 0xfffff8806b9ca220 r13 0 r14 0 r15 0xffff800028eb2000 rip 0xffffffff82eb63f3 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a80a990 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=178982 pid=92859 tcnt=2 stat=onproc flags process=2004 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80003a4d1cb0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a4d0d20,0xffff80003a4d1a28 process=0xffff80002a79d690 user=0xffff80002a806000, vmspace=0xfffff8806cfe62f0 estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74308 296172 16438 0 2 0x2 sh 90250 471462 70075 0 2 0 syz-executor 90250 241425 70075 0 3 0x4000080 fsleep syz-executor 92859 149637 13309 0 4 0x82004 syz-executor *92859 178982 13309 0 7 0x4002004 syz-executor 15519 121049 29580 0 2 0 syz-executor 15519 521648 29580 0 3 0x4000080 fsleep syz-executor 48788 372165 84828 0 2 0 syz-executor 48788 119304 84828 0 3 0x4000080 fsleep syz-executor 16438 85067 36279 0 3 0x82 wait syz-executor 34091 197523 86352 0 3 0x3000 suspend syz-executor 34091 346129 86352 0 2 0x4081000 syz-executor 41680 462864 1 0 3 0x80 nanoslp init 34884 329660 0 0 3 0x14280 nfsidl nfsio 4330 395148 0 0 3 0x14280 nfsidl nfsio 80040 396488 0 0 3 0x14280 nfsidl nfsio 95761 97309 0 0 3 0x14280 nfsidl nfsio 70709 3887 0 0 3 0x14280 nfsidl nfsio 75821 503236 0 0 3 0x14280 nfsidl nfsio 17584 223071 0 0 3 0x14280 nfsidl nfsio 21471 52472 0 0 3 0x14280 nfsidl nfsio 64103 368872 0 0 3 0x14280 nfsidl nfsio 71713 48254 0 0 3 0x14280 nfsidl nfsio 90914 510153 0 0 3 0x14280 nfsidl nfsio 86864 79338 0 0 3 0x14280 nfsidl nfsio 15484 177141 0 0 3 0x14280 nfsidl nfsio 4004 298763 0 0 3 0x14280 nfsidl nfsio 50126 397290 0 0 3 0x14280 nfsidl nfsio 97848 45165 0 0 3 0x14280 nfsidl nfsio 11875 364667 0 0 3 0x14280 nfsidl nfsio 28436 329294 0 0 3 0x14280 nfsidl nfsio 24006 139912 0 0 3 0x14280 nfsidl nfsio 42635 370676 0 0 3 0x14280 nfsidl nfsio 13309 510079 36279 0 3 0x82 nanoslp syz-executor 86352 495114 36279 0 3 0x82 wait syz-executor 70075 88704 36279 0 3 0x82 nanoslp syz-executor 29580 74283 36279 0 3 0x82 nanoslp syz-executor 84828 428594 36279 0 3 0x82 nanoslp syz-executor 36279 253559 66965 0 3 0x82 wait syz-executor 66965 281182 72151 0 3 0x10008a sigsusp ksh 72151 278785 81561 0 3 0x98 kqread sshd-session 81561 122131 51961 0 3 0x92 kqread sshd-session 51961 198825 1 0 3 0x88 kqread sshd 47578 450080 68621 73 3 0x1100090 kqread syslogd 68621 408091 1 0 3 0x100082 sbwait syslogd 44697 509424 1 0 3 0x100080 kqread resolvd 29487 152725 27305 77 3 0x100092 kqread dhcpleased 94328 398755 27305 77 3 0x100092 kqread dhcpleased 27305 456439 1 0 3 0x80 kqread dhcpleased 73309 148370 0 0 3 0x14200 bored smr 36612 79841 0 0 2 0x14200 zerothread 2330 220087 0 0 3 0x14200 aiodoned aiodoned 57548 501351 0 0 3 0x14200 syncer update 10837 411237 0 0 3 0x14200 cleaner cleaner 35319 399192 0 0 3 0x14200 reaper reaper 91209 295588 0 0 3 0x14200 pgdaemon pagedaemon 20738 99798 0 0 3 0x14200 bored viomb 70917 142375 0 0 3 0x40014200 acpi0 acpi0 77811 419580 0 0 3 0x14200 bored softnet0 55519 75777 0 0 3 0x14200 bored systqmp 30529 130246 0 0 3 0x14200 bored systq 58379 272496 0 0 3 0x40014200 tmoslp softclock 74454 103254 0 0 3 0x40014200 idle0 1 465555 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11040 12187K 12392K 166960K 12858 0 pcb 18 13K 14K 166960K 158 0 rtable 185 7K 8K 166960K 619 0 pf 29 13K 93K 166960K 103 0 ifaddr 31 5K 7K 166960K 92 0 ifgroup 42 1K 2K 166960K 128 0 sysctl 3 1K 9K 166960K 18 0 counters 31 17K 18K 166960K 62 0 ioctlops 0 0K 4K 166960K 139 0 iov 1 12K 16K 166960K 91 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1371 86K 87K 166960K 1947 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 50 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 97K 166960K 719 0 sigio 2 0K 0K 166960K 7 0 proc 51 50K 116K 166960K 722 0 subproc 63 3K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 274 0 in_multi 66 4K 7K 166960K 187 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 1 0K 1K 166960K 616 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 194 138K 175K 166960K 7686 0 UVM aobj 18 2K 2K 166960K 21 0 pinsyscall 35 70K 95K 166960K 1990 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 18 0 NDP 9 0K 2K 166960K 62 0 temp 43 9113K 9176K 166960K 28442 0 kqueue 13 20K 32K 166960K 121 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 82 0 79 1 0 1 1 0 8 0 rtentry 136 192 0 120 4 0 4 4 0 8 0 unpcb 144 337 0 322 3 1 2 2 0 8 1 syncache 336 5 0 5 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpcb 736 235 0 230 10 3 7 7 0 8 6 arp 96 31 0 19 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 2 1 0 1 1 0 8 0 inpcb 328 648 0 638 12 5 7 7 0 8 6 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 0 1 0 1 1 0 8 0 nd6 112 47 0 29 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 15 0 8 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 16 0 16 2 1 1 1 0 8 1 pppxif 1416 2 0 2 2 1 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1360 5 0 5 1 1 0 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 859 0 499 33 0 33 33 0 8 6 art_table 40 861 0 499 6 0 6 6 0 8 0 art_node 32 191 0 126 1 0 1 1 0 8 0 sysvmsgpl 40 41 0 39 2 1 1 1 0 8 0 semapl 72 44 0 34 1 0 1 1 0 8 0 shmpl 112 18 0 3 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2568 0 1108 92 0 92 92 0 8 0 ffsino 256 2568 0 1108 92 0 92 92 0 8 0 nchpl 144 3477 0 1762 64 0 64 64 0 8 0 rtmask 32 3 0 3 2 1 1 1 0 8 1 vnodes 216 2999 0 0 167 0 167 167 0 8 0 namei 1024 12008 0 12007 2 1 1 2 0 8 0 kstatmem 264 69 0 50 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 17755 0 17755 9 7 2 8 1 8 2 plimitpl 152 178 0 162 1 0 1 1 0 8 0 sigapl 424 1023 0 962 8 0 8 8 0 8 0 knotepl 120 21591 0 21544 22 12 10 16 0 8 8 kqueuepl 184 221 0 210 4 0 4 4 0 8 3 pipepl 304 165 0 138 3 0 3 3 0 8 0 fdescpl 448 989 0 962 5 1 4 5 0 8 0 filepl 120 5169 0 4961 13 1 12 13 0 8 5 lockfpl 104 340 0 336 2 0 2 2 0 8 1 lockfspl 48 95 0 91 1 0 1 1 0 8 0 sessionpl 144 120 0 112 1 0 1 1 0 8 0 pgrppl 48 144 0 128 1 0 1 1 0 8 0 ucredpl 104 804 0 792 1 0 1 1 0 8 0 zombiepl 144 965 0 962 1 0 1 1 0 8 0 processpl 1152 1023 0 962 5 0 5 5 0 8 0 procpl 664 1760 0 1694 7 0 7 7 0 8 1 sockpl 552 1082 0 1054 12 4 8 8 0 8 5 mcl64k 65536 24 0 22 2 1 1 1 0 8 0 mcl16k 16384 3 0 3 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k128 9344 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 83 0 82 2 1 1 1 0 8 0 mcl4k 4096 3258 0 3196 13 5 8 12 0 8 0 mcl2k 2048 624 0 623 3 0 3 3 0 8 2 mtagpl 96 8 0 7 2 1 1 1 0 8 0 mbufpl 256 10196 0 10045 20 3 17 17 0 8 4 bufpl 272 6668 0 452 415 0 415 415 0 8 0 anonpl 24 161982 0 157655 66 8 58 58 0 187 18 amapchunkpl 152 25956 0 25502 48 14 34 34 0 158 14 amappl16 200 2900 0 2851 17 3 14 15 0 8 8 amappl15 192 16 0 16 1 1 0 1 0 8 0 amappl14 184 487 0 486 1 0 1 1 0 8 0 amappl13 176 128 0 119 1 0 1 1 0 8 0 amappl12 168 1279 0 1255 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 1 0 1 0 8 0 amappl10 152 57 0 47 1 0 1 1 0 8 0 amappl9 144 273 0 273 1 1 0 1 0 8 0 amappl8 136 133 0 132 1 0 1 1 0 8 0 amappl7 128 171 0 160 1 0 1 1 0 8 0 amappl6 120 217 0 213 1 0 1 1 0 8 0 amappl5 112 91 0 83 1 0 1 1 0 8 0 amappl4 104 278 0 263 1 0 1 1 0 8 0 amappl3 96 4862 0 4772 4 0 4 4 0 8 0 amappl2 88 579 0 526 2 0 2 2 0 8 0 amappl1 80 12894 0 12384 13 1 12 13 0 8 0 amappl 88 6783 0 6647 6 1 5 5 0 92 0 uvmvnodes 80 115 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 8 0 8 2 1 1 1 0 8 1 dma128 128 254 0 254 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 20 0 3 1 0 1 1 0 8 0 uaddrrnd 24 989 0 962 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 989 0 962 1 0 1 1 0 8 0 vmmpekpl 168 9274 0 9232 3 0 3 3 0 8 0 vmmpepl 168 69949 0 68313 93 1 92 92 0 357 15 vmsppl 368 988 0 962 4 1 3 4 0 8 0 rwobjpl 40 21416 0 20493 13 0 13 13 0 8 0 pdppl 4096 1984 0 1924 114 48 66 82 0 8 6 pvpl 32 449258 0 438596 142 3 139 139 0 265 40 pmappl 216 988 0 962 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 821 0 70 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(fffff8806ad4e480,ffff80002a80ada0,ffff80002a80add0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a80ad70) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a80ad70) at namei+0x7c3 sys/kern/vfs_lookup.c:250 check_exec(ffff80003a4d1cb0,ffff80002a80ae20) at check_exec+0x81 sys/kern/kern_exec.c:156 sys_execve(ffff80003a4d1cb0,ffff80002a80b2d0,ffff80002a80b220) at sys_execve+0x19a sys/kern/kern_exec.c:332 syscall(ffff80002a80b2d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80b2d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8918dcae000, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff8806ad4e480,ffff80002a80ada0,ffff80002a80add0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a80ad70) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff80002a80ad70) at namei+0x7c3 sys/kern/vfs_lookup.c:250 check_exec(ffff80003a4d1cb0,ffff80002a80ae20) at check_exec+0x81 sys/kern/kern_exec.c:156 sys_execve(ffff80003a4d1cb0,ffff80002a80b2d0,ffff80002a80b220) at sys_execve+0x19a sys/kern/kern_exec.c:332 syscall(ffff80002a80b2d0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a80b2d0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8918dcae000, count: -8