uvm_fault(0xffffffff839a9f78, 0xffff800029752004, 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 * 77587 51670 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffc807f06f980,ffff8000338bdac0,ffff8000338bdaf0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000338bda90) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000338bda90) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domkdirat(ffff8000388e0a90,ffffff9c,200000000240,c4) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3048 syscall(ffff8000338bdc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338bdc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x222c7514920, 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(0xffffffff839a9f78, 0xffff800029752004, 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(fffffc807f06f980,ffff8000338bdac0,ffff8000338bdaf0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000338bda90) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000338bda90) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domkdirat(ffff8000388e0a90,ffffff9c,200000000240,c4) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3048 syscall(ffff8000338bdc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338bdc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x222c7514920, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff8000338bd820 rbx 0 rdx 0xffff8000015babc0 rcx 0xffffffff rax 0xffff8000388e0a90 r8 0xffffffffffffffff r9 0xfffffc8007ffd618 r10 0x668a1120057061b0 r11 0x1bc7af3209eff50c r12 0xfffffc807047c668 r13 0 r14 0 r15 0xffff800029752000 rip 0xffffffff82ea1583 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000338bd730 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=77587 pid=51670 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000388e0fc0,0xffff8000388e1500 process=0xffff80002a747188 user=0xffff8000338b8000, vmspace=0xfffffc806d1ad180 estcpu=30, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 16440 503635 26957 0 2 0 0 syz-executor 16440 49579 26957 0 3 0 0x4000080 fsleep syz-executor 2412 20875 93856 0 2 0 0 syz-executor 51670 24476 49189 0 2 0 0 syz-executor *51670 77587 49189 0 7 0 0x4000000 syz-executor 29006 151578 1 0 3 0x2 0x80 nanoslp getty 94064 20416 52231 0 3 0 0x80 nanoslp syz-executor 94064 177656 52231 0 3 0 0x4000080 netcon syz-executor 94064 206622 52231 0 3 0 0x4000080 fsleep syz-executor 73471 74984 53821 0 3 0 0x80 nanoslp syz-executor 73471 409068 53821 0 3 0 0x4000080 sbwait syz-executor 73471 167871 53821 0 3 0 0x4000080 fsleep syz-executor 63017 249475 0 0 3 0x14000 0x280 nfsidl nfsio 18664 31799 0 0 3 0x14000 0x280 nfsidl nfsio 89733 188159 0 0 3 0x14000 0x280 nfsidl nfsio 81671 159373 0 0 3 0x14000 0x280 nfsidl nfsio 80782 285066 0 0 3 0x14000 0x280 nfsidl nfsio 40798 113928 0 0 3 0x14000 0x280 nfsidl nfsio 44362 470435 0 0 3 0x14000 0x280 nfsidl nfsio 78427 275399 0 0 3 0x14000 0x280 nfsidl nfsio 24142 302386 0 0 3 0x14000 0x280 nfsidl nfsio 95271 315191 0 0 3 0x14000 0x280 nfsidl nfsio 15092 402729 0 0 3 0x14000 0x280 nfsidl nfsio 67949 285319 0 0 3 0x14000 0x280 nfsidl nfsio 32080 369584 0 0 3 0x14000 0x280 nfsidl nfsio 53580 166304 0 0 3 0x14000 0x280 nfsidl nfsio 51697 420315 0 0 3 0x14000 0x280 nfsidl nfsio 14978 93928 0 0 3 0x14000 0x280 nfsidl nfsio 31271 289590 0 0 3 0x14000 0x280 nfsidl nfsio 27377 9928 0 0 3 0x14000 0x280 nfsidl nfsio 43131 216848 0 0 3 0x14000 0x280 nfsidl nfsio 7570 329077 0 0 3 0x14000 0x280 nfsidl nfsio 52231 92391 19786 0 3 0x2 0x80 nanoslp syz-executor 93856 190867 19786 0 3 0x2 0x80 nanoslp syz-executor 26957 202689 19786 0 3 0x2 0x80 nanoslp syz-executor 53821 82921 19786 0 3 0x2 0x80 nanoslp syz-executor 49189 137406 19786 0 3 0x2 0x80 nanoslp syz-executor 19786 271012 1 0 3 0x2 0x80 wait syz-executor 85880 186246 0 0 3 0x14000 0x200 bored smr 1376 58689 0 0 2 0x14000 0x200 zerothread 46124 340801 0 0 3 0x14000 0x200 aiodoned aiodoned 69082 192353 0 0 3 0x14000 0x200 syncer update 9664 22435 0 0 3 0x14000 0x200 cleaner cleaner 6485 482592 0 0 3 0x14000 0x200 reaper reaper 90445 470600 0 0 3 0x14000 0x200 pgdaemon pagedaemon 26809 99015 0 0 3 0x14000 0x200 bored viomb 37154 280855 0 0 3 0x14000 0x40000200 acpi0 acpi0 5250 462098 0 0 3 0x14000 0x200 bored softnet0 27435 285679 0 0 3 0x14000 0x200 bored systqmp 30698 146796 0 0 3 0x14000 0x200 bored systq 36521 9057 0 0 3 0x14000 0x40000200 tmoslp softclock 41083 322855 0 0 3 0x14000 0x40000200 idle0 1 76035 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 11030 12123K 12354K 166960K 12816 0 pcb 18 18K 21K 166960K 251 0 rtable 226 8K 8K 166960K 504 0 pf 31 13K 20K 166960K 119 0 ifaddr 33 5K 7K 166960K 63 0 ifgroup 42 1K 2K 166960K 82 0 sysctl 4 1K 9K 166960K 17 0 counters 31 17K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 156 0 iov 0 0K 16K 166960K 99 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 81K 82K 166960K 1841 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 48 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 14 53K 232K 166960K 723 0 sigio 0 0K 0K 166960K 5 0 proc 20 25K 100K 166960K 600 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 0 0K 0K 166960K 128 0 in_multi 76 5K 6K 166960K 119 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 19 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 422 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 112 81K 172K 166960K 7998 0 UVM aobj 20 2K 2K 166960K 25 0 pinsyscall 17 34K 92K 166960K 1828 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 25 0 NDP 9 0K 2K 166960K 40 0 temp 54 9115K 9177K 166960K 23113 0 kqueue 1 2K 32K 166960K 122 0 SYN cache 2 16K 24K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 123 0 123 2 0 2 2 0 8 2 rtentry 136 153 0 59 4 0 4 4 0 8 0 unpcb 144 337 0 335 3 0 3 3 0 8 2 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 152 0 147 1 0 1 1 0 8 0 arp 96 30 0 14 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 731 0 720 9 0 9 9 0 8 7 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 31 0 9 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 14 0 14 1 0 1 1 0 8 1 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfstscr 40 14 0 6 1 0 1 1 0 8 0 pfrktable 1344 3 0 3 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 9 0 4 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 9 0 2 1 0 1 1 0 8 0 pfstkey 128 13 0 5 1 0 1 1 0 8 0 pfstate 384 7 0 3 1 0 1 1 0 8 0 pfrule 1360 11 0 10 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 562 0 164 29 0 29 29 0 8 3 art_table 40 565 0 164 5 0 5 5 0 8 0 art_node 32 153 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 45 0 35 1 0 1 1 0 8 0 shmpl 112 22 0 5 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2621 0 1168 92 0 92 92 0 8 0 ffsino 256 2621 0 1168 92 0 92 92 0 8 0 nchpl 144 3634 0 1939 64 0 64 64 0 8 0 vnodes 216 2974 0 0 166 0 166 166 0 8 0 namei 1024 12127 0 12126 2 0 2 2 0 8 1 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 49 0 30 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 17719 0 17719 8 0 8 8 1 8 8 plimitpl 152 167 0 157 1 0 1 1 0 8 0 sigapl 424 1030 0 980 8 0 8 8 0 8 0 knotepl 120 27290 0 27273 17 7 10 17 0 8 8 kqueuepl 184 240 0 239 4 0 4 4 0 8 3 pipepl 304 160 0 133 3 0 3 3 0 8 0 fdescpl 448 997 0 980 4 0 4 4 0 8 0 filepl 120 5555 0 5394 11 0 11 11 0 8 3 lockfpl 104 165 0 164 1 0 1 1 0 8 0 lockfspl 48 75 0 74 1 0 1 1 0 8 0 sessionpl 144 81 0 78 1 0 1 1 0 8 0 pgrppl 48 92 0 81 1 0 1 1 0 8 0 ucredpl 104 796 0 792 1 0 1 1 0 8 0 zombiepl 144 983 0 980 1 0 1 1 0 8 0 processpl 1152 1030 0 980 5 0 5 5 0 8 0 procpl 664 1877 0 1821 7 0 7 7 0 8 0 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 1211 0 1198 9 0 9 9 0 8 7 mcl64k 65536 35 0 35 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 3339 0 3288 14 0 14 14 0 8 7 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 596 0 591 3 0 3 3 0 8 2 mextrefs 64 301 0 301 1 0 1 1 0 8 1 mtagpl 96 8 0 7 1 0 1 1 0 8 0 mbufpl 256 10386 0 10266 17 0 17 17 0 8 5 bufpl 272 6533 0 317 415 0 415 415 0 8 0 anonpl 24 170710 0 169241 46 0 46 46 0 187 20 amapchunkpl 152 27612 0 27326 29 0 29 29 0 158 13 amappl16 200 3177 0 3154 20 8 12 19 0 8 8 amappl15 192 17 0 17 1 0 1 1 0 8 1 amappl14 184 415 0 415 1 0 1 1 0 8 1 amappl13 176 120 0 119 1 0 1 1 0 8 0 amappl12 168 1268 0 1253 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 62 0 62 1 0 1 1 0 8 1 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 120 0 120 1 0 1 1 0 8 1 amappl7 128 146 0 142 1 0 1 1 0 8 0 amappl6 120 155 0 154 1 0 1 1 0 8 0 amappl5 112 106 0 105 1 0 1 1 0 8 0 amappl4 104 284 0 280 1 0 1 1 0 8 0 amappl3 96 5169 0 5106 4 0 4 4 0 8 1 amappl2 88 541 0 531 2 0 2 2 0 8 0 amappl1 80 12547 0 12439 14 0 14 14 0 8 5 amappl 88 7192 0 7094 5 0 5 5 0 92 0 uvmvnodes 80 120 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 255 0 255 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 8 0 8 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 24 0 5 1 0 1 1 0 8 0 uaddrrnd 24 997 0 980 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 997 0 980 1 0 1 1 0 8 0 vmmpekpl 168 9356 0 9315 3 0 3 3 0 8 0 vmmpepl 168 69794 0 69066 90 0 90 90 0 357 41 vmsppl 368 996 0 980 4 0 4 4 0 8 1 rwobjpl 40 21388 0 20952 13 0 13 13 0 8 0 pdppl 4096 2000 0 1960 90 38 52 74 0 8 12 pvpl 32 457428 0 453553 116 0 116 116 0 265 54 pmappl 216 996 0 980 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 777 0 38 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(fffffc807f06f980,ffff8000338bdac0,ffff8000338bdaf0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000338bda90) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000338bda90) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domkdirat(ffff8000388e0a90,ffffff9c,200000000240,c4) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3048 syscall(ffff8000338bdc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338bdc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x222c7514920, 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(fffffc807f06f980,ffff8000338bdac0,ffff8000338bdaf0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff8000338bda90) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff8000338bda90) at namei+0x7c3 sys/kern/vfs_lookup.c:250 domkdirat(ffff8000388e0a90,ffffff9c,200000000240,c4) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3048 syscall(ffff8000338bdc60) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338bdc60) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x222c7514920, count: -7 ddb>