uvm_fault(0xffffffff835e0c80, 0xffff800022292004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND *335580 3284 0 0x8000000 0x4000000 0 syz-executor.5 ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8068ab4e80,ffff80002a6afa70,ffff80002a6afaa0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a6afa40) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002a6afa40) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80002a6afa40,102,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a55b6f8,ffff80002a6afc20,ffff80002a6afb70) at sys_ktrace+0x9a sys/kern/kern_ktrace.c:542 syscall(ffff80002a6afc20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3bf313d6be0, 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(0xffffffff835e0c80, 0xffff800022292004, 0, 1) -> d ddb> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8068ab4e80,ffff80002a6afa70,ffff80002a6afaa0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a6afa40) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002a6afa40) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80002a6afa40,102,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a55b6f8,ffff80002a6afc20,ffff80002a6afb70) at sys_ktrace+0x9a sys/kern/kern_ktrace.c:542 syscall(ffff80002a6afc20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3bf313d6be0, count: -8 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a6af750 rbx 0 rdx 0xfffffd807baaa4a8 rcx 0xffffffff rax 0xfffffd807baaac10 r8 0xffffffffffffffff r9 0xfffffd807f7d7680 r10 0xfe18183c4a6601d1 r11 0x580e5570e99a142a r12 0 r13 0xfffffd8068ae1d30 r14 0 r15 0xffff800022292000 rip 0xffffffff818c4f21 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a6af640 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb> show proc PROC (syz-executor.5) tid=335580 pid=3284 tcnt=3 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a55acd8,0xffff80002a55a550 process=0xffff80002a55de10 user=0xffff80002a6aa000, vmspace=0xfffffd80692dfad0 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3284 419755 99539 0 2 0x8000000 syz-executor.5 3284 522014 99539 0 2 0xc000000 syz-executor.5 * 3284 335580 99539 0 7 0xc000000 syz-executor.5 28659 157178 50990 0 2 0x8000000 syz-executor.4 28659 151379 50990 0 3 0xc000080 fsleep syz-executor.4 28659 161237 50990 0 3 0xc000080 fsleep syz-executor.4 53816 385140 9074 0 2 0x8000000 syz-executor.6 53816 449672 9074 0 3 0xc000080 lockf syz-executor.6 79026 433814 78672 0 2 0x8000480 syz-executor.1 79026 166887 78672 0 3 0xc000080 lockf syz-executor.1 79026 382586 78672 0 3 0xc000080 fsleep syz-executor.1 56788 157664 16091 0 2 0x8000000 syz-executor.2 56788 379087 16091 0 3 0xc000080 fsleep syz-executor.2 54400 171731 52165 0 2 0x8000000 syz-executor.0 54400 51847 52165 0 3 0xc000080 fsleep syz-executor.0 54400 113479 52165 0 2 0xc000000 syz-executor.0 98185 176570 4590 0 2 0x8000000 syz-executor.3 98185 150550 4590 0 3 0xc000080 fsleep syz-executor.3 98185 179894 4590 0 2 0xc000000 syz-executor.3 23444 446865 19670 0 2 0x8000482 syz-executor.7 9074 390117 19670 0 2 0x8000482 syz-executor.6 50990 388418 19670 0 2 0x8000482 syz-executor.4 4590 404790 19670 0 2 0x8000482 syz-executor.3 99539 77152 19670 0 2 0x8000482 syz-executor.5 16091 321139 19670 0 2 0x8000482 syz-executor.2 78672 500492 19670 0 2 0x8000482 syz-executor.1 52165 136034 19670 0 2 0x8000482 syz-executor.0 19670 201132 35907 0 3 0x18000082 wait syz-execprog 19670 182306 35907 0 3 0x1c000082 thrsleep syz-execprog 19670 34448 35907 0 3 0x1c000082 wait syz-execprog 19670 152054 35907 0 3 0x1c000082 wait syz-execprog 19670 163726 35907 0 3 0x1c000082 wait syz-execprog 19670 377688 35907 0 3 0x1c000082 thrsleep syz-execprog 19670 390788 35907 0 3 0x1c000082 wait syz-execprog 19670 165943 35907 0 3 0x1c000082 wait syz-execprog 19670 196005 35907 0 3 0x1c000082 thrsleep syz-execprog 19670 121429 35907 0 3 0x1c000082 thrsleep syz-execprog 19670 175812 35907 0 3 0x1c000082 wait syz-execprog 19670 41205 35907 0 3 0x1c000082 wait syz-execprog 19670 324543 35907 0 3 0x1c000082 kqread syz-execprog 19670 343870 35907 0 3 0x1c000082 thrsleep syz-execprog 35907 34063 95490 0 3 0x810008a sigsusp ksh 95490 455277 13298 0 3 0x18000098 kqread sshd-session 13298 421145 57651 0 3 0x18000092 kqread sshd-session 30910 492365 1 0 3 0x18100083 ttyin getty 57651 153551 1 0 3 0x18000088 kqread sshd 4659 218491 47621 73 3 0x19100090 kqread syslogd 47621 6 1 0 3 0x18100082 sbwait syslogd 43348 65188 1 0 3 0x18100080 kqread resolvd 76660 354980 27980 77 3 0x18100092 kqread dhcpleased 7396 200501 27980 77 3 0x18100092 kqread dhcpleased 27980 365632 1 0 3 0x18000080 kqread dhcpleased 91099 343045 0 0 3 0x14200 bored smr 11173 426396 0 0 2 0x14200 zerothread 82896 253827 0 0 3 0x14200 aiodoned aiodoned 61648 245969 0 0 3 0x14200 syncer update 80640 455456 0 0 3 0x14200 cleaner cleaner 82871 278695 0 0 3 0x14200 reaper reaper 24309 282477 0 0 3 0x14200 pgdaemon pagedaemon 93064 351349 0 0 3 0x14200 bored viomb 15389 93658 0 0 3 0x40014200 acpi0 acpi0 13564 76596 0 0 3 0x14200 bored softnet3 63368 193074 0 0 3 0x14200 bored softnet2 13843 308396 0 0 3 0x14200 bored softnet1 27611 477599 0 0 3 0x14200 bored softnet0 79714 474670 0 0 3 0x14200 bored systqmp 63239 587 0 0 3 0x14200 bored systq 21731 343955 0 0 3 0x40014200 tmoslp softclock 36203 518204 0 0 3 0x40014200 idle0 1 36685 0 0 3 0x8000082 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 10163 10081K 10093K 166960K 11244 0 pcb 17 12K 12K 166960K 17 0 rtable 234 6K 6K 166960K 382 0 pf 30 12K 12K 166960K 33 0 ifaddr 42 7K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 55 0 counters 30 17K 17K 166960K 31 0 ioctlops 0 0K 2K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1259 79K 79K 166960K 1276 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 81K 166960K 3048 0 proc 55 58K 75K 166960K 498 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 in_multi 99 7K 7K 166960K 110 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 25 122K 122K 166960K 25 0 exec 0 0K 1K 166960K 409 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 286 76K 76K 166960K 31156 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 104K 166960K 4377 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 11 0K 2K 166960K 30 0 temp 1 6800K 6928K 166960K 311201 0 kqueue 13 20K 20K 166960K 46 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 39 0 36 1 0 1 1 0 8 0 rtentry 112 122 0 12 4 0 4 4 0 8 0 unpcb 144 67 0 52 1 0 1 1 0 8 0 syncache 336 9 0 9 1 0 1 1 0 8 1 tcpcb 808 12 0 9 1 0 1 1 0 8 0 arp 88 20 0 2 1 0 1 1 0 8 0 inpcb 336 66 0 60 1 0 1 1 0 8 0 nd6 104 27 0 3 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 48 29 0 29 29 0 8 0 art_table 32 502 0 48 4 0 4 4 0 8 0 art_node 16 121 0 21 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 7401 0 4854 160 0 160 160 0 8 0 ffsino 240 7401 0 4854 150 0 150 150 0 8 0 nchpl 144 13480 0 11695 67 0 67 67 0 8 0 uvmvnodes 80 6255 0 0 128 0 128 128 0 8 0 vnodes 216 6255 0 0 348 0 348 348 0 8 0 namei 1024 33511 0 33510 3 0 3 3 0 8 2 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 39385 0 39385 8 0 8 8 1 8 8 plimitpl 152 58 0 42 1 0 1 1 0 8 0 sigapl 424 3390 0 3344 6 0 6 6 0 8 0 futexpl 64 14328 0 14322 1 0 1 1 0 8 0 knotepl 120 7317 0 7238 3 0 3 3 0 8 0 kqueuepl 184 42 0 33 1 0 1 1 0 8 0 pipepl 288 184 0 156 3 0 3 3 0 8 0 fdescpl 432 3374 0 3345 4 0 4 4 0 8 0 filepl 120 10724 0 10583 5 0 5 5 0 8 0 lockfpl 104 5780 0 5775 1 0 1 1 0 8 0 lockfspl 48 709 0 706 1 0 1 1 0 8 0 sessionpl 144 34 0 18 1 0 1 1 0 8 0 pgrppl 48 34 0 18 1 0 1 1 0 8 0 ucredpl 104 112 0 100 1 0 1 1 0 8 0 zombiepl 144 3345 0 3344 1 0 1 1 0 8 0 processpl 1096 3390 0 3344 4 0 4 4 0 8 0 procpl 648 7788 0 7717 7 0 7 7 0 8 0 sockpl 504 172 0 148 4 0 4 4 0 8 1 mcl8k 8192 13 0 13 1 0 1 1 0 8 1 mcl4k 4096 9 0 9 1 0 1 1 0 8 1 mcl2k 2048 19067 0 18957 51 28 23 42 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 23306 0 23056 23 7 16 22 0 8 0 bufpl 280 12177 0 5849 453 0 453 453 0 8 0 anonpl 24 507693 0 502441 51 0 51 51 0 187 18 amapchunkpl 152 100351 0 99661 30 0 30 30 0 158 3 amappl16 200 12417 0 12316 6 0 6 6 0 8 0 amappl15 192 20 0 20 1 0 1 1 0 8 1 amappl14 184 246 0 233 2 0 2 2 0 8 0 amappl13 176 16 0 16 1 0 1 1 0 8 1 amappl12 168 4065 0 4035 2 0 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 77 0 67 1 0 1 1 0 8 0 amappl9 144 357 0 357 1 0 1 1 0 8 1 amappl8 136 151 0 125 2 0 2 2 0 8 0 amappl7 128 237 0 223 2 0 2 2 0 8 0 amappl6 120 290 0 286 1 0 1 1 0 8 0 amappl5 112 221 0 212 1 0 1 1 0 8 0 amappl4 104 501 0 482 2 0 2 2 0 8 1 amappl3 96 21012 0 20912 3 0 3 3 0 8 0 amappl2 88 4048 0 3974 4 0 4 4 0 8 1 amappl1 80 23945 0 23381 26 7 19 23 0 8 6 amappl 88 30416 0 30216 5 0 5 5 0 92 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 3374 0 3345 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3374 0 3345 1 0 1 1 0 8 0 vmmpekpl 168 30335 0 30304 2 0 2 2 0 8 0 vmmpepl 168 195768 0 193897 117 0 117 117 0 357 34 vmsppl 344 3373 0 3345 4 0 4 4 0 8 1 rwobjpl 24 69013 0 61740 44 0 44 44 0 8 0 pdppl 4096 6754 0 6690 132 66 66 74 0 8 2 pvpl 32 1204887 0 1193687 370 73 297 370 0 265 205 pmappl 216 3373 0 3345 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 567 0 101 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8068ab4e80,ffff80002a6afa70,ffff80002a6afaa0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a6afa40) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002a6afa40) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80002a6afa40,102,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a55b6f8,ffff80002a6afc20,ffff80002a6afb70) at sys_ktrace+0x9a sys/kern/kern_ktrace.c:542 syscall(ffff80002a6afc20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3bf313d6be0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8068ab4e80,ffff80002a6afa70,ffff80002a6afaa0) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a6afa40) at vfs_lookup+0x8e1 sys/kern/vfs_lookup.c:566 namei(ffff80002a6afa40) at namei+0x7aa sys/kern/vfs_lookup.c:250 vn_open(ffff80002a6afa40,102,0) at vn_open+0x13f sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a55b6f8,ffff80002a6afc20,ffff80002a6afb70) at sys_ktrace+0x9a sys/kern/kern_ktrace.c:542 syscall(ffff80002a6afc20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3bf313d6be0, count: -8