uvm_fault(0xffffffff83aa38c8, 0xffff800027c82004, 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 * 95944 65495 0 0 0x4000000 0 syz-executor ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff50068196288,ffff800035cb3d30,ffff800035cb3d60) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cb3d00) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cb3d00) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dosymlinkat(ffff80002f0a07e0,200000000200,ffffff9c,200000000000) at dosymlinkat+0xef sys/kern/vfs_syscalls.c:1746 syscall(ffff800035cb3ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cb3ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddad3d77da0, 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(0xffffffff83aa38c8, 0xffff800027c82004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x613 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffff50068196288,ffff800035cb3d30,ffff800035cb3d60) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cb3d00) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cb3d00) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dosymlinkat(ffff80002f0a07e0,200000000200,ffffff9c,200000000000) at dosymlinkat+0xef sys/kern/vfs_syscalls.c:1746 syscall(ffff800035cb3ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cb3ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddad3d77da0, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff800035cb3a90 rbx 0 rdx 0xffff8000018a3e40 rcx 0xffffffff rax 0xffff80002f0a07e0 r8 0xffffffffffffffff r9 0xfffff50007ffd8f0 r10 0x7efa3d90c8dcb8b r11 0x4d2074867922c85b r12 0xfffff50067c37010 r13 0 r14 0 r15 0xffff800027c82000 rip 0xffffffff81051233 ufs_lookup+0x613 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800035cb39a0 ss 0x10 ufs_lookup+0x613: movzwl 0x4(%r15,%r14,1),%ebx ddb> show proc PROC (syz-executor) tid=95944 pid=65495 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f0a0a78,0xffff80002f0a0028 process=0xffff807fffffad18 user=0xffff800035cae000, vmspace=0xfffff5006bdd4460 estcpu=33, cpticks=9, pctcpu=0.6, user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 85339 212633 35607 0 2 0 syz-executor 85339 103177 35607 0 3 0x4000080 fsleep syz-executor 45364 120926 97185 0 2 0 syz-executor 45364 167136 97185 0 3 0x4000080 fsleep syz-executor 45364 447716 97185 0 3 0x4000080 fsleep syz-executor 95942 222485 45907 0 3 0x80 nanoslp syz-executor 95942 216638 45907 0 3 0x4000080 sbwait syz-executor 95942 116758 45907 0 3 0x4000080 fsleep syz-executor 65495 172989 48833 0 2 0 syz-executor *65495 95944 48833 0 7 0x4000000 syz-executor 65495 196751 48833 0 3 0x4000080 fsleep syz-executor 48833 276157 95908 0 3 0x82 nanoslp syz-executor 45907 257403 95908 0 3 0x82 nanoslp syz-executor 97185 203070 95908 0 3 0x82 nanoslp syz-executor 80471 358293 95908 0 3 0x82 nanoslp syz-executor 35607 488761 95908 0 3 0x82 nanoslp syz-executor 95908 396160 89632 0 3 0x82 wait syz-executor 89632 233959 94097 0 3 0x10008a sigsusp ksh 94097 168479 9246 0 3 0x98 kqread sshd-session 9246 46587 83481 0 3 0x92 kqread sshd-session 53496 203203 1 0 3 0x100083 ttyin getty 83481 55880 1 0 3 0x88 kqread sshd 14974 21842 39930 73 3 0x1100090 kqread syslogd 39930 176477 1 0 3 0x100082 sbwait syslogd 56651 218696 1 0 3 0x100080 kqread resolvd 55047 459032 29929 77 3 0x100092 kqread dhcpleased 83358 146253 29929 77 3 0x100092 kqread dhcpleased 29929 105779 1 0 3 0x80 kqread dhcpleased 25222 263399 0 0 3 0x14200 bored smr 73092 210197 0 0 2 0x14200 zerothread 82851 347972 0 0 3 0x14200 aiodoned aiodoned 40266 444209 0 0 3 0x14200 syncer update 63423 373899 0 0 3 0x14200 cleaner cleaner 54041 174670 0 0 3 0x14200 reaper reaper 72298 363837 0 0 3 0x14200 pgdaemon pagedaemon 64855 60858 0 0 3 0x14200 bored viomb 10144 155046 0 0 3 0x40014200 acpi0 acpi0 2796 155724 0 0 2 0x14200 softnet0 50216 273459 0 0 3 0x14200 bored systqmp 88021 27070 0 0 3 0x14200 bored systq 98582 343311 0 0 3 0x40014200 tmoslp softclock 30488 43190 0 0 3 0x40014200 idle0 1 28633 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 11071 12179K 14427K 166960K 14186 0 pcb 19 14K 15K 166960K 235 0 rtable 239 10K 11K 166960K 733 0 pf 36 14K 18K 166960K 303 0 ifaddr 39 6K 8K 166960K 102 0 ifgroup 49 2K 2K 166960K 166 0 sysctl 4 1K 9K 166960K 79 0 counters 35 18K 18K 166960K 92 0 ioctlops 0 0K 4K 166960K 338 0 iov 0 0K 16K 166960K 63 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1584 99K 100K 166960K 2428 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 19 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 129 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 97K 166960K 1165 0 sigio 0 0K 0K 166960K 17 0 proc 65 67K 124K 166960K 615 0 subproc 63 3K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 188 0 in_multi 73 5K 7K 166960K 144 0 ether_multi 1 0K 0K 166960K 3 0 mrt 2 0K 0K 166960K 36 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 557 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 198 142K 174K 166960K 12042 0 UVM aobj 35 2K 2K 166960K 37 0 pinsyscall 35 70K 96K 166960K 2303 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 49 0 NDP 12 0K 2K 166960K 68 0 temp 68 9119K 9178K 166960K 36900 0 kqueue 13 20K 32K 166960K 227 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 237 0 234 5 2 3 3 0 8 2 rtentry 136 239 0 154 4 0 4 4 0 8 0 unpcb 144 1005 0 987 10 4 6 6 0 8 5 syncache 336 11 0 11 1 0 1 1 0 8 1 tcpqe 32 6 0 6 1 1 0 1 0 8 0 tcpcb 736 244 0 239 2 0 2 2 0 8 1 arp 96 33 0 12 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 971 0 959 9 2 7 7 0 8 6 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 2 1 0 1 1 0 8 0 nd6 112 34 0 18 1 0 1 1 0 8 0 pkpcb 40 12 0 12 2 1 1 1 0 8 1 kcovpl 48 9 0 2 1 0 1 1 0 8 0 ppxss 1072 45 0 43 1 0 1 1 0 8 0 pppxif 1416 7 0 7 2 1 1 1 0 8 1 pfstscr 40 42 0 35 2 1 1 1 0 8 0 pfosfp 40 1 0 1 1 0 1 1 0 8 1 pfosfpen 112 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 2 0 1 1 0 1 1 0 8 0 pfstitem 24 10 0 2 1 0 1 1 0 8 0 pfstkey 128 75 0 65 2 1 1 1 0 8 0 pfstate 384 38 0 34 2 1 1 1 0 8 0 pfrule 1360 41 0 40 1 0 1 1 0 8 0 rttmr 136 5 0 5 2 1 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 798 0 424 33 2 31 33 0 8 6 art_table 40 802 0 424 6 0 6 6 0 8 0 art_node 32 234 0 160 2 0 2 2 0 8 1 sysvmsgpl 40 27 0 12 1 0 1 1 0 8 0 semapl 72 123 0 113 1 0 1 1 0 8 0 shmpl 112 34 0 2 1 0 1 1 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3549 0 2094 92 0 92 92 0 8 0 ffsino 256 3550 0 2095 92 0 92 92 0 8 0 nchpl 144 5172 0 3477 64 0 64 64 0 8 0 rtmask 32 12 0 11 2 1 1 1 0 8 0 vnodes 216 4276 0 0 238 0 238 238 0 8 0 namei 1024 18628 0 18626 3 2 1 2 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 101 0 76 2 0 2 2 0 8 0 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 24415 0 24415 9 7 2 8 1 8 2 plimitpl 152 278 0 261 1 0 1 1 0 8 0 sigapl 424 1462 0 1422 7 1 6 6 0 8 1 knotepl 120 42421 0 42374 19 9 10 16 0 8 7 kqueuepl 184 359 0 348 3 0 3 3 0 8 2 pipepl 304 219 0 192 5 2 3 5 0 8 0 fdescpl 448 1448 0 1422 5 1 4 5 0 8 0 filepl 120 9588 0 9384 16 1 15 15 0 8 6 lockfpl 104 557 0 554 2 0 2 2 0 8 1 lockfspl 48 214 0 211 1 0 1 1 0 8 0 sessionpl 144 140 0 132 1 0 1 1 0 8 0 pgrppl 48 156 0 140 1 0 1 1 0 8 0 ucredpl 104 1713 0 1701 1 0 1 1 0 8 0 zombiepl 144 1426 0 1422 1 0 1 1 0 8 0 processpl 1152 1462 0 1422 4 0 4 4 0 8 0 procpl 664 3024 0 2977 6 0 6 6 0 8 0 sosppl 176 4 0 4 1 1 0 1 0 8 0 sockpl 552 2257 0 2224 23 12 11 12 0 8 8 mcl64k 65536 151 0 149 2 1 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 15 0 14 2 1 1 1 0 8 0 mcl4k 4096 4004 8 3945 15 7 8 15 0 8 0 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 942 15 937 3 1 2 2 0 8 1 mtagpl 96 12 0 11 1 0 1 1 0 8 0 mbufpl 256 15315 0 15170 31 8 23 31 0 8 7 bufpl 272 8550 0 2335 415 0 415 415 0 8 0 anonpl 24 220525 0 217503 73 28 45 73 0 88 2 amapchunkpl 152 48530 0 48127 48 13 35 35 0 158 14 amappl16 200 4464 0 4436 33 18 15 26 0 8 6 amappl15 192 39 0 39 1 1 0 1 0 8 0 amappl14 184 453 0 452 1 0 1 1 0 8 0 amappl13 176 140 0 130 1 0 1 1 0 8 0 amappl12 168 1695 0 1670 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 1 0 1 0 8 0 amappl10 152 57 0 46 1 0 1 1 0 8 0 amappl9 144 272 0 272 1 1 0 1 0 8 0 amappl8 136 101 0 99 1 0 1 1 0 8 0 amappl7 128 146 0 134 1 0 1 1 0 8 0 amappl6 120 160 0 158 1 0 1 1 0 8 0 amappl5 112 94 0 85 1 0 1 1 0 8 0 amappl4 104 269 0 253 1 0 1 1 0 8 0 amappl3 96 8197 0 8103 4 0 4 4 0 8 0 amappl2 88 539 0 484 2 0 2 2 0 8 0 amappl1 80 14450 0 13909 13 1 12 13 0 8 0 amappl 88 11069 0 10931 5 0 5 5 0 92 0 uvmvnodes 80 132 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 8 0 8 2 1 1 1 0 8 1 dma128 128 255 0 255 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 36 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1448 0 1422 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1448 0 1422 1 0 1 1 0 8 0 vmmpekpl 168 12640 0 12595 3 0 3 3 0 8 0 vmmpepl 168 96951 0 95306 108 16 92 101 0 357 9 vmsppl 368 1447 0 1422 4 1 3 4 0 8 0 rwobjpl 40 27092 0 26111 15 0 15 15 0 8 0 pdppl 4096 2902 0 2844 106 40 66 82 0 8 8 pvpl 32 629534 0 620603 166 45 121 149 0 265 20 pmappl 216 1447 0 1422 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 819 0 66 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(fffff50068196288,ffff800035cb3d30,ffff800035cb3d60) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cb3d00) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cb3d00) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dosymlinkat(ffff80002f0a07e0,200000000200,ffffff9c,200000000000) at dosymlinkat+0xef sys/kern/vfs_syscalls.c:1746 syscall(ffff800035cb3ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cb3ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddad3d77da0, 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(fffff50068196288,ffff800035cb3d30,ffff800035cb3d60) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff800035cb3d00) at vfs_lookup+0x94a sys/kern/vfs_lookup.c:580 namei(ffff800035cb3d00) at namei+0x7c3 sys/kern/vfs_lookup.c:250 dosymlinkat(ffff80002f0a07e0,200000000200,ffffff9c,200000000000) at dosymlinkat+0xef sys/kern/vfs_syscalls.c:1746 syscall(ffff800035cb3ed0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800035cb3ed0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xddad3d77da0, count: -7