uvm_fault(0xfffffd806bb85b90, 0xe20, 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 *190750 36099 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800039d59e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d59e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb06fc65bea0, 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(0xfffffd806bb85b90, 0xe20, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800039d59e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d59e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb06fc65bea0, count: -3 ddb> show registers rdi 0xe20 rsi 0xffff800039d59b10 rbp 0xffff800039d59d70 rbx 0xa989 __ALIGN_SIZE+0x9989 rdx 0xffff800039d54000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x913963ddac917d20 r11 0xffffffff829b3450 copy_fault r12 0x5 r13 0x16 r14 0xffff800039d59b10 r15 0xffff800039d59e40 rip 0xffffffff829b3377 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800039d59ac0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=190750 pid=36099 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=0xffff80002a81f4d8,0xffffffff8388ac18 process=0xffff8000ffff9698 user=0xffff800039d54000, vmspace=0xfffffd806bb85b90 estcpu=8, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 36099 345283 43849 0 2 0 syz-executor *36099 190750 43849 0 7 0x4000000 syz-executor 65747 72475 20903 0 2 0 syz-executor 65747 201012 20903 0 3 0x4000080 fsleep syz-executor 25079 130539 66178 0 2 0 syz-executor 25079 380265 66178 0 3 0x4000080 fsleep syz-executor 30793 504071 16331 0 2 0 syz-executor 30793 168643 16331 0 3 0x4000080 sbwait syz-executor 30793 11240 16331 0 3 0x4000080 bell syz-executor 93315 254879 85696 0 2 0 syz-executor 93315 472813 85696 0 3 0x4000080 fsleep syz-executor 93315 386302 85696 0 3 0x4000080 fsleep syz-executor 93315 477373 85696 0 3 0x4000080 fsleep syz-executor 56681 448117 3837 0 2 0 syz-executor 56681 63439 3837 0 3 0x4000080 fsleep syz-executor 33939 126509 97211 0 2 0 syz-executor 33939 149794 97211 0 3 0x4000080 fsleep syz-executor 66178 46740 98129 0 3 0x82 nanoslp syz-executor 43849 21739 98129 0 3 0x82 nanoslp syz-executor 20903 340449 98129 0 3 0x82 nanoslp syz-executor 16331 365848 98129 0 3 0x82 nanoslp syz-executor 97211 291862 98129 0 3 0x82 nanoslp syz-executor 99254 145637 98129 0 2 0x2 syz-executor 85696 383562 98129 0 3 0x82 nanoslp syz-executor 3837 311119 98129 0 3 0x82 nanoslp syz-executor 98129 369488 65715 0 3 0x82 kqread syz-executor 65715 138839 27800 0 3 0x10008a sigsusp ksh 27800 265568 28710 0 3 0x98 kqread sshd-session 28710 36875 36204 0 3 0x92 kqread sshd-session 60025 278798 1 0 3 0x100083 ttyin getty 36204 265826 1 0 3 0x88 kqread sshd 207 369437 1992 73 3 0x1100090 kqread syslogd 1992 283305 1 0 3 0x100082 sbwait syslogd 82958 79869 1 0 3 0x100080 kqread resolvd 99867 129154 91489 77 3 0x100092 kqread dhcpleased 60464 36618 91489 77 3 0x100092 kqread dhcpleased 91489 103111 1 0 3 0x80 kqread dhcpleased 21953 379092 0 0 3 0x14200 bored smr 80542 175447 0 0 2 0x14200 zerothread 72146 56349 0 0 3 0x14200 aiodoned aiodoned 3012 299778 0 0 3 0x14200 syncer update 39375 361500 0 0 3 0x14200 cleaner cleaner 81174 45075 0 0 3 0x14200 reaper reaper 7372 434423 0 0 3 0x14200 pgdaemon pagedaemon 16821 337651 0 0 3 0x14200 bored viomb 17161 225532 0 0 3 0x40014200 acpi0 acpi0 48727 512014 0 0 3 0x14200 bored softnet7 75391 416622 0 0 3 0x14200 bored softnet6 13024 415177 0 0 3 0x14200 bored softnet5 61230 467801 0 0 3 0x14200 bored softnet4 81062 507306 0 0 3 0x14200 bored softnet3 88544 362881 0 0 3 0x14200 bored softnet2 28379 124351 0 0 3 0x14200 bored softnet1 27827 290942 0 0 3 0x14200 bored softnet0 17219 245781 0 0 3 0x14200 bored systqmp 80993 407212 0 0 3 0x14200 bored systq 6629 206691 0 0 3 0x40014200 tmoslp softclock 63495 406105 0 0 3 0x40014200 idle0 1 238268 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 10183 11123K 11123K 166960K 11266 0 pcb 18 12K 12K 166960K 24 0 rtable 205 5K 5K 166960K 259 0 pf 30 12K 17K 166960K 163 0 ifaddr 42 7K 7K 166960K 45 0 ifgroup 50 2K 2K 166960K 52 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 33 0 ioctlops 0 0K 2K 166960K 29 0 iov 0 0K 4K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1340 84K 84K 166960K 1365 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 15 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 150 0 proc 59 59K 124K 166960K 480 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 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 37 175K 175K 166960K 37 0 exec 0 0K 2K 166960K 348 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 226 159K 167K 166960K 2870 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 38 76K 96K 166960K 1182 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 27 2K 2K 166960K 28 0 temp 34 8634K 8698K 166960K 3731 0 kqueue 14 20K 24K 166960K 25 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 39 0 35 1 0 1 1 0 8 0 rtentry 136 95 0 1 4 0 4 4 0 8 0 unpcb 144 33 0 18 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 62 0 55 2 0 2 2 0 8 1 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 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 437 0 0 28 0 28 28 0 8 0 art_table 40 438 0 0 5 0 5 5 0 8 0 art_node 32 95 0 11 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 0 3 0 3 3 0 8 0 dino2pl 256 1581 0 74 95 0 95 95 0 8 0 ffsino 256 1581 0 74 95 0 95 95 0 8 0 nchpl 144 1778 0 102 63 0 63 63 0 8 0 uvmvnodes 80 1669 0 0 35 0 35 35 0 8 0 vnodes 216 1669 0 0 93 0 93 93 0 8 0 namei 1024 5220 0 5220 2 0 2 2 0 8 2 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 6298 0 6298 8 0 8 8 1 8 8 plimitpl 152 28 0 12 1 0 1 1 0 8 0 sigapl 424 434 0 385 7 0 7 7 0 8 1 knotepl 120 3685 0 3637 9 0 9 9 0 8 7 kqueuepl 184 25 0 13 1 0 1 1 0 8 0 pipepl 304 99 0 72 3 0 3 3 0 8 0 fdescpl 448 414 0 385 5 0 5 5 0 8 1 filepl 120 1343 0 1128 7 0 7 7 0 8 0 lockfpl 104 17 0 14 1 0 1 1 0 8 0 lockfspl 48 10 0 7 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 85 0 74 1 0 1 1 0 8 0 zombiepl 144 385 0 385 1 0 1 1 0 8 1 processpl 1152 434 0 385 5 0 5 5 0 8 1 procpl 664 465 0 406 6 0 6 6 0 8 0 sockpl 552 137 0 110 3 0 3 3 0 8 0 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2455 0 2404 13 0 13 13 0 8 6 mcl2k 2048 165 0 162 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 3843 0 3709 9 0 9 9 0 8 0 bufpl 280 2834 0 117 195 0 195 195 0 8 0 anonpl 24 100519 0 97461 31 0 31 31 0 187 10 amapchunkpl 152 8393 0 7906 25 0 25 25 0 158 4 amappl16 200 1891 0 1870 5 0 5 5 0 8 3 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 105 0 95 1 0 1 1 0 8 0 amappl13 176 9 0 9 1 0 1 1 0 8 1 amappl12 168 1027 0 998 3 0 3 3 0 8 1 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 0 1 1 0 8 1 amappl9 144 247 0 247 1 0 1 1 0 8 1 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 102 0 91 1 0 1 1 0 8 0 amappl6 120 178 0 175 1 0 1 1 0 8 0 amappl5 112 110 0 104 1 0 1 1 0 8 0 amappl4 104 267 0 252 1 0 1 1 0 8 0 amappl3 96 1244 0 1150 3 0 3 3 0 8 0 amappl2 88 633 0 562 2 0 2 2 0 8 0 amappl1 80 7919 0 7372 13 0 13 13 0 8 1 amappl 88 2237 0 2075 4 0 4 4 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 414 0 385 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 414 0 385 1 0 1 1 0 8 0 vmmpekpl 168 4821 0 4796 2 0 2 2 0 8 0 vmmpepl 168 32870 0 31048 82 0 82 82 0 357 0 vmsppl 368 413 0 385 4 0 4 4 0 8 1 rwobjpl 40 13752 0 11244 26 0 26 26 0 8 0 pdppl 4096 835 0 770 97 14 83 83 0 8 18 pvpl 32 212521 0 204392 83 0 83 83 0 265 13 pmappl 216 413 0 385 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 359 0 14 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800039d59e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d59e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb06fc65bea0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800039d59e40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039d59e40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb06fc65bea0, count: -3