e kernel: page fault trap, code=2 Stopped at copyout+0x57: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *492727 59152 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9912a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9912a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847252d0ff0, 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(0xfffffd806ba328b0, 0x4920, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9912a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9912a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847252d0ff0, count: -3 ddb> show registers rdi 0x4920 __ALIGN_SIZE+0x3920 rsi 0xffff80003c990f50 rbp 0xffff80003c9911d0 rbx 0x4000a7b1 rdx 0xffff80003c98c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff80003c990c68 r10 0xe31ef439f9de6f42 r11 0xffffffff82efca20 copy_fault r12 0x6 r13 0x16 r14 0xffff80003c990f50 r15 0xffff80003c9912a0 rip 0xffffffff82efc947 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c990f20 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=492727 pid=59152 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c99f780,0xffff80003c99f260 process=0xffff80003c97ed20 user=0xffff80003c98c000, vmspace=0xfffffd806ba328b0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71030 397355 26376 0 2 0 syz-executor 71030 117974 26376 0 3 0x4000080 fsleep syz-executor 59152 80187 14519 0 2 0 syz-executor *59152 492727 14519 0 7 0x4000000 syz-executor 72360 256880 68233 0 3 0x80 nanoslp syz-executor 72360 363874 68233 0 3 0x4000080 dtread syz-executor 72360 416300 68233 0 3 0x4000080 fsleep syz-executor 72360 349874 68233 0 3 0x4000080 fsleep syz-executor 12986 249455 25410 0 3 0x80 nanoslp syz-executor 12986 459624 25410 0 3 0x4000080 msgwait syz-executor 12986 82825 25410 0 3 0x4000080 msgwait syz-executor 12986 228069 25410 0 3 0x4000080 fsleep syz-executor 13175 475415 1 0 3 0x82 nanoslp getty 80186 158658 0 0 3 0x14200 acct acct 96098 161769 0 0 3 0x14200 bored sosplice 25410 367700 42724 0 3 0x82 nanoslp syz-executor 32 285004 42724 0 3 0x82 nanoslp syz-executor 4434 59883 42724 0 3 0x82 wait syz-executor 68233 1300 42724 0 3 0x82 nanoslp syz-executor 26376 131471 42724 0 2 0xc82 syz-executor 14519 327780 42724 0 3 0x82 nanoslp syz-executor 12322 233970 42724 0 2 0x2 syz-executor 5172 515247 42724 0 3 0x82 wait syz-executor 42724 316461 3524 0 3 0x82 kqread syz-executor 3524 296680 11727 0 3 0x10008a sigsusp ksh 11727 493646 19105 0 3 0x98 kqread sshd-session 19105 144699 86074 0 3 0x92 kqread sshd-session 86074 293954 1 0 3 0x88 kqread sshd 45061 474670 43733 73 3 0x1100090 kqread syslogd 43733 392599 1 0 3 0x100082 sbwait syslogd 40425 265309 1 0 3 0x100080 kqread resolvd 93541 425819 99970 77 3 0x100092 kqread dhcpleased 10589 93874 99970 77 3 0x100092 kqread dhcpleased 99970 101669 1 0 3 0x80 kqread dhcpleased 78223 221533 0 0 3 0x14200 bored smr 60131 140430 0 0 2 0x14200 zerothread 33754 53744 0 0 3 0x14200 aiodoned aiodoned 70959 382247 0 0 3 0x14200 syncer update 33390 304181 0 0 3 0x14200 cleaner cleaner 99723 100367 0 0 3 0x14200 reaper reaper 68824 263570 0 0 3 0x14200 pgdaemon pagedaemon 60236 194644 0 0 3 0x14200 bored viomb 13790 308423 0 0 3 0x40014200 acpi0 acpi0 92340 206870 0 0 3 0x14200 bored softnet7 65812 358941 0 0 3 0x14200 bored softnet6 12429 247326 0 0 3 0x14200 bored softnet5 29592 503216 0 0 3 0x14200 bored softnet4 50387 396751 0 0 3 0x14200 bored softnet3 35433 174442 0 0 3 0x14200 bored softnet2 6266 1023 0 0 3 0x14200 bored softnet1 38909 204610 0 0 3 0x14200 bored softnet0 6717 399816 0 0 3 0x14200 smrbar systqmp 44376 490174 0 0 3 0x14200 bored systq 64643 363611 0 0 2 0x40014200 softclock 92292 174808 0 0 3 0x40014200 idle0 1 188899 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 10206 11094K 11239K 166960K 11559 0 pcb 17 16K 18K 166960K 238 0 rtable 215 8K 8K 166960K 341 0 pf 32 13K 15K 166960K 54 0 ifaddr 42 7K 7K 166960K 59 0 ifgroup 54 2K 2K 166960K 71 0 sysctl 3 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 46 0 ioctlops 0 0K 4K 166960K 63 0 iov 0 0K 16K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1441 91K 91K 166960K 1614 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 338 0 sigio 0 0K 0K 166960K 5 0 proc 61 67K 75K 166960K 510 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 28 0 in_multi 95 7K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 369 0 fusefs mount 1 32K 32K 166960K 1 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 234 159K 167K 166960K 4487 0 UVM aobj 7 4K 4K 166960K 7 0 pinsyscall 38 76K 92K 166960K 1374 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 37 0 temp 46 8640K 8704K 166960K 17830 0 kqueue 13 20K 26K 166960K 63 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 58 0 55 1 0 1 1 0 8 0 rtentry 136 112 0 22 4 0 4 4 0 8 0 unpcb 144 134 0 117 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 71 0 66 1 0 1 1 0 8 0 arp 88 13 0 2 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 462 0 454 12 3 9 12 0 8 8 nd6 104 19 0 4 1 0 1 1 0 8 0 pkpcb 40 3 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 12 0 12 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1344 3 0 3 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 551 0 108 30 0 30 30 0 8 1 art_table 40 553 0 108 5 0 5 5 0 8 0 art_node 32 112 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 7 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 1986 0 479 95 0 95 95 0 8 0 ffsino 256 1986 0 479 95 0 95 95 0 8 0 nchpl 144 2482 0 797 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 uvmvnodes 80 2236 0 0 46 0 46 46 0 8 0 vnodes 216 2236 0 0 125 0 125 125 0 8 0 namei 1024 7878 0 7877 2 0 2 2 0 8 1 kstatmem 264 38 0 14 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 9079 0 9079 8 0 8 8 1 8 8 plimitpl 152 54 0 38 1 0 1 1 0 8 0 sigapl 424 626 0 575 7 0 7 7 0 8 1 knotepl 120 9726 0 9678 9 0 9 9 0 8 7 kqueuepl 184 85 0 72 1 0 1 1 0 8 0 pipepl 304 115 0 88 3 0 3 3 0 8 0 fdescpl 448 603 0 574 5 0 5 5 0 8 1 filepl 120 3087 0 2857 11 0 11 11 0 8 2 lockfpl 104 146 0 142 1 0 1 1 0 8 0 lockfspl 48 37 0 34 1 0 1 1 0 8 0 sessionpl 144 21 0 14 1 0 1 1 0 8 0 pgrppl 48 30 0 15 1 0 1 1 0 8 0 ucredpl 104 286 0 274 1 0 1 1 0 8 0 zombiepl 144 578 0 575 1 0 1 1 0 8 0 processpl 1152 626 0 575 5 0 5 5 0 8 1 procpl 664 944 0 885 6 0 6 6 0 8 0 sockpl 552 664 0 635 12 1 11 12 0 8 8 mcl64k 65536 20 0 20 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2694 0 2643 14 0 14 14 0 8 7 mcl2k 2048 464 0 457 3 0 3 3 0 8 2 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 7231 0 7040 75 54 21 75 0 8 8 bufpl 280 3443 0 118 238 0 238 238 0 8 0 anonpl 24 109533 0 106324 23 0 23 23 0 187 2 amapchunkpl 152 13649 0 13151 22 0 22 22 0 158 1 amappl16 200 1939 0 1909 5 0 5 5 0 8 2 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 126 0 115 1 0 1 1 0 8 0 amappl13 176 22 0 22 1 0 1 1 0 8 1 amappl12 168 1217 0 1188 3 0 3 3 0 8 1 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 17 0 17 1 0 1 1 0 8 1 amappl9 144 269 0 269 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 98 0 87 1 0 1 1 0 8 0 amappl6 120 175 0 171 1 0 1 1 0 8 0 amappl5 112 120 0 114 1 0 1 1 0 8 0 amappl4 104 273 0 256 1 0 1 1 0 8 0 amappl3 96 2263 0 2165 3 0 3 3 0 8 0 amappl2 88 827 0 757 2 0 2 2 0 8 0 amappl1 80 8867 0 8311 13 0 13 13 0 8 0 amappl 88 3806 0 3638 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 254 0 254 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 603 0 574 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 603 0 574 1 0 1 1 0 8 0 vmmpekpl 168 6187 0 6161 2 0 2 2 0 8 0 vmmpepl 168 44050 0 42179 85 0 85 85 0 357 0 vmsppl 368 602 0 574 4 0 4 4 0 8 1 rwobjpl 40 16256 0 13148 32 0 32 32 0 8 0 pdppl 4096 1212 0 1148 94 28 66 80 0 8 2 pvpl 32 270210 0 261645 82 0 82 82 0 265 7 pmappl 216 602 0 574 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 431 0 82 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9912a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9912a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847252d0ff0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9912a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9912a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847252d0ff0, count: -3