uvm_fault(0xfffffd806ba692f0, 0x4c00, 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 *170125 79121 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9ad300) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9ad300) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbbb62bde190, 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(0xfffffd806ba692f0, 0x4c00, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9ad300) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9ad300) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbbb62bde190, count: -3 ddb> show registers rdi 0x4c00 __ALIGN_SIZE+0x3c00 rsi 0xffff80003c9ad010 rbp 0xffff80003c9ad230 rbx 0x80005a0 __kernel_phys_end+0x46005a0 rdx 0xffff80003c9a8000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x1575273787ce2a82 r11 0xffffffff8178daa0 copy_fault r12 0x3 r13 0x16 r14 0xffff80003c9ad010 r15 0xffff80003c9ad300 rip 0xffffffff8178d9c7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c9acf80 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=170125 pid=79121 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003414ea88,0xffff80002a7e0560 process=0xffff80003414a4b0 user=0xffff80003c9a8000, vmspace=0xfffffd806ba692f0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3989 111414 3039 0 2 0 syz-executor 3989 434244 3039 0 3 0x4000080 ttyout syz-executor 3989 358039 3039 0 2 0x4000000 syz-executor 3989 441923 3039 0 2 0x4000000 syz-executor 64302 497565 33186 0 2 0 syz-executor 64302 258858 33186 0 3 0x4000080 fsleep syz-executor 8827 396379 96763 0 2 0 syz-executor 8827 176026 96763 0 2 0x4000000 syz-executor 8827 94127 96763 0 3 0x4000080 fsleep syz-executor 79121 26111 18575 0 2 0 syz-executor 79121 341190 18575 0 3 0x4000080 kqread syz-executor 79121 288834 18575 0 3 0x4000080 kqread syz-executor *79121 170125 18575 0 7 0x4000000 syz-executor 84382 240677 54913 0 2 0 syz-executor 84382 503016 54913 0 3 0x4000080 kqread syz-executor 84382 423080 54913 0 3 0x4000080 fsleep syz-executor 30006 171011 29170 0 3 0x80 nanoslp syz-executor 30006 480196 29170 0 3 0x4000080 ttyin syz-executor 30006 512679 29170 0 3 0x4000080 ttyout syz-executor 30006 233586 29170 0 3 0x4000080 fsleep syz-executor 13849 493255 17686 0 3 0x80 nanoslp syz-executor 13849 338548 17686 0 3 0x4000080 fsleep syz-executor 13849 35067 17686 0 3 0x4000080 kqread syz-executor 74117 152966 0 0 3 0x14200 bored sosplice 18575 381154 79755 0 3 0x82 nanoslp syz-executor 33186 369918 79755 0 3 0x82 nanoslp syz-executor 54913 13658 79755 0 3 0x82 nanoslp syz-executor 43966 196925 79755 0 3 0x82 wait syz-executor 96763 442119 79755 0 3 0x82 nanoslp syz-executor 3039 488478 79755 0 3 0x82 nanoslp syz-executor 29170 132017 79755 0 3 0x82 nanoslp syz-executor 17686 504096 79755 0 3 0x82 nanoslp syz-executor 79755 438961 73764 0 3 0x82 kqread syz-executor 73764 518519 62234 0 3 0x10008a sigsusp ksh 62234 433301 70564 0 3 0x98 kqread sshd-session 70564 74201 18277 0 3 0x92 kqread sshd-session 93224 213161 1 0 3 0x100083 ttyopn getty 18277 178242 1 0 3 0x88 kqread sshd 14271 391637 55778 73 3 0x1100090 kqread syslogd 55778 163892 1 0 3 0x100082 sbwait syslogd 26473 342746 1 0 3 0x100080 kqread resolvd 26859 441987 87922 77 3 0x100092 kqread dhcpleased 20731 466485 87922 77 3 0x100092 kqread dhcpleased 87922 515552 1 0 3 0x80 kqread dhcpleased 24597 18958 0 0 3 0x14200 bored smr 61347 162542 0 0 2 0x14200 zerothread 8704 119550 0 0 3 0x14200 aiodoned aiodoned 14926 97239 0 0 3 0x14200 syncer update 46999 104165 0 0 3 0x14200 cleaner cleaner 88576 469217 0 0 3 0x14200 reaper reaper 31780 419989 0 0 3 0x14200 pgdaemon pagedaemon 43811 131417 0 0 3 0x14200 bored viomb 38506 440736 0 0 3 0x40014200 acpi0 acpi0 63071 30072 0 0 3 0x14200 bored softnet7 60502 336948 0 0 3 0x14200 bored softnet6 65726 158216 0 0 3 0x14200 bored softnet5 43834 517901 0 0 3 0x14200 bored softnet4 33578 219001 0 0 3 0x14200 bored softnet3 15174 117283 0 0 3 0x14200 bored softnet2 10481 185438 0 0 3 0x14200 bored softnet1 32089 190460 0 0 3 0x14200 bored softnet0 27388 342727 0 0 3 0x14200 bored systqmp 97121 235163 0 0 3 0x14200 bored systq 30151 522458 0 0 3 0x40014200 tmoslp softclock 30464 26466 0 0 3 0x40014200 idle0 1 454197 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 10188 11057K 11293K 166960K 11589 0 pcb 17 12K 12K 166960K 121 0 rtable 211 6K 7K 166960K 273 0 pf 32 13K 20K 166960K 46 0 ifaddr 42 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 56 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 18K 166960K 37 0 ioctlops 0 0K 4K 166960K 91 0 iov 1 0K 12K 166960K 78 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1397 88K 88K 166960K 1591 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 9 0K 0K 166960K 12 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 300 0 proc 60 59K 91K 166960K 496 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 0 0K 0K 166960K 20 0 in_multi 99 7K 7K 166960K 104 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 395 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 240 151K 158K 166960K 4280 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 39 78K 94K 166960K 1322 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 11 0K 2K 166960K 30 0 temp 39 8634K 8699K 166960K 12415 0 kqueue 18 26K 28K 166960K 53 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 51 0 48 1 0 1 1 0 8 0 rtentry 136 98 0 3 4 0 4 4 0 8 0 unpcb 144 153 0 134 2 0 2 2 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 46 0 42 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 242 0 234 2 0 2 2 0 8 1 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 19 0 2 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 5 0 5 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 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 1 0 1 1 0 1 1 0 8 1 pfrule 1344 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 467 0 30 30 0 30 30 0 8 1 art_table 40 468 0 30 5 0 5 5 0 8 0 art_node 32 98 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 4 1 0 1 1 0 8 1 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 9 0 2 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1899 0 397 95 0 95 95 0 8 0 ffsino 256 1899 0 397 95 0 95 95 0 8 0 nchpl 144 2339 0 658 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2119 0 0 44 0 44 44 0 8 0 vnodes 216 2119 0 0 118 0 118 118 0 8 0 namei 1024 7327 0 7326 2 0 2 2 0 8 1 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scxspl 216 7665 0 7665 8 0 8 8 1 8 8 plimitpl 152 46 0 29 1 0 1 1 0 8 0 sigapl 424 583 0 532 7 0 7 7 0 8 1 knotepl 120 9295 0 9244 10 0 10 10 0 8 8 kqueuepl 184 76 0 64 1 0 1 1 0 8 0 pipepl 304 113 0 86 3 0 3 3 0 8 0 fdescpl 448 561 0 531 5 0 5 5 0 8 1 filepl 120 2730 0 2499 9 0 9 9 0 8 1 lockfpl 104 64 0 62 1 0 1 1 0 8 0 lockfspl 48 28 0 26 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 438 0 427 1 0 1 1 0 8 0 zombiepl 144 533 0 532 1 0 1 1 0 8 0 processpl 1168 583 0 532 5 0 5 5 0 8 1 procpl 664 836 0 769 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 456 0 426 5 0 5 5 0 8 2 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2645 0 2593 13 0 13 13 0 8 5 mcl2k 2048 410 0 406 2 0 2 2 0 8 1 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 6755 0 6584 12 0 12 12 0 8 0 bufpl 280 3188 0 121 220 0 220 220 0 8 0 anonpl 24 110579 0 107334 45 0 45 45 0 187 20 amapchunkpl 152 13170 0 12636 25 0 25 25 0 158 3 amappl16 200 1840 0 1812 15 0 15 15 0 8 13 amappl14 184 172 0 162 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 0 1 1 0 8 1 amappl12 168 1166 0 1136 3 0 3 3 0 8 1 amappl11 160 61 0 51 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 254 0 254 1 0 1 1 0 8 1 amappl8 136 28 0 27 1 0 1 1 0 8 0 amappl7 128 95 0 85 1 0 1 1 0 8 0 amappl6 120 168 0 165 1 0 1 1 0 8 0 amappl5 112 112 0 105 1 0 1 1 0 8 0 amappl4 104 270 0 254 1 0 1 1 0 8 0 amappl3 96 2258 0 2136 4 0 4 4 0 8 0 amappl2 88 606 0 548 2 0 2 2 0 8 0 amappl1 80 8443 0 7900 13 0 13 13 0 8 1 amappl 88 3620 0 3443 5 0 5 5 0 92 0 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 561 0 531 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 561 0 531 1 0 1 1 0 8 0 vmmpekpl 168 5845 0 5818 2 0 2 2 0 8 0 vmmpepl 168 41115 0 39223 93 0 93 93 0 357 10 vmsppl 368 560 0 531 4 0 4 4 0 8 1 rwobjpl 40 15523 0 12538 33 0 33 33 0 8 1 pdppl 4096 1128 0 1062 94 28 66 80 0 8 0 pvpl 32 265545 0 256944 116 0 116 116 0 265 39 pmappl 216 560 0 531 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 368 0 28 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9ad300) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9ad300) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbbb62bde190, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9ad300) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9ad300) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbbb62bde190, count: -3