uvm_fault(0xffffffff839a9910, 0xffff800029ca2004, 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 *401168 48880 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffa8068571b10,ffff8000360cf300,ffff8000360cf330) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000360cf2d0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000360cf2d0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dofstatat(ffff80002f4b14d8,ffffff9c,200000000000,2000000000c0,2) at dofstatat+0xe4 sys/kern/vfs_syscalls.c:2025 syscall(ffff8000360cf530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000360cf530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x876f87000c0, count: 8 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(0xffffffff839a9910, 0xffff800029ca2004, 0, 1) -> d ddb> show kasan No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffa8068571b10,ffff8000360cf300,ffff8000360cf330) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000360cf2d0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000360cf2d0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dofstatat(ffff80002f4b14d8,ffffff9c,200000000000,2000000000c0,2) at dofstatat+0xe4 sys/kern/vfs_syscalls.c:2025 syscall(ffff8000360cf530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000360cf530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x876f87000c0, count: -7 ddb> show registers rdi 0 rsi 0x2 rbp 0xffff8000360cf100 rbx 0 rdx 0xffff8000015e5740 rcx 0xffffffff rax 0xffff80002f4b14d8 r8 0xffffffffffffffff r9 0xfffffa8007ffd618 r10 0x4029e26f96ec19eb r11 0xc307fab0a3f93328 r12 0xfffffa8063055dd8 r13 0 r14 0 r15 0xffff800029ca2000 rip 0xffffffff8279c3f3 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000360cf010 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=401168 pid=48880 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f4b1240,0xffffffff83a5daf0 process=0xffff800045ffa418 user=0xffff8000360ca000, vmspace=0xfffffa807cb81748 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 48880 127111 59903 0 2 0 0 syz-executor *48880 401168 59903 0 7 0 0x4000000 syz-executor 60459 390652 61433 0 3 0 0x80 nanoslp syz-executor 60459 115618 61433 0 3 0 0x4000080 ttyout syz-executor 21667 389038 25842 0 2 0 0xc80 syz-executor 21667 286450 25842 0 3 0 0x4000080 kqsel syz-executor 21667 245056 25842 0 3 0 0x4000080 fsleep syz-executor 21667 145019 25842 0 3 0 0x4000080 fsleep syz-executor 41924 159390 44558 0 2 0 0xc80 syz-executor 41924 347359 44558 0 3 0 0x4000080 ttyopn syz-executor 41924 218797 44558 0 3 0 0x4000080 ttyopn syz-executor 41924 481530 44558 0 3 0 0x4000080 fsleep syz-executor 45533 426250 27100 0 3 0 0x80 nanoslp syz-executor 45533 36982 27100 0 3 0 0x4000080 kqread syz-executor 45533 474926 27100 0 3 0 0x4000080 fsleep syz-executor 61433 270303 8436 0 3 0x2 0x80 nanoslp syz-executor 25842 321823 8436 0 3 0x2 0x80 nanoslp syz-executor 27100 74769 8436 0 2 0x2 0xc80 syz-executor 59903 38497 8436 0 2 0x2 0xc80 syz-executor 44558 362814 8436 0 3 0x2 0x80 nanoslp syz-executor 8436 1234 70354 0 3 0x2 0x80 wait syz-executor 70354 263635 8500 0 3 0x100002 0x88 sigsusp ksh 8500 386844 52487 0 3 0x10 0x88 kqread sshd-session 52487 83749 7826 0 3 0x12 0x80 kqread sshd-session 9700 286494 1 0 3 0x100003 0x80 ttyin getty 7826 363993 1 0 3 0 0x88 kqread sshd 59795 13045 19452 73 3 0x1100010 0x80 kqread syslogd 19452 136968 1 0 3 0x100002 0x80 sbwait syslogd 36591 349494 1 0 3 0x100000 0x80 kqread resolvd 52976 491626 76217 77 3 0x100012 0x80 kqread dhcpleased 23583 297047 76217 77 3 0x100012 0x80 kqread dhcpleased 76217 461679 1 0 3 0 0x80 kqread dhcpleased 58150 71884 0 0 3 0x14000 0x200 bored smr 16635 372761 0 0 2 0x14000 0x200 zerothread 17666 157877 0 0 3 0x14000 0x200 aiodoned aiodoned 98588 262251 0 0 3 0x14000 0x200 syncer update 92815 320780 0 0 3 0x14000 0x200 cleaner cleaner 52048 308291 0 0 3 0x14000 0x200 reaper reaper 65795 75742 0 0 3 0x14000 0x200 pgdaemon pagedaemon 3174 22773 0 0 3 0x14000 0x200 bored viomb 24408 487318 0 0 3 0x14000 0x40000200 acpi0 acpi0 27891 95372 0 0 3 0x14000 0x200 bored softnet0 61094 432626 0 0 3 0x14000 0x200 bored systqmp 49014 3537 0 0 3 0x14000 0x200 bored systq 49537 389878 0 0 3 0x14000 0x40000200 tmoslp softclock 42714 255405 0 0 3 0x14000 0x40000200 idle0 1 445926 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11045 12241K 12392K 166960K 13507 0 pcb 86 20K 20K 166960K 406 0 rtable 262 9K 10K 166960K 502 0 pf 35 14K 21K 166960K 207 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 64 0 sysctl 4 1K 9K 166960K 8 0 counters 33 17K 17K 166960K 37 0 ioctlops 0 0K 4K 166960K 356 0 iov 0 0K 12K 166960K 45 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1306 82K 83K 166960K 3009 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 24K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 11 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 53K 85K 166960K 1744 0 proc 60 59K 83K 166960K 593 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 1 0K 0K 166960K 167 0 in_multi 99 7K 7K 166960K 143 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 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 419 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 208 150K 160K 166960K 15866 0 UVM aobj 21 4K 4K 166960K 21 0 pinsyscall 36 72K 90K 166960K 2854 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 236 0 NDP 11 0K 2K 166960K 31 0 temp 67 9118K 9182K 166960K 66648 0 kqueue 15 24K 30K 166960K 157 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 173 0 170 1 0 1 1 0 8 0 rtentry 136 136 0 25 4 0 4 4 0 8 0 unpcb 144 719 0 702 2 0 2 2 0 8 1 syncache 336 64 0 64 2 1 1 1 0 8 1 tcpcb 736 676 0 672 2 0 2 2 0 8 1 arp 96 18 0 0 1 0 1 1 0 8 0 inpcb 328 1876 0 1864 2 0 2 2 0 8 0 ip6q 72 2 0 0 1 0 1 1 0 8 0 ip6af 40 3 0 0 1 0 1 1 0 8 0 nd6 112 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 3 0 3 2 1 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 4 0 2 1 0 1 1 0 8 0 pfanchor 1288 21 0 10 2 0 2 2 0 8 1 pfrule 1360 5 0 1 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 454 0 0 5 0 5 5 0 8 0 art_node 32 136 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 8 2 1 1 1 0 8 0 semapl 72 13 0 4 1 0 1 1 0 8 0 shmpl 112 18 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4375 0 2913 92 0 92 92 0 8 0 ffsino 256 4376 0 2914 92 0 92 92 0 8 0 nchpl 144 6380 0 4682 64 0 64 64 0 8 0 vnodes 216 5447 0 0 303 0 303 303 0 8 0 namei 1024 17608 0 17607 3 2 1 2 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 kstatmem 264 31 0 8 2 0 2 2 0 8 0 scxspl 216 23413 0 23413 10 2 8 8 1 8 8 plimitpl 152 82 0 65 1 0 1 1 0 8 0 sigapl 424 2042 0 2002 6 0 6 6 0 8 1 knotepl 120 76959 0 76662 55 39 16 36 0 8 6 kqueuepl 184 266 0 253 1 0 1 1 0 8 0 pipepl 304 147 0 120 3 0 3 3 0 8 0 fdescpl 448 2029 0 2002 4 0 4 4 0 8 0 filepl 120 8978 0 8691 10 0 10 10 0 8 0 lockfpl 104 416 0 414 1 0 1 1 0 8 0 lockfspl 48 154 0 152 1 0 1 1 0 8 0 sessionpl 144 29 0 21 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 1335 0 1324 1 0 1 1 0 8 0 zombiepl 144 2005 0 2002 2 1 1 1 0 8 0 processpl 1152 2042 0 2002 4 0 4 4 0 8 0 procpl 664 3876 0 3826 6 0 6 6 0 8 1 sockpl 552 2847 0 2750 8 0 8 8 0 8 0 mcl64k 65536 138 0 136 1 0 1 1 0 8 0 mcl16k 16384 58 0 58 2 1 1 1 0 8 1 mcl12k 12288 24 0 24 2 1 1 1 0 8 1 mcl9k128 9344 22 0 22 2 1 1 1 0 8 1 mcl8k 8192 449 0 448 1 0 1 1 0 8 0 mcl4k 4096 5711 0 5662 14 7 7 14 0 8 0 mcl2k2 2112 8 0 8 1 0 1 1 0 8 1 mcl2k 2048 1190 0 1179 3 1 2 2 0 8 0 mextrefs 64 1718 0 1717 2 1 1 1 0 8 0 mtagpl 96 12 0 12 2 1 1 1 0 8 1 mbufpl 256 21451 0 21354 13 0 13 13 0 8 4 bufpl 272 7326 0 1110 415 0 415 415 0 8 0 anonpl 24 220509 0 217421 46 0 46 46 0 187 14 amapchunkpl 152 51443 0 51020 29 0 29 29 0 158 9 amappl16 200 3667 0 3639 17 6 11 15 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 413 0 411 1 0 1 1 0 8 0 amappl13 176 117 0 107 1 0 1 1 0 8 0 amappl12 168 2267 0 2240 2 0 2 2 0 8 0 amappl11 160 37 0 37 1 1 0 1 0 8 0 amappl10 152 60 0 49 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 98 0 96 1 0 1 1 0 8 0 amappl7 128 143 0 132 1 0 1 1 0 8 0 amappl6 120 147 0 146 1 0 1 1 0 8 0 amappl5 112 92 0 84 1 0 1 1 0 8 0 amappl4 104 262 0 246 1 0 1 1 0 8 0 amappl3 96 11635 0 11536 4 0 4 4 0 8 0 amappl2 88 537 0 483 2 0 2 2 0 8 0 amappl1 80 16550 0 16005 13 0 13 13 0 8 1 amappl 88 14828 0 14682 5 0 5 5 0 92 0 uvmvnodes 80 116 0 0 3 0 3 3 0 8 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 7 0 7 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 20 0 0 1 0 1 1 0 8 0 uaddrrnd 24 2029 0 2002 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2029 0 2002 1 0 1 1 0 8 0 vmmpekpl 168 14789 0 14749 2 0 2 2 0 8 0 vmmpepl 168 124948 0 123264 92 0 92 92 0 357 12 vmsppl 368 2028 0 2002 4 1 3 4 0 8 0 rwobjpl 40 30426 0 29458 14 1 13 13 0 8 0 pdppl 4096 4064 0 4004 90 24 66 76 0 8 6 pvpl 32 833294 0 824631 127 1 126 126 0 265 26 pmappl 216 2028 0 2002 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 776 0 39 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(fffffa8068571b10,ffff8000360cf300,ffff8000360cf330) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000360cf2d0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000360cf2d0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dofstatat(ffff80002f4b14d8,ffffff9c,200000000000,2000000000c0,2) at dofstatat+0xe4 sys/kern/vfs_syscalls.c:2025 syscall(ffff8000360cf530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000360cf530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x876f87000c0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffa8068571b10,ffff8000360cf300,ffff8000360cf330) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000360cf2d0) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000360cf2d0) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dofstatat(ffff80002f4b14d8,ffffff9c,200000000000,2000000000c0,2) at dofstatat+0xe4 sys/kern/vfs_syscalls.c:2025 syscall(ffff8000360cf530) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000360cf530) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x876f87000c0, count: -7