uvm_fault(0xfffffd805ad6e9b0, 0xc5a0, 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 *312681 66712 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003a045820) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a045820) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x571a0cf6d20, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd805ad6e9b0, 0xc5a0, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003a045820) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a045820) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x571a0cf6d20, count: -3 ddb{0}> show registers rdi 0xc5a0 __ALIGN_SIZE+0xb5a0 rsi 0xffff80003a045540 rbp 0xffff80003a045740 rbx 0xa3cd __ALIGN_SIZE+0x93cd rdx 0xffff80003a040000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x1252a6e05499d38 r11 0xffffffff81e13090 copy_fault r12 0x2 r13 0x16 r14 0xffff80003a045540 r15 0xffff80003a045820 rip 0xffffffff81e12fb7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003a045490 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=312681 pid=66712 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=0xffff80002a35efc0,0xffffffff83954170 process=0xffff800035825d00 user=0xffff80003a040000, vmspace=0xfffffd805ad6e9b0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 63065 257723 66869 0 2 0 syz-executor 66712 95935 10139 0 2 0 syz-executor *66712 312681 10139 0 7 0x4000000 syz-executor 14685 31860 26937 0 2 0x82000 syz-executor 14685 438645 26937 0 3 0x4002000 suspend syz-executor 83124 167929 55193 0 2 0 syz-executor 83124 488909 55193 0 3 0x4000080 fifow syz-executor 74563 362456 56975 0 2 0 syz-executor 74563 464536 56975 0 3 0x4000080 fsleep syz-executor 25596 272109 34863 0 3 0x82 nanoslp syz-executor 66869 147885 34863 0 2 0xc82 syz-executor 27635 313457 0 0 3 0x14200 acct acct 10139 194997 34863 0 2 0xc82 syz-executor 32399 142059 1 0 3 0x100083 ttyin getty 26937 104345 34863 0 2 0xc82 syz-executor 86368 242851 0 0 3 0x14200 bored sosplice 55193 8541 34863 0 3 0x82 nanoslp syz-executor 98558 68143 34863 0 2 0xc82 syz-executor 81161 409951 34863 0 3 0x82 nanoslp syz-executor 56975 151744 34863 0 3 0x82 nanoslp syz-executor 34863 253376 32535 0 3 0x82 kqread syz-executor 32535 266310 60835 0 3 0x10008a sigsusp ksh 60835 385627 93684 0 3 0x98 kqread sshd-session 93684 447427 95188 0 3 0x92 kqread sshd-session 95188 269451 1 0 3 0x88 kqread sshd 9212 291613 55649 74 3 0x1100092 bpf pflogd 55649 35377 1 0 3 0x80 sbwait pflogd 91557 465933 13240 73 3 0x1100090 kqread syslogd 13240 219722 1 0 3 0x100082 sbwait syslogd 91305 296785 1 0 3 0x100080 kqread resolvd 99103 355170 50841 77 3 0x100092 kqread dhcpleased 88836 468866 50841 77 3 0x100092 kqread dhcpleased 50841 99109 1 0 3 0x80 kqread dhcpleased 11765 331664 0 0 3 0x14200 bored smr 93962 516249 0 0 2 0x14200 zerothread 69560 384525 0 0 3 0x14200 aiodoned aiodoned 48499 367293 0 0 3 0x14200 syncer update 11192 515020 0 0 3 0x14200 cleaner cleaner 1398 158150 0 0 3 0x14200 reaper reaper 28948 400780 0 0 3 0x14200 pgdaemon pagedaemon 18621 221141 0 0 3 0x14200 bored viomb 18985 248679 0 0 3 0x40014200 acpi0 acpi0 30855 148803 0 0 7 0x40014200 idle1 600 438810 0 0 3 0x14200 bored softnet7 51626 35378 0 0 3 0x14200 bored softnet6 392 4125 0 0 3 0x14200 bored softnet5 51487 349335 0 0 3 0x14200 bored softnet4 73747 300548 0 0 3 0x14200 bored softnet3 21967 309658 0 0 3 0x14200 bored softnet2 23438 445079 0 0 3 0x14200 bored softnet1 24815 323679 0 0 3 0x14200 bored softnet0 35408 267217 0 0 3 0x14200 bored systqmp 35274 314459 0 0 3 0x14200 bored systq 9336 350678 0 0 3 0x14200 tmoslp softclockmp 31588 62067 0 0 2 0x40014200 softclock 37891 426330 0 0 3 0x40014200 idle0 1 149339 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10261 11079K 11537K 166960K 17280 0 pcb 17 20K 21K 166960K 938 0 rtable 267 15K 16K 166960K 892 0 pf 42 19K 67487K 166960K 514 0 ifaddr 38 7K 9K 166960K 246 0 ifgroup 63 2K 3K 166960K 450 0 sysctl 4 1K 9K 166960K 98 0 counters 72 37K 38K 166960K 586 0 ioctlops 0 0K 4K 166960K 2284 0 iov 0 0K 24K 166960K 413 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1496 94K 95K 166960K 5085 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 5K 9K 166960K 57 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 110 0 dirhash 12 2K 2K 166960K 69 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 3814 0 sigio 0 0K 0K 166960K 214 0 proc 74 115K 164K 166960K 1118 0 subproc 72 4K 4K 166960K 145 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 578 0 in_multi 67 5K 7K 166960K 411 0 ether_multi 1 0K 0K 166960K 16 0 mrt 1 0K 0K 166960K 16 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 910 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 259 169K 182K 166960K 35190 0 UVM aobj 25 2K 2K 166960K 29 0 pinsyscall 43 86K 99K 166960K 5110 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 257 0 NDP 14 0K 2K 166960K 175 0 temp 82 8652K 8908K 166960K 169345 0 kqueue 15 22K 30K 166960K 687 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 354 0 351 3 2 1 3 0 8 0 rtentry 176 305 0 203 5 0 5 5 0 8 0 unpcb 144 2353 0 2334 15 11 4 6 0 8 3 syncache 336 10 0 10 4 3 1 1 0 8 1 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 1235 0 1231 39 35 4 13 0 8 3 arp 128 35 0 20 1 0 1 1 0 8 0 inpcb 328 4022 0 4013 34 29 5 12 0 8 3 nd6 144 77 0 38 2 0 2 2 0 8 0 pkpcb 40 74 0 74 1 0 1 1 0 8 1 kcovpl 48 16 0 8 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1192 208 0 208 2 1 1 1 0 8 1 pppxif 1504 24 0 24 5 4 1 1 0 8 1 pfstscr 40 13 0 12 2 1 1 1 0 8 0 pffrag 232 16 0 8 1 0 1 1 0 482 0 pffrnode 88 13 0 5 1 0 1 1 0 8 0 pffrent 40 59 0 50 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 4 0 4 3 3 0 1 0 8 0 pfanchor 1288 4 0 2 1 0 1 1 0 8 0 pftag 88 5 0 3 2 1 1 1 0 8 0 pfstitem 24 237 0 128 1 0 1 1 0 8 0 pfstkey 128 253 0 144 4 0 4 4 0 8 0 pfstate 384 243 0 137 12 0 12 12 0 8 0 pfrule 1344 84 0 79 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1773 0 1047 57 9 48 48 0 8 0 art_table 40 1777 0 1047 9 1 8 8 0 8 0 art_node 32 299 0 209 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 102 0 92 1 0 1 1 0 8 0 shmpl 112 26 0 4 1 0 1 1 0 8 0 dirhash 1024 55 0 38 3 0 3 3 0 8 0 dino2pl 256 8138 0 6616 96 0 96 96 0 8 0 ffsino 296 8138 0 6616 118 0 118 118 0 8 0 nchpl 144 13333 0 12750 64 39 25 64 0 8 0 rtmask 32 30 0 30 5 4 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 45974 0 45974 1 0 1 1 0 8 1 percpumem 16 308 0 257 1 0 1 1 0 8 0 kstatmem 264 288 0 254 5 2 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 22 0 22 5 5 0 1 0 8 0 scxspl 216 59593 0 59593 15 14 1 8 1 8 1 plimitpl 152 885 0 868 1 0 1 1 0 8 0 sigapl 424 4097 0 4041 7 0 7 7 0 8 0 knotepl 120 811 0 0 24 0 24 24 0 8 0 kqueuepl 224 1362 0 1352 18 17 1 9 0 8 0 pipepl 344 502 0 475 6 3 3 6 0 8 0 fdescpl 528 4059 0 4027 3 0 3 3 0 8 0 filepl 160 26933 0 26713 31 18 13 20 0 8 0 lockfpl 104 2654 0 2652 3 2 1 2 0 8 0 lockfspl 48 1100 0 1098 1 0 1 1 0 8 0 sessionpl 144 38 0 29 1 0 1 1 0 8 0 pgrppl 48 167 0 150 1 0 1 1 0 8 0 ucredpl 104 4693 0 4678 1 0 1 1 0 8 0 zombiepl 144 4044 0 4041 2 1 1 1 0 8 0 processpl 1232 4097 0 4041 5 0 5 5 0 8 0 procpl 664 9376 0 9316 7 1 6 7 0 8 0 sosppl 168 18 0 17 4 3 1 1 0 8 0 sockpl 752 6894 0 6863 56 45 11 24 0 8 7 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 105 0 0 11 0 11 11 0 8 0 mtagpl 96 84 0 0 3 1 2 3 0 8 0 mbufpl 256 1238 0 0 77 0 77 77 0 8 0 bufpl 280 21851 0 15708 440 0 440 440 0 8 0 anonpl 32 14369 0 0 116 0 116 116 0 246 0 amapchunkpl 152 119162 0 118564 52 19 33 35 0 158 6 amappl16 200 10740 0 10629 72 53 19 32 0 8 6 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 139 0 127 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 4827 0 4796 4 1 3 3 0 8 0 amappl11 160 53 0 38 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 1 0 1 0 8 0 amappl9 144 252 0 251 2 1 1 1 0 8 0 amappl8 136 40 0 37 1 0 1 1 0 8 0 amappl7 128 146 0 133 1 0 1 1 0 8 0 amappl6 120 259 0 256 1 0 1 1 0 8 0 amappl5 112 170 0 160 1 0 1 1 0 8 0 amappl4 104 331 0 309 1 0 1 1 0 8 0 amappl3 96 25043 0 24925 5 1 4 4 0 8 0 amappl2 88 931 0 867 2 0 2 2 0 8 0 amappl1 80 24666 0 24062 16 2 14 15 0 8 0 amappl 88 33783 0 33599 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 11 0 11 3 3 0 1 0 8 0 dma128 128 263 0 263 8 8 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 9 0 9 3 3 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 28 0 4 1 0 1 1 0 8 0 uaddrrnd 24 4059 0 4027 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4059 0 4027 1 0 1 1 0 8 0 vmmpekpl 168 28545 0 28493 3 0 3 3 0 8 0 vmmpepl 168 251103 0 248939 127 20 107 117 0 357 5 vmsppl 488 4058 0 4027 6 1 5 5 0 8 0 rwobjpl 80 64835 0 57848 154 5 149 153 0 8 2 pdppl 4096 8126 0 8054 120 48 72 86 0 8 0 pvpl 32 22352 0 0 180 0 180 180 0 265 0 pmappl 256 4058 0 4027 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 444 0 101 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003a045820) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a045820) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x571a0cf6d20, count: -3 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5