uvm_fault(0xfffffd806ba4fe78, 0x1ea0, 0, 2) -> e kernel: page fault trap, code=2 Stopped at copyout+0x57: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *412079 46220 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c963a00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963a00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfdf141340, count: 12 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(0xfffffd806ba4fe78, 0x1ea0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c963a00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963a00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfdf141340, count: -3 ddb> show registers rdi 0x1ea0 __ALIGN_SIZE+0xea0 rsi 0xffff80003c963810 rbp 0xffff80003c963920 rbx 0xffffff0a rdx 0xffff80003c95e000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x1b061e43c21023eb r11 0xffffffff831b9130 copy_fault r12 0x2 r13 0x16 r14 0xffff80003c963a00 r15 0xffff80003c963810 rip 0xffffffff831b9057 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c963660 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=412079 pid=46220 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c992cf8,0xffffffff838a2a80 process=0xffff80002cd21b68 user=0xffff80003c95e000, vmspace=0xfffffd806ba4fe78 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46220 456987 29843 0 2 0 syz-executor *46220 412079 29843 0 7 0x4000000 syz-executor 1562 48779 19862 0 2 0 syz-executor 1562 316800 19862 0 2 0x4000000 syz-executor 98036 33081 0 0 3 0x14200 bored sosplice 99093 439330 30605 0 2 0xc80 syz-executor 99093 76302 30605 0 3 0x4000080 msgwait syz-executor 99093 11603 30605 0 3 0x4000080 fsleep syz-executor 26000 344269 12003 0 3 0x80 nanoslp syz-executor 26000 114053 12003 0 3 0x4000080 kqsel syz-executor 26000 398014 12003 0 3 0x4000080 fsleep syz-executor 75699 173966 91221 0 2 0xc90 syz-executor 75699 515153 91221 0 3 0x4000090 kqsel syz-executor 75699 298251 91221 0 3 0x4000090 fsleep syz-executor 75699 415841 91221 0 3 0x4000090 fsleep syz-executor 97978 446155 30505 0 2 0xc80 syz-executor 97978 390830 30505 0 3 0x4000080 fsleep syz-executor 97978 489579 30505 0 3 0x4000080 wsevent_read syz-executor 97978 28360 30505 0 3 0x4000080 fsleep syz-executor 19862 177470 53739 0 2 0xc82 syz-executor 33258 297431 53739 0 2 0x2 syz-executor 12003 55131 53739 0 2 0xc82 syz-executor 30605 408501 53739 0 2 0xc82 syz-executor 97732 470572 53739 0 2 0xc82 syz-executor 91221 109326 53739 0 2 0xc82 syz-executor 29843 310568 53739 0 3 0x82 nanoslp syz-executor 30505 168219 53739 0 2 0xc82 syz-executor 53739 252445 96205 0 3 0x82 kqread syz-executor 96205 261788 56843 0 3 0x10008a sigsusp ksh 56843 41667 68041 0 3 0x98 kqread sshd-session 68041 331340 57975 0 3 0x92 kqread sshd-session 58102 507049 1 0 3 0x100083 ttyin getty 57975 341916 1 0 3 0x88 kqread sshd 64539 343067 46356 73 3 0x1100090 kqread syslogd 46356 379395 1 0 3 0x100082 sbwait syslogd 35590 266130 1 0 3 0x100080 kqread resolvd 24359 59739 77060 77 3 0x100092 kqread dhcpleased 54269 447167 77060 77 3 0x100092 kqread dhcpleased 77060 284613 1 0 3 0x80 kqread dhcpleased 19687 64730 0 0 3 0x14200 bored smr 47914 9852 0 0 2 0x14200 zerothread 39147 397210 0 0 3 0x14200 aiodoned aiodoned 24291 158129 0 0 3 0x14200 syncer update 78110 36293 0 0 3 0x14200 cleaner cleaner 27471 261872 0 0 3 0x14200 reaper reaper 52134 479922 0 0 3 0x14200 pgdaemon pagedaemon 49229 39396 0 0 3 0x14200 bored viomb 73630 88301 0 0 3 0x40014200 acpi0 acpi0 5472 85984 0 0 3 0x14200 bored softnet7 8515 108682 0 0 3 0x14200 bored softnet6 64312 337500 0 0 3 0x14200 bored softnet5 50746 468877 0 0 3 0x14200 bored softnet4 44191 344024 0 0 3 0x14200 bored softnet3 24027 24350 0 0 3 0x14200 bored softnet2 16048 514484 0 0 3 0x14200 bored softnet1 90405 238615 0 0 3 0x14200 bored softnet0 24865 307434 0 0 3 0x14200 bored systqmp 95513 248195 0 0 3 0x14200 bored systq 27055 29033 0 0 3 0x40014200 tmoslp softclock 78919 324190 0 0 3 0x40014200 idle0 1 458371 0 0 3 0x82 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 10188 11066K 11560K 166960K 11513 0 pcb 18 13K 13K 166960K 64 0 rtable 185 6K 6K 166960K 281 0 pf 28 12K 13K 166960K 43 0 ifaddr 35 6K 7K 166960K 52 0 ifgroup 44 1K 2K 166960K 65 0 sysctl 1 1K 9K 166960K 5 0 counters 31 17K 18K 166960K 44 0 ioctlops 0 0K 4K 166960K 56 0 iov 0 0K 16K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1408 89K 89K 166960K 1550 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 272 0 proc 60 59K 100K 166960K 483 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 1 0K 0K 166960K 16 0 in_multi 77 5K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 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 362 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 224 159K 170K 166960K 3978 0 UVM aobj 7 2K 4K 166960K 9 0 pinsyscall 38 76K 94K 166960K 1309 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 7 0 NDP 10 0K 1K 166960K 33 0 temp 44 8668K 8732K 166960K 10252 0 kqueue 18 30K 30K 166960K 47 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 40 0 37 1 0 1 1 0 8 0 rtentry 136 102 0 21 4 0 4 4 0 8 0 unpcb 144 222 0 207 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 32 0 28 1 0 1 1 0 8 0 arp 88 14 0 3 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 319 0 308 4 0 4 4 0 8 2 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 104 18 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 11 0 10 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 475 0 116 28 0 28 28 0 8 4 art_table 40 476 0 116 5 0 5 5 0 8 0 art_node 32 102 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1826 0 327 95 0 95 95 0 8 0 ffsino 256 1826 0 327 95 0 95 95 0 8 0 nchpl 144 2191 0 507 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2044 0 0 42 0 42 42 0 8 0 vnodes 216 2044 0 0 114 0 114 114 0 8 0 namei 1024 6748 0 6747 2 0 2 2 0 8 1 kstatmem 264 34 0 14 2 0 2 2 0 8 0 scxspl 216 7410 0 7410 8 0 8 8 1 8 8 plimitpl 152 53 0 36 1 0 1 1 0 8 0 sigapl 424 558 0 508 7 0 7 7 0 8 1 knotepl 120 8921 0 8121 25 0 25 25 0 8 0 kqueuepl 184 74 0 55 1 0 1 1 0 8 0 pipepl 304 113 0 86 3 0 3 3 0 8 0 fdescpl 448 537 0 508 5 0 5 5 0 8 1 filepl 120 2363 0 2142 10 0 10 10 0 8 2 lockfpl 104 81 0 78 1 0 1 1 0 8 0 lockfspl 48 38 0 35 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 225 0 213 1 0 1 1 0 8 0 zombiepl 144 509 0 508 1 0 1 1 0 8 0 processpl 1168 558 0 508 5 0 5 5 0 8 1 procpl 656 770 0 708 6 0 6 6 0 8 0 sockpl 552 585 0 556 5 0 5 5 0 8 2 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 2604 0 2553 13 0 13 13 0 8 5 mcl2k 2048 400 0 396 3 0 3 3 0 8 2 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 5360 0 5215 13 0 13 13 0 8 0 bufpl 280 3072 0 118 211 0 211 211 0 8 0 anonpl 24 107756 0 104562 33 0 33 33 0 187 9 amapchunkpl 152 12056 0 11593 27 0 27 27 0 158 8 amappl16 200 1824 0 1796 5 0 5 5 0 8 3 amappl15 192 10 0 10 1 0 1 1 0 8 1 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 0 1 1 0 8 1 amappl12 168 1222 0 1193 3 0 3 3 0 8 1 amappl11 160 46 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 36 0 35 1 0 1 1 0 8 0 amappl7 128 135 0 125 1 0 1 1 0 8 0 amappl6 120 177 0 174 1 0 1 1 0 8 0 amappl5 112 132 0 125 1 0 1 1 0 8 0 amappl4 104 267 0 253 1 0 1 1 0 8 0 amappl3 96 2110 0 2007 4 0 4 4 0 8 0 amappl2 88 613 0 558 2 0 2 2 0 8 0 amappl1 80 8719 0 8166 14 0 14 14 0 8 0 amappl 88 3308 0 3149 5 0 5 5 0 92 1 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 8 0 2 1 0 1 1 0 8 0 uaddrrnd 24 537 0 508 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 537 0 508 1 0 1 1 0 8 0 vmmpekpl 168 5797 0 5773 2 0 2 2 0 8 0 vmmpepl 168 40498 0 38659 87 0 87 87 0 357 4 vmsppl 368 536 0 508 4 0 4 4 0 8 1 rwobjpl 40 15526 0 12636 30 0 30 30 0 8 0 pdppl 4096 1081 0 1016 97 30 67 83 0 8 2 pvpl 32 257101 0 247766 104 0 104 104 0 265 16 pmappl 216 536 0 508 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 372 0 30 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c963a00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963a00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfdf141340, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c963a00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c963a00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdfdf141340, count: -3