uvm_fault(0xffffffff8354a888, 0xffff800024f85b00, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND 338881 42403 73 0x1100010 0 0 syslogd memcpy() at memcpy+0x19 ufs_inactive(ffff80002a0f8b98) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a2bec10,ffff80002a04f970) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a2bec10) at vrele+0x129 sys/kern/vfs_subr.c:827 fdfree(ffff80002a04f970) at fdfree+0x289 sys/kern/kern_descrip.c:1210 exit1(ffff80002a04f970,0,0,1) at exit1+0x743 sys/kern/kern_exit.c:224 sys_exit(ffff80002a04f970,ffff80002a0f8e30,ffff80002a0f8d80) at sys_exit+0x1a syscall(ffff80002a0f8e30) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f8e30) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755ca641a030, count: 6 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffffff8354a888, 0xffff800024f85b00, 0, 2) -> d ddb{1}> trace memcpy() at memcpy+0x19 ufs_inactive(ffff80002a0f8b98) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a2bec10,ffff80002a04f970) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a2bec10) at vrele+0x129 sys/kern/vfs_subr.c:827 fdfree(ffff80002a04f970) at fdfree+0x289 sys/kern/kern_descrip.c:1210 exit1(ffff80002a04f970,0,0,1) at exit1+0x743 sys/kern/kern_exit.c:224 sys_exit(ffff80002a04f970,ffff80002a0f8e30,ffff80002a0f8d80) at sys_exit+0x1a syscall(ffff80002a0f8e30) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f8e30) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755ca641a030, count: -9 ddb{1}> show registers rdi 0xffff800024f85b00 rsi 0xfffffd80723f7500 rbp 0xffff80002a0f8b20 rbx 0x2 rdx 0x100 rcx 0x20 rax 0x16 r8 0xffffffffffffffff r9 0 r10 0xe46e93ab431c65b4 r11 0xffff800024f85b00 r12 0xfffffd807299dbb8 r13 0xfffffd8073b40360 r14 0 r15 0xffff800000a5f000 rip 0xffffffff81b8ca89 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a0f8ab8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (syz-executor) tid=308177 pid=65514 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=16, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a04f970 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a04f6e8,0xffff80002a04e2b8 process=0xffff800029fe9228 user=0xffff80002a0f3000, vmspace=0xfffffd80092fe370 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 77117 179058 85389 0 2 0 syz-executor 13104 88607 38880 0 2 0 syz-executor 13104 290176 38880 0 2 0x4000000 syz-executor 39078 191133 1174 0 2 0 syz-executor 39078 494623 1174 0 3 0x4000080 fsleep syz-executor 51555 300557 8099 0 3 0x80 nanoslp syz-executor 51555 38573 8099 0 3 0x4000080 fsleep syz-executor 51555 219749 8099 0 3 0x4000080 lockf syz-executor 51555 95107 8099 0 3 0x4000080 fsleep syz-executor 66366 376710 41666 0 3 0x90 nanoslp syz-executor 66366 166343 41666 0 3 0x4000090 msgwait syz-executor 66366 319850 41666 0 3 0x4000090 fsleep syz-executor 90716 95991 29117 0 3 0x80 nanoslp syz-executor 90716 163050 29117 0 3 0x4000080 ttyout syz-executor 90716 8898 29117 0 3 0x4000080 fsleep syz-executor 66138 148508 76702 0 2 0x82 syz-executor 85389 391310 76702 0 2 0x2 syz-executor 25642 292055 76702 0 3 0x82 nanoslp syz-executor 8099 447819 76702 0 3 0x82 nanoslp syz-executor 29117 112947 76702 0 3 0x82 nanoslp syz-executor 41666 61669 76702 0 3 0x82 nanoslp syz-executor 1174 241360 76702 0 3 0x82 nanoslp syz-executor 38880 209371 76702 0 3 0x82 nanoslp syz-executor 86316 502071 0 0 3 0x14200 bored sosplice 76702 460898 74059 0 3 0x82 kqread syz-executor 74059 468258 72777 0 3 0x10008a sigsusp ksh 72777 404740 1094 0 3 0x98 kqread sshd-session 1094 336833 22170 0 3 0x92 kqread sshd-session 57926 481260 1 0 3 0x100083 ttyin getty 22170 47700 1 0 3 0x88 kqread sshd 51976 349521 38402 74 3 0x1100092 bpf pflogd 38402 10215 1 0 3 0x80 sbwait pflogd 42403 338881 1923 73 7 0x1100010 syslogd 1923 249928 1 0 3 0x100082 sbwait syslogd 75740 482551 1 0 3 0x100080 kqread resolvd 67998 259239 4215 77 3 0x100092 kqread dhcpleased 35591 407141 4215 77 3 0x100092 kqread dhcpleased 4215 379097 1 0 3 0x80 kqread dhcpleased 46774 348114 0 0 3 0x14200 bored smr 60823 47933 0 0 2 0x14200 zerothread 73783 227916 0 0 3 0x14200 aiodoned aiodoned 93505 101755 0 0 3 0x14200 syncer update 74186 221481 0 0 3 0x14200 cleaner cleaner 56450 388183 0 0 3 0x14200 reaper reaper 39036 195074 0 0 3 0x14200 pgdaemon pagedaemon 83214 180734 0 0 3 0x14200 bored viomb 51511 456704 0 0 3 0x40014200 acpi0 acpi0 90418 226959 0 0 3 0x40014200 idle1 573 86990 0 0 3 0x14200 bored softnet3 58980 24237 0 0 3 0x14200 bored softnet2 80888 346094 0 0 3 0x14200 bored softnet1 24765 30697 0 0 3 0x14200 bored softnet0 90299 299689 0 0 3 0x14200 bored systqmp 35005 386231 0 0 3 0x14200 bored systq 14608 489792 0 0 3 0x14200 tmoslp softclockmp 76432 273483 0 0 3 0x40014200 tmoslp softclock 85613 271121 0 0 3 0x40014200 idle0 1 474367 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10207 10238K 10368K 166960K 11606 0 pcb 18 12K 12K 166960K 51 0 rtable 218 6K 6K 166960K 1051 0 pf 34 17K 18K 166960K 104 0 ifaddr 41 7K 7K 166960K 148 0 ifgroup 55 2K 2K 166960K 165 0 sysctl 2 0K 0K 166960K 2 0 counters 64 36K 36K 166960K 122 0 ioctlops 0 0K 4K 166960K 1514 0 iov 0 0K 24K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1381 87K 87K 166960K 1806 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 10 0 dirhash 15 2K 2K 166960K 24 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 16 57K 97K 166960K 712 0 sigio 0 0K 0K 166960K 8 0 proc 72 91K 152K 166960K 1212 0 subproc 104 6K 7K 166960K 416 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 37 0 in_multi 90 6K 7K 166960K 363 0 ether_multi 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 789 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 239 73K 91K 166960K 6738 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 42 84K 110K 166960K 2416 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 11 0 NDP 14 0K 2K 166960K 103 0 temp 46 6816K 6882K 166960K 27114 0 kqueue 13 20K 28K 166960K 63 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 90 0 87 1 0 1 1 0 8 0 rtentry 112 368 0 266 4 0 4 4 0 8 1 unpcb 144 171 0 150 2 1 1 2 0 8 0 syncache 336 8 0 8 4 4 0 1 0 8 0 tcpqe 32 2 0 2 2 2 0 1 0 8 0 tcpcb 808 76 0 70 2 1 1 2 0 8 0 arp 120 65 0 48 1 0 1 1 0 8 0 inpcb 336 347 0 336 2 0 2 2 0 8 0 nd6 136 93 0 72 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1168 3 0 3 2 2 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 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 pfstitem 24 53 0 30 1 0 1 1 0 8 0 pfstkey 128 53 0 30 1 0 1 1 0 8 0 pfstate 376 53 0 30 3 0 3 3 0 8 0 pfrule 1344 24 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1474 0 1059 29 0 29 29 0 8 3 art_table 32 1475 0 1059 4 0 4 4 0 8 0 art_node 16 366 0 273 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 4 1 0 1 1 0 8 0 semapl 112 7 0 2 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 26 0 7 3 0 3 3 0 8 0 dino2pl 256 2008 0 453 98 0 98 98 0 8 0 ffsino 272 2008 0 453 104 0 104 104 0 8 0 nchpl 144 2586 0 2010 63 40 23 63 0 8 0 uvmvnodes 80 2495 0 0 51 0 51 51 0 8 0 vnodes 216 2495 0 0 139 0 139 139 0 8 0 namei 1024 10728 0 10728 3 2 1 2 0 8 1 percpumem 16 75 0 29 1 0 1 1 0 8 0 kstatmem 264 82 0 58 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 13234 0 13234 10 8 2 8 1 8 2 plimitpl 152 81 0 63 1 0 1 1 0 8 0 sigapl 424 969 0 918 8 1 7 7 0 8 0 futexpl 64 3393 0 3388 3 2 1 1 0 8 0 knotepl 120 328 0 0 10 0 10 10 0 8 0 kqueuepl 216 110 0 100 3 2 1 3 0 8 0 pipepl 320 196 0 169 3 0 3 3 0 8 0 fdescpl 496 950 0 919 8 3 5 6 0 8 0 filepl 152 3739 0 3475 17 4 13 13 0 8 1 lockfpl 104 104 0 99 1 0 1 1 0 8 0 lockfspl 48 47 0 43 1 0 1 1 0 8 0 sessionpl 144 50 0 41 1 0 1 1 0 8 0 pgrppl 48 85 0 68 1 0 1 1 0 8 0 ucredpl 104 343 0 328 1 0 1 1 0 8 0 zombiepl 144 929 0 927 2 1 1 1 0 8 0 processpl 1160 969 0 918 5 1 4 5 0 8 0 procpl 648 1345 0 1285 7 1 6 7 0 8 0 sosppl 168 9 0 8 3 2 1 1 0 8 0 sockpl 664 610 0 575 4 0 4 4 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 230 0 0 29 0 29 29 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 294 0 0 17 0 17 17 0 8 0 bufpl 280 6410 0 236 442 0 442 442 0 8 0 anonpl 24 183837 0 180456 56 6 50 52 0 185 21 amapchunkpl 152 21049 0 20545 43 12 31 32 0 158 11 amappl16 200 3592 0 3577 5 3 2 5 0 8 1 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 171 0 159 1 0 1 1 0 8 0 amappl13 176 45 0 45 1 1 0 1 0 8 0 amappl12 168 1968 0 1937 4 2 2 3 0 8 0 amappl11 160 49 0 35 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 149 0 149 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 158 0 146 1 0 1 1 0 8 0 amappl6 120 409 0 407 1 0 1 1 0 8 0 amappl5 112 241 0 230 1 0 1 1 0 8 0 amappl4 104 394 0 371 1 0 1 1 0 8 0 amappl3 96 3961 0 3848 6 3 3 4 0 8 0 amappl2 88 1041 0 973 2 0 2 2 0 8 0 amappl1 80 11667 0 11103 17 3 14 16 0 8 0 amappl 88 6165 0 5990 6 1 5 5 0 92 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 6 0 6 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 950 0 919 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 950 0 919 1 0 1 1 0 8 0 vmmpekpl 168 9573 0 9527 3 0 3 3 0 8 0 vmmpepl 168 66406 0 64564 105 18 87 93 0 357 5 vmsppl 440 949 0 919 6 2 4 5 0 8 0 rwobjpl 56 24727 0 21308 50 1 49 49 0 8 0 pdppl 4096 1907 0 1838 149 74 75 87 0 8 6 pvpl 32 27412 0 0 221 0 221 221 0 265 0 pmappl 248 949 0 919 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 449 0 85 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83454ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:158 __mp_lock(ffffffff83561b08) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 syscall(ffff80002a068090) at syscall+0x2cc mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a068090) at syscall+0x2cc sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d7a7d07cc50, count: 8 ddb{0}> trace x86_ipi_db(ffffffff83454ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c kd_curproc sys/dev/kcov.c:589 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2c sys/dev/kcov.c:158 __mp_lock(ffffffff83561b08) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 syscall(ffff80002a068090) at syscall+0x2cc mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a068090) at syscall+0x2cc sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d7a7d07cc50, count: -7 ddb{0}> machine ddbcpu 1 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) memcpy() at memcpy+0x19 ufs_inactive(ffff80002a0f8b98) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a2bec10,ffff80002a04f970) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a2bec10) at vrele+0x129 sys/kern/vfs_subr.c:827 fdfree(ffff80002a04f970) at fdfree+0x289 sys/kern/kern_descrip.c:1210 exit1(ffff80002a04f970,0,0,1) at exit1+0x743 sys/kern/kern_exit.c:224 sys_exit(ffff80002a04f970,ffff80002a0f8e30,ffff80002a0f8d80) at sys_exit+0x1a syscall(ffff80002a0f8e30) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f8e30) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755ca641a030, count: 6 ddb{1}> trace memcpy() at memcpy+0x19 ufs_inactive(ffff80002a0f8b98) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a2bec10,ffff80002a04f970) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a2bec10) at vrele+0x129 sys/kern/vfs_subr.c:827 fdfree(ffff80002a04f970) at fdfree+0x289 sys/kern/kern_descrip.c:1210 exit1(ffff80002a04f970,0,0,1) at exit1+0x743 sys/kern/kern_exit.c:224 sys_exit(ffff80002a04f970,ffff80002a0f8e30,ffff80002a0f8d80) at sys_exit+0x1a syscall(ffff80002a0f8e30) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a0f8e30) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x755ca641a030, count: -9