uvm_fault(0xfffffd806bb8f180, 0x4640, 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 *412775 38109 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800039d55600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d55600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4aa1346f60, 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(0xfffffd806bb8f180, 0x4640, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800039d55600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d55600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4aa1346f60, count: -3 ddb> show registers rdi 0x4640 __ALIGN_SIZE+0x3640 rsi 0xffff800039d552d0 rbp 0xffff800039d55530 rbx 0x4000a7c8 rdx 0xffff800039d50000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x29c6f75a759254d8 r11 0xffffffff81e78350 copy_fault r12 0x5 r13 0x16 r14 0xffff800039d552d0 r15 0xffff800039d55600 rip 0xffffffff81e78277 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800039d55280 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=412775 pid=38109 tcnt=4 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=0xffff80002a7f8fb0,0xffffffff83940380 process=0xffff80003c986940 user=0xffff800039d50000, vmspace=0xfffffd806bb8f180 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38109 278824 99157 0 2 0 syz-executor 38109 225641 99157 0 2 0x4000000 syz-executor 38109 385929 99157 0 3 0x4000000 inode syz-executor *38109 412775 99157 0 7 0x4000000 syz-executor 65234 32977 42976 0 2 0 syz-executor 65234 177077 42976 0 2 0x4000000 syz-executor 30910 130866 22445 0 2 0x10 syz-executor 30910 295506 22445 0 3 0x4000090 fsleep syz-executor 49967 407262 96156 0 2 0x10 syz-executor 49967 342772 96156 0 3 0x4000090 fsleep syz-executor 49967 390843 96156 0 3 0x4000090 fsleep syz-executor 42976 234848 24424 0 2 0xc82 syz-executor 21174 498207 4773 0 4 0x82000 syz-executor 21174 295932 4773 0 2 0x4082000 syz-executor 21174 512564 4773 0 3 0x4002000 suspend syz-executor 52895 485046 1 0 3 0x100083 ttyopn getty 79239 4476 0 0 3 0x14200 bored sosplice 35652 426073 24424 0 2 0xc82 syz-executor 4773 227480 24424 0 3 0x82 wait syz-executor 36573 458243 24424 0 3 0x82 piperd syz-executor 22445 330664 24424 0 3 0x82 nanoslp syz-executor 96156 215631 24424 0 2 0xc82 syz-executor 94298 519050 24424 0 3 0x82 piperd syz-executor 99157 442407 24424 0 2 0xc82 syz-executor 24424 309423 4475 0 2 0x2 syz-executor 4475 40069 78705 0 3 0x10008a sigsusp ksh 78705 382707 24165 0 3 0x98 kqread sshd-session 24165 488848 54535 0 3 0x92 kqread sshd-session 54535 359884 1 0 3 0x88 kqread sshd 43773 18090 32688 73 3 0x1100090 kqread syslogd 32688 79846 1 0 3 0x100082 sbwait syslogd 26432 508426 1 0 3 0x100080 kqread resolvd 70939 287126 92198 77 3 0x100092 kqread dhcpleased 81747 510493 92198 77 3 0x100092 kqread dhcpleased 92198 179148 1 0 3 0x80 kqread dhcpleased 89419 29438 0 0 3 0x14200 bored smr 81688 178130 0 0 2 0x14200 zerothread 35496 352476 0 0 3 0x14200 aiodoned aiodoned 63628 282729 0 0 3 0x14200 syncer update 75074 377191 0 0 3 0x14200 cleaner cleaner 65200 351674 0 0 3 0x14200 reaper reaper 85661 495110 0 0 3 0x14200 pgdaemon pagedaemon 98212 523076 0 0 3 0x14200 bored viomb 4155 401557 0 0 3 0x40014200 acpi0 acpi0 72302 469448 0 0 3 0x14200 bored softnet7 29891 252003 0 0 3 0x14200 bored softnet6 26023 77954 0 0 3 0x14200 bored softnet5 31148 519898 0 0 3 0x14200 bored softnet4 94806 290747 0 0 3 0x14200 bored softnet3 623 145819 0 0 3 0x14200 bored softnet2 55781 183102 0 0 3 0x14200 bored softnet1 16447 320205 0 0 3 0x14200 bored softnet0 96241 49333 0 0 3 0x14200 smrbar systqmp 86287 504710 0 0 3 0x14200 bored systq 65001 216757 0 0 2 0x40014200 softclock 60904 316622 0 0 3 0x40014200 idle0 1 500188 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 10223 11087K 12256K 166960K 12746 0 pcb 18 14K 18K 166960K 358 0 rtable 151 5K 6K 166960K 398 0 pf 32 13K 20K 166960K 236 0 ifaddr 32 5K 7K 166960K 80 0 ifgroup 46 2K 2K 166960K 116 0 sysctl 1 1K 9K 166960K 6 0 counters 31 17K 18K 166960K 62 0 ioctlops 0 0K 4K 166960K 289 0 iov 0 0K 24K 166960K 111 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1429 90K 90K 166960K 2153 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 21 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 59 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 97K 166960K 835 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 124K 166960K 594 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 142 0 in_multi 68 4K 7K 166960K 143 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 488 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 218 159K 176K 166960K 8826 0 UVM aobj 18 2K 4K 166960K 23 0 pinsyscall 37 74K 96K 166960K 1913 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 12 0K 2K 166960K 52 0 temp 52 8638K 8728K 166960K 34238 0 kqueue 13 20K 34K 166960K 148 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 86 0 83 1 0 1 1 0 8 0 rtentry 136 138 0 79 4 0 4 4 0 8 0 unpcb 144 704 0 688 4 0 4 4 0 8 2 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 483 0 479 7 0 7 7 0 8 6 arp 88 15 0 7 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 1242 0 1234 15 6 9 15 0 8 7 ip6q 72 4 0 2 1 0 1 1 0 8 0 ip6af 40 7 0 4 1 0 1 1 0 8 0 nd6 104 29 0 17 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 22 0 22 1 0 1 1 0 8 1 pppxif 1384 3 0 3 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 4 1 0 1 1 0 8 0 pfstate 384 5 0 3 1 0 1 1 0 8 0 pfrule 1344 7 0 7 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 715 0 405 31 1 30 31 0 8 8 art_table 40 718 0 405 5 0 5 5 0 8 0 art_node 32 138 0 84 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 55 0 45 1 0 1 1 0 8 0 shmpl 112 20 0 5 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2914 0 1413 95 0 95 95 0 8 0 ffsino 256 2914 0 1413 95 0 95 95 0 8 0 nchpl 144 4106 0 2418 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 3495 0 0 72 0 72 72 0 8 0 vnodes 216 3495 0 0 195 0 195 195 0 8 0 namei 1024 15096 0 15094 2 0 2 2 0 8 1 kstatmem 264 64 0 44 2 0 2 2 0 8 0 scsiplug 72 10 0 10 1 0 1 1 0 8 1 scxspl 216 13040 0 13040 8 0 8 8 1 8 8 plimitpl 152 203 0 185 1 0 1 1 0 8 0 sigapl 424 1118 0 1069 7 0 7 7 0 8 1 knotepl 120 28326 0 28279 10 0 10 10 0 8 7 kqueuepl 184 493 0 483 4 0 4 4 0 8 3 pipepl 304 286 0 259 8 0 8 8 0 8 5 fdescpl 448 1093 0 1065 5 0 5 5 0 8 1 filepl 120 8166 0 7951 15 0 15 15 0 8 7 lockfpl 104 303 0 299 1 0 1 1 0 8 0 lockfspl 48 132 0 128 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 49 0 33 1 0 1 1 0 8 0 ucredpl 104 1337 0 1323 1 0 1 1 0 8 0 zombiepl 144 1070 0 1069 1 0 1 1 0 8 0 processpl 1168 1118 0 1069 5 0 5 5 0 8 1 procpl 664 2145 0 2087 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 2167 0 2139 14 4 10 14 0 8 7 mcl64k 65536 72 0 72 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 3301 0 3241 14 0 14 14 0 8 6 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 1211 0 1206 4 0 4 4 0 8 3 mtagpl 96 79 0 78 2 0 2 2 0 8 1 mbufpl 256 12436 0 12284 16 0 16 16 0 8 3 bufpl 280 4107 0 125 285 0 285 285 0 8 0 anonpl 24 150118 0 146982 45 0 45 45 0 187 19 amapchunkpl 152 29109 0 28657 36 0 36 36 0 158 18 amappl16 200 1918 0 1885 15 4 11 15 0 8 8 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 106 0 96 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1734 0 1706 3 0 3 3 0 8 1 amappl11 160 71 0 61 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 0 1 1 0 8 1 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 125 0 115 1 0 1 1 0 8 0 amappl6 120 185 0 182 1 0 1 1 0 8 0 amappl5 112 138 0 131 1 0 1 1 0 8 0 amappl4 104 266 0 249 1 0 1 1 0 8 0 amappl3 96 5689 0 5586 4 0 4 4 0 8 1 amappl2 88 655 0 599 2 0 2 2 0 8 0 amappl1 80 10863 0 10330 13 0 13 13 0 8 1 amappl 88 8043 0 7889 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 256 0 256 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 22 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1093 0 1065 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1093 0 1065 1 0 1 1 0 8 0 vmmpekpl 168 10194 0 10163 2 0 2 2 0 8 0 vmmpepl 168 71612 0 69817 94 0 94 94 0 357 11 vmsppl 368 1092 0 1065 4 0 4 4 0 8 1 rwobjpl 40 22473 0 18128 45 0 45 45 0 8 1 pdppl 4096 2193 0 2130 101 32 69 83 0 8 6 pvpl 32 454569 0 446207 107 0 107 107 0 265 23 pmappl 216 1092 0 1065 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 392 0 33 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800039d55600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d55600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4aa1346f60, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800039d55600) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d55600) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb4aa1346f60, count: -3