uvm_fault(0xffffffff8355a950, 0xffff800014ea2004, 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 *500935 52653 0 0 0x4000000 0K syz-executor 426248 38748 73 0x1100010 0 1 syslogd ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd806206d100,ffff80002a0a4d98,ffff80002a0a4dc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0a4d68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0a4d68) at namei+0x7aa sys/kern/vfs_lookup.c:250 sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 change_dir sys/kern/vfs_syscalls.c:839 [inline] sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 sys/kern/vfs_syscalls.c:811 syscall(ffff80002a0a4f40) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a4f40) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99ac9c19390, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff8355a950, 0xffff800014ea2004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd806206d100,ffff80002a0a4d98,ffff80002a0a4dc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0a4d68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0a4d68) at namei+0x7aa sys/kern/vfs_lookup.c:250 sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 change_dir sys/kern/vfs_syscalls.c:839 [inline] sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 sys/kern/vfs_syscalls.c:811 syscall(ffff80002a0a4f40) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a4f40) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99ac9c19390, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a0a4bb0 rbx 0 rdx 0 rcx 0xffffffff rax 0xfffffd8074474480 r8 0xffffffffffffffff r9 0xfffffd807f7d3478 r10 0xb33ce9d8faada2cf r11 0xc07b7127285a8250 r12 0 r13 0xfffffd8073fdd560 r14 0 r15 0xffff800014ea2000 rip 0xffffffff81d560d1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a0a4aa0 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor) tid=500935 pid=52653 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=84, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffdbe8,0xffff8000371c07e8 process=0xffff8000ffff9b40 user=0xffff80002a09f000, vmspace=0xfffffd806c0466e0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96944 495775 34840 0 2 0 syz-executor 35537 335983 17674 0 2 0x100000 sh 17674 278587 81037 0 3 0x10008a sigsusp sh 52371 60264 20010 0 2 0x2 arp 95888 432768 81593 0 2 0 syz-executor 95888 486697 81593 0 3 0x4000080 fsleep syz-executor 95888 189672 81593 0 3 0x4000080 fsleep syz-executor 20010 92515 49152 0 3 0x10008a sigsusp sh 52653 80055 95648 0 2 0 syz-executor 52653 448275 95648 0 3 0x4000080 fsleep syz-executor 52653 490339 95648 0 3 0x4000080 fsleep syz-executor *52653 500935 95648 0 7 0x4000000 syz-executor 92838 346045 95115 0 2 0 syz-executor 92838 495102 95115 0 3 0x4000080 fsleep syz-executor 92838 504947 95115 0 3 0x4000080 fsleep syz-executor 87789 289005 67923 0 2 0x10 syz-executor 87789 84914 67923 0 3 0x4000090 ttyout syz-executor 87789 301383 67923 0 3 0x4000090 fsleep syz-executor 56594 118647 92875 0 2 0x2 syz-executor 81037 7443 92875 0 3 0x82 wait syz-executor 49152 326668 92875 0 3 0x82 wait syz-executor 81593 16261 92875 0 2 0x482 syz-executor 95648 241809 92875 0 2 0x482 syz-executor 95115 119198 92875 0 2 0x482 syz-executor 67923 452378 92875 0 2 0x482 syz-executor 34840 159253 92875 0 2 0x2 syz-executor 2845 115389 1 0 3 0x80 nanoslp init 91547 90547 0 0 3 0x14200 bored sosplice 92875 219216 95781 0 3 0x82 kqread syz-executor 95781 31753 26025 0 3 0x10008a sigsusp ksh 26025 440169 72073 0 3 0x98 kqread sshd-session 72073 512930 88697 0 3 0x92 kqread sshd-session 88697 413089 1 0 3 0x88 kqread sshd 58235 281351 914 74 3 0x1100092 bpf pflogd 914 159934 1 0 3 0x80 sbwait pflogd 38748 426248 11117 73 7 0x1100010 syslogd 11117 66695 1 0 3 0x100082 sbwait syslogd 63086 191203 1 0 3 0x100080 kqread resolvd 45497 148924 13074 77 3 0x100092 kqread dhcpleased 90190 491977 13074 77 3 0x100092 kqread dhcpleased 13074 493164 1 0 3 0x80 kqread dhcpleased 89344 400891 0 0 3 0x14200 bored smr 95882 373940 0 0 2 0x14200 zerothread 87012 146336 0 0 3 0x14200 aiodoned aiodoned 32122 39027 0 0 3 0x14200 syncer update 45985 94609 0 0 3 0x14200 cleaner cleaner 47533 153927 0 0 3 0x14200 reaper reaper 80636 50756 0 0 3 0x14200 pgdaemon pagedaemon 16671 160137 0 0 3 0x14200 bored viomb 97831 276093 0 0 3 0x40014200 acpi0 acpi0 90693 337482 0 0 3 0x40014200 idle1 34730 505168 0 0 3 0x14200 bored softnet3 23008 257177 0 0 3 0x14200 bored softnet2 91025 71328 0 0 3 0x14200 bored softnet1 19090 250969 0 0 3 0x14200 bored softnet0 99589 439463 0 0 3 0x14200 bored systqmp 16802 298180 0 0 3 0x14200 bored systq 78471 81089 0 0 3 0x14200 tmoslp softclockmp 16730 187063 0 0 3 0x40014200 tmoslp softclock 69676 48265 0 0 3 0x40014200 idle0 1 304427 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 52653 (syz-executor) thread 0xffff8000ffffc010 (500935) Process 56594 (syz-executor) thread 0xffff80002a03ecc8 (118647) Process 38748 (syslogd) thread 0xffff8000ffffd960 (426248) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10229 10107K 10485K 166960K 12247 0 pcb 18 14K 16K 166960K 252 0 rtable 182 6K 8K 166960K 1976 0 pf 36 17K 22K 166960K 174 0 ifaddr 40 7K 9K 166960K 275 0 ifgroup 59 2K 2K 166960K 294 0 sysctl 4 1K 1K 166960K 6 0 counters 66 36K 37K 166960K 186 0 ioctlops 0 0K 4K 166960K 1584 0 iov 0 0K 28K 166960K 149 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1429 90K 90K 166960K 2588 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 32 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 19 69K 93K 166960K 1668 0 sigio 0 0K 0K 166960K 16 0 proc 64 79K 164K 166960K 2104 0 subproc 104 6K 6K 166960K 793 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 107 0 in_multi 78 5K 7K 166960K 725 0 ether_multi 1 0K 0K 166960K 15 0 mrt 1 0K 0K 166960K 4 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 1236 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 224 72K 92K 166960K 13759 0 UVM aobj 17 2K 2K 166960K 20 0 pinsyscall 44 88K 102K 166960K 4113 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 37 0 NDP 23 1K 2K 166960K 196 0 temp 58 6819K 6890K 166960K 50275 0 kqueue 14 22K 26K 166960K 163 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 195 0 192 1 0 1 1 0 8 0 rtentry 112 701 0 620 4 1 3 4 0 8 0 unpcb 144 612 0 595 9 8 1 6 0 8 0 syncache 336 10 0 10 7 7 0 1 0 8 0 tcpqe 32 3 0 3 3 3 0 1 0 8 0 tcpcb 808 299 0 292 10 9 1 8 0 8 0 arp 120 122 0 107 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 1169 0 1155 13 11 2 7 0 8 0 nd6 136 186 0 168 1 0 1 1 0 8 0 pkpcb 40 4 0 4 3 3 0 1 0 8 0 kcovpl 48 61 0 53 1 0 1 1 0 8 0 ppxss 1168 4 0 4 3 3 0 1 0 8 0 pffrag 232 7 0 6 1 0 1 1 0 482 0 pffrnode 88 7 0 6 1 0 1 1 0 8 0 pffrent 40 9 0 8 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pfstitem 24 145 0 104 1 0 1 1 0 8 0 pfstkey 128 145 0 104 2 0 2 2 0 8 0 pfstate 376 145 0 104 5 0 5 5 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2861 0 2501 41 12 29 30 0 8 5 art_table 32 2862 0 2501 4 0 4 4 0 8 0 art_node 16 698 0 626 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 6 1 0 1 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 17 0 3 2 1 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3100 0 1487 101 0 101 101 0 8 0 ffsino 272 3100 0 1487 108 0 108 108 0 8 0 nchpl 144 4401 0 2639 66 0 66 66 0 8 0 uvmvnodes 80 4120 0 0 85 0 85 85 0 8 0 vnodes 216 4120 0 0 229 0 229 229 0 8 0 namei 1024 19767 0 19765 6 5 1 2 0 8 0 percpumem 16 107 0 60 1 0 1 1 0 8 0 kstatmem 264 146 0 120 3 1 2 3 0 8 0 scsiplug 72 2 0 2 2 2 0 1 0 8 0 scxspl 216 32927 0 32927 10 9 1 8 1 8 1 plimitpl 152 520 0 503 1 0 1 1 0 8 0 sigapl 424 1890 0 1838 12 5 7 9 0 8 0 futexpl 64 12193 0 12186 4 3 1 1 0 8 0 knotepl 120 674 0 0 18 0 18 18 0 8 0 kqueuepl 216 266 0 254 3 2 1 3 0 8 0 pipepl 320 360 0 332 3 0 3 3 0 8 0 fdescpl 496 1849 0 1816 7 2 5 5 0 8 0 filepl 152 8792 0 8541 32 22 10 15 0 8 0 lockfpl 104 270 0 268 1 0 1 1 0 8 0 lockfspl 48 111 0 109 1 0 1 1 0 8 0 sessionpl 144 78 0 70 1 0 1 1 0 8 0 pgrppl 48 152 0 136 1 0 1 1 0 8 0 ucredpl 104 1203 0 1189 1 0 1 1 0 8 0 zombiepl 144 1838 0 1838 1 0 1 1 0 8 1 processpl 1160 1890 0 1838 7 2 5 6 0 8 1 procpl 648 3173 0 3112 9 3 6 8 0 8 0 srpgc 96 4 0 4 1 1 0 1 0 8 0 sosppl 168 2 0 2 2 2 0 1 0 8 0 sockpl 664 2100 0 2066 23 19 4 14 0 8 0 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 238 0 0 30 0 30 30 0 8 0 mtagpl 96 8 0 0 1 0 1 1 0 8 0 mbufpl 256 506 0 0 27 0 27 27 0 8 0 bufpl 280 8607 0 1844 484 0 484 484 0 8 0 anonpl 24 237328 0 233835 81 17 64 64 0 185 29 amapchunkpl 152 43939 0 43482 50 15 35 36 0 158 16 amappl16 200 2344 0 2336 53 51 2 19 0 8 1 amappl15 192 2 0 2 2 2 0 1 0 8 0 amappl14 184 232 0 220 1 0 1 1 0 8 0 amappl13 176 67 0 67 1 1 0 1 0 8 0 amappl12 168 3315 0 3284 3 1 2 2 0 8 0 amappl11 160 51 0 36 1 0 1 1 0 8 0 amappl10 152 2 0 2 1 1 0 1 0 8 0 amappl9 144 43 0 43 1 1 0 1 0 8 0 amappl8 136 17 0 14 1 0 1 1 0 8 0 amappl7 128 207 0 194 1 0 1 1 0 8 0 amappl6 120 688 0 684 1 0 1 1 0 8 0 amappl5 112 341 0 328 1 0 1 1 0 8 0 amappl4 104 475 0 457 1 0 1 1 0 8 0 amappl3 96 8876 0 8777 6 3 3 4 0 8 0 amappl2 88 1417 0 1346 2 0 2 2 0 8 0 amappl1 80 15313 0 14752 15 2 13 14 0 8 0 amappl 88 12915 0 12752 5 0 5 5 0 92 0 dma65536 65536 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 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 2 0 1 0 8 0 dma64 64 7 0 7 2 2 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 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1849 0 1816 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1849 0 1816 1 0 1 1 0 8 0 vmmpekpl 168 16368 0 16319 4 0 4 4 0 8 0 vmmpepl 168 115647 0 113856 128 39 89 99 0 357 9 vmsppl 440 1848 0 1816 6 2 4 5 0 8 0 rwobjpl 56 35882 0 30835 77 5 72 72 0 8 0 pdppl 4096 3705 0 3632 172 95 77 85 0 8 4 pvpl 32 29668 0 0 238 1 237 237 0 265 0 pmappl 248 1848 0 1816 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 530 0 145 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd806206d100,ffff80002a0a4d98,ffff80002a0a4dc8) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a0a4d68) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a0a4d68) at namei+0x7aa sys/kern/vfs_lookup.c:250 sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 change_dir sys/kern/vfs_syscalls.c:839 [inline] sys_chroot(ffff8000ffffc010,ffff80002a0a4f40,ffff80002a0a4e90) at sys_chroot+0xb5 sys/kern/vfs_syscalls.c:811 syscall(ffff80002a0a4f40) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0a4f40) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x99ac9c19390, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835138c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835138c0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff835138c0,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x219 sys/kern/kern_synch.c:416 vwaitforio(fffffd806e280638,0,ffffffff830a578a,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06ab40) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e280638,fffffd807f7d39c0,1,ffff8000ffffd960) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd960,ffff80002a06acf0,ffff80002a06ac40) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06acf0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06acf0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f8a6f8b6de0, count: 2 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835138c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835138c0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 __mp_acquire_count(ffffffff835138c0,1) at __mp_acquire_count+0x58 mi_switch() at mi_switch+0x658 sys/kern/sched_bsd.c:460 sleep_finish(0,1) at sleep_finish+0x219 sys/kern/kern_synch.c:416 vwaitforio(fffffd806e280638,0,ffffffff830a578a,ffffffffffffffff) at vwaitforio+0xd2 ffs_fsync(ffff80002a06ab40) at ffs_fsync+0x376 sys/ufs/ffs/ffs_vnops.c:482 VOP_FSYNC(fffffd806e280638,fffffd807f7d39c0,1,ffff8000ffffd960) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffd960,ffff80002a06acf0,ffff80002a06ac40) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06acf0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06acf0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f8a6f8b6de0, count: -13