uvm_fault(0xfffffd8070f1de70, 0x6760, 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 *349063 14466 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff8000389531c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389531c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb57698b940, 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(0xfffffd8070f1de70, 0x6760, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff8000389531c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389531c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb57698b940, count: -3 ddb> show registers rdi 0x6760 __ALIGN_SIZE+0x5760 rsi 0xffff800038952eb0 rbp 0xffff8000389530f0 rbx 0x4000a6bf rdx 0xffff80003894e000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff800038952b88 r10 0x9d24d0328f6331f2 r11 0xffffffff814d02e0 copy_fault r12 0x4 r13 0x16 r14 0xffff800038952eb0 r15 0xffff8000389531c0 rip 0xffffffff814d0207 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800038952e40 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=349063 pid=14466 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=76, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f54e0,0xffff80003895d260 process=0xffff8000ffff5fa0 user=0xffff80003894e000, vmspace=0xfffffd8070f1de70 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79627 374395 47977 0 2 0 syz-executor 79627 166110 47977 0 3 0x4000080 fsleep syz-executor 61278 97853 58997 0 2 0 syz-executor 61278 67224 58997 0 3 0x4000080 fsleep syz-executor 14466 77065 628 0 2 0 syz-executor *14466 349063 628 0 7 0x4000000 syz-executor 2566 348321 29602 0 2 0 syz-executor 2566 310059 29602 0 2 0x4000000 syz-executor 2566 179424 29602 0 3 0x4000080 fsleep syz-executor 2566 366975 29602 0 3 0x4000080 fsleep syz-executor 96756 366908 61138 0 2 0 syz-executor 96756 405468 61138 0 3 0x4000080 fsleep syz-executor 80251 180583 0 0 3 0x14200 acct acct 27438 26782 1 0 3 0x100083 ttyin getty 62759 55857 0 0 3 0x14200 bored sosplice 82347 326467 16478 0 2 0x2 syz-executor 29602 287452 16478 0 2 0xc82 syz-executor 47977 428193 16478 0 3 0x82 nanoslp syz-executor 48170 140558 16478 0 2 0xc82 syz-executor 58997 14918 16478 0 2 0xc82 syz-executor 61138 40264 16478 0 2 0xc82 syz-executor 628 432123 16478 0 3 0x82 nanoslp syz-executor 304 354431 16478 0 3 0x82 nanoslp syz-executor 16478 437610 45354 0 3 0x82 kqread syz-executor 45354 120332 25304 0 3 0x10008a sigsusp ksh 25304 505983 57424 0 3 0x98 kqread sshd-session 57424 245223 22705 0 3 0x92 kqread sshd-session 22705 317694 1 0 3 0x88 kqread sshd 32431 348462 17084 73 3 0x1100090 kqread syslogd 17084 488743 1 0 3 0x100082 sbwait syslogd 21724 184806 1 0 3 0x100080 kqread resolvd 84014 64444 94950 77 3 0x100092 kqread dhcpleased 31963 428878 94950 77 3 0x100092 kqread dhcpleased 94950 12627 1 0 3 0x80 kqread dhcpleased 20728 296238 0 0 3 0x14200 bored smr 7596 285473 0 0 2 0x14200 zerothread 22987 199357 0 0 3 0x14200 aiodoned aiodoned 89703 29996 0 0 3 0x14200 syncer update 68074 103343 0 0 3 0x14200 cleaner cleaner 22310 408238 0 0 3 0x14200 reaper reaper 80594 449483 0 0 3 0x14200 pgdaemon pagedaemon 51661 333446 0 0 3 0x14200 bored viomb 47716 479331 0 0 3 0x40014200 acpi0 acpi0 11729 354613 0 0 3 0x14200 bored softnet7 56589 53255 0 0 3 0x14200 bored softnet6 33633 398639 0 0 3 0x14200 bored softnet5 5181 102409 0 0 3 0x14200 bored softnet4 61565 366012 0 0 3 0x14200 bored softnet3 20994 273716 0 0 3 0x14200 bored softnet2 58152 240100 0 0 3 0x14200 bored softnet1 61813 510830 0 0 3 0x14200 bored softnet0 33594 419971 0 0 3 0x14200 smrbar systqmp 62524 432065 0 0 3 0x14200 bored systq 93723 453228 0 0 2 0x40014200 softclock 47097 217013 0 0 3 0x40014200 idle0 1 425445 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 10218 11168K 11246K 166960K 11555 0 pcb 18 12K 12K 166960K 72 0 rtable 205 8K 9K 166960K 329 0 pf 30 12K 16K 166960K 63 0 ifaddr 40 7K 8K 166960K 62 0 ifgroup 50 2K 2K 166960K 87 0 sysctl 2 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 53 0 ioctlops 0 0K 4K 166960K 78 0 iov 0 0K 24K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1375 86K 87K 166960K 1591 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 9 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 106K 166960K 429 0 sigio 0 0K 0K 166960K 4 0 proc 61 59K 124K 166960K 520 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 34 0 in_multi 95 7K 7K 166960K 109 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 2K 166960K 375 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 232 144K 160K 166960K 5244 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 38 76K 96K 166960K 1458 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 34 0 NDP 11 0K 2K 166960K 41 0 temp 46 8633K 8712K 166960K 24070 0 kqueue 13 20K 26K 166960K 73 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 59 0 56 1 0 1 1 0 8 0 rtentry 136 109 0 24 4 0 4 4 0 8 0 unpcb 144 490 0 475 9 0 9 9 0 8 8 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 241 0 237 7 0 7 7 0 8 6 arp 88 12 0 1 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 5 0 3 1 0 1 1 0 8 0 inpcb 328 456 0 448 7 0 7 7 0 8 6 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 23 0 5 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 18 0 18 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pftag 88 2 0 2 1 0 1 1 0 8 1 pfrule 1344 1 0 1 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 519 0 113 29 0 29 29 0 8 1 art_table 40 522 0 113 5 0 5 5 0 8 0 art_node 32 109 0 33 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 4 1 0 1 1 0 8 0 semapl 112 7 0 1 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2107 0 605 95 0 95 95 0 8 0 ffsino 256 2107 0 605 95 0 95 95 0 8 0 nchpl 144 2706 0 1017 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2314 0 0 48 0 48 48 0 8 0 vnodes 216 2314 0 0 129 0 129 129 0 8 0 namei 1024 8297 0 8297 2 0 2 2 0 8 2 kstatmem 264 50 0 28 3 0 3 3 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 11199 0 11199 8 0 8 8 1 8 8 plimitpl 152 71 0 54 1 0 1 1 0 8 0 sigapl 424 709 0 658 7 0 7 7 0 8 1 knotepl 120 293129 0 293082 17 7 10 17 0 8 7 kqueuepl 184 111 0 101 1 0 1 1 0 8 0 pipepl 304 122 0 95 3 0 3 3 0 8 0 fdescpl 448 686 0 657 5 0 5 5 0 8 1 filepl 120 3675 0 3454 14 0 14 14 0 8 7 lockfpl 104 167 0 164 2 0 2 2 0 8 1 lockfspl 48 46 0 43 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 36 0 20 1 0 1 1 0 8 0 ucredpl 104 439 0 428 1 0 1 1 0 8 0 zombiepl 144 660 0 658 1 0 1 1 0 8 0 processpl 1152 709 0 658 5 0 5 5 0 8 1 procpl 664 1174 0 1116 6 0 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 1017 0 990 17 7 10 17 0 8 7 mcl64k 65536 46 0 45 1 0 1 1 0 8 0 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 2808 0 2757 13 0 13 13 0 8 5 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 579 0 577 2 0 2 2 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 8131 0 7955 13 0 13 13 0 8 0 bufpl 280 5670 0 119 397 0 397 397 0 8 0 anonpl 24 135196 0 122614 77 0 77 77 0 187 0 amapchunkpl 152 16854 0 16207 37 0 37 37 0 158 10 amappl16 200 2896 0 2462 27 0 27 27 0 8 0 amappl15 192 25 0 25 1 0 1 1 0 8 1 amappl14 184 107 0 97 1 0 1 1 0 8 0 amappl13 176 2 0 2 1 0 1 1 0 8 1 amappl12 168 1296 0 1267 3 0 3 3 0 8 1 amappl11 160 68 0 58 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 0 1 1 0 8 1 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 32 0 30 1 0 1 1 0 8 0 amappl7 128 121 0 111 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 116 0 110 1 0 1 1 0 8 0 amappl4 104 274 0 257 1 0 1 1 0 8 0 amappl3 96 3070 0 2967 3 0 3 3 0 8 0 amappl2 88 625 0 569 2 0 2 2 0 8 0 amappl1 80 9667 0 9121 13 0 13 13 0 8 1 amappl 88 4535 0 4366 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 686 0 657 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 686 0 657 1 0 1 1 0 8 0 vmmpekpl 168 6999 0 6968 2 0 2 2 0 8 0 vmmpepl 168 50202 0 47956 104 0 104 104 0 357 2 vmsppl 368 685 0 657 4 0 4 4 0 8 1 rwobjpl 40 18515 0 14938 37 0 37 37 0 8 0 pdppl 4096 1378 0 1314 100 34 66 82 0 8 2 pvpl 32 326174 0 307178 164 0 164 164 0 265 9 pmappl 216 685 0 657 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 378 0 34 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff8000389531c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389531c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb57698b940, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff8000389531c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000389531c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcb57698b940, count: -3