uvm_fault(0xfffffd806ba59b90, 0x100, 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 *413638 27445 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c98f340) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98f340) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdd0597ade20, 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(0xfffffd806ba59b90, 0x100, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c98f340) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98f340) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdd0597ade20, count: -3 ddb> show registers rdi 0x100 rsi 0xffff80003c98efd0 rbp 0xffff80003c98f270 rbx 0xfffffff7 rdx 0xffff80003c98a000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x126377547967bd1d r11 0xffffffff82c06d00 copy_fault r12 0x7 r13 0x16 r14 0xffff80003c98efd0 r15 0xffff80003c98f340 rip 0xffffffff82c06c27 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c98efc0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=413638 pid=27445 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=0xffff80002a823ca0,0xffff80002a823250 process=0xffff80002cd2edc8 user=0xffff80003c98a000, vmspace=0xfffffd806ba59b90 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 29527 276903 36640 0 2 0 syz-executor 29527 95746 36640 0 3 0x4000080 fsleep syz-executor 99889 397157 73197 0 2 0 syz-executor 99889 229817 73197 0 3 0x4000080 fsleep syz-executor 40786 76051 1703 0 2 0 syz-executor 40786 135795 1703 0 3 0x4000080 fsleep syz-executor 27445 424583 98839 0 2 0 syz-executor *27445 413638 98839 0 7 0x4000000 syz-executor 11561 52976 0 0 3 0x14200 bored sosplice 93427 106107 17802 0 2 0xc80 syz-executor 93427 104998 17802 0 2 0x4000000 syz-executor 93427 162879 17802 0 3 0x4000080 fsleep syz-executor 83676 406698 6379 0 2 0 syz-executor 83676 441192 6379 0 3 0x4000080 lockf syz-executor 83676 338216 6379 0 3 0x4000080 fsleep syz-executor 83676 407379 6379 0 3 0x4000080 lockf syz-executor 47886 202682 37061 0 2 0xc80 syz-executor 47886 120602 37061 0 2 0x4000000 syz-executor 47886 112718 37061 0 3 0x4000000 inode syz-executor 47886 458263 37061 0 3 0x4000080 fsleep syz-executor 17802 29204 60502 0 2 0xc82 syz-executor 98839 330792 60502 0 2 0xc82 syz-executor 1703 433649 60502 0 2 0xc82 syz-executor 36640 318071 60502 0 3 0x82 nanoslp syz-executor 37061 311267 60502 0 2 0xc82 syz-executor 6379 192432 60502 0 2 0xc82 syz-executor 73197 170142 60502 0 3 0x82 nanoslp syz-executor 92532 403814 60502 0 3 0x82 wait syz-executor 60502 246832 53621 0 3 0x82 kqread syz-executor 53621 293649 50373 0 3 0x10008a sigsusp ksh 50373 173690 83156 0 3 0x98 kqread sshd-session 83156 24202 99433 0 3 0x92 kqread sshd-session 59401 443750 1 0 3 0x100083 ttyopn getty 99433 497667 1 0 3 0x88 kqread sshd 57195 48798 10290 73 3 0x1100090 kqread syslogd 10290 206068 1 0 3 0x100082 sbwait syslogd 56583 341192 1 0 3 0x100080 kqread resolvd 39233 503606 56913 77 3 0x100092 kqread dhcpleased 72128 33516 56913 77 3 0x100092 kqread dhcpleased 56913 274270 1 0 3 0x80 kqread dhcpleased 99604 497192 0 0 3 0x14200 bored smr 38075 278300 0 0 2 0x14200 zerothread 93566 95260 0 0 3 0x14200 aiodoned aiodoned 22992 52791 0 0 3 0x14200 syncer update 3189 217508 0 0 3 0x14200 cleaner cleaner 60996 513200 0 0 3 0x14200 reaper reaper 92730 355106 0 0 3 0x14200 pgdaemon pagedaemon 29530 305284 0 0 3 0x14200 bored viomb 13849 406658 0 0 3 0x40014200 acpi0 acpi0 42491 197004 0 0 3 0x14200 bored softnet7 99182 255999 0 0 3 0x14200 bored softnet6 99076 93275 0 0 3 0x14200 bored softnet5 71464 447249 0 0 3 0x14200 bored softnet4 84421 208829 0 0 3 0x14200 bored softnet3 44634 323155 0 0 3 0x14200 bored softnet2 64377 404232 0 0 3 0x14200 bored softnet1 59865 332286 0 0 3 0x14200 bored softnet0 33839 120196 0 0 3 0x14200 smrbar systqmp 25356 51055 0 0 3 0x14200 bored systq 27381 410915 0 0 3 0x40014200 tmoslp softclock 47971 23233 0 0 3 0x40014200 idle0 1 255792 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 10200 11156K 11383K 166960K 11395 0 pcb 17 12K 12K 166960K 31 0 rtable 185 6K 7K 166960K 294 0 pf 30 12K 14K 166960K 38 0 ifaddr 36 6K 7K 166960K 48 0 ifgroup 50 2K 2K 166960K 64 0 sysctl 1 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 72 0 iov 0 0K 12K 166960K 71 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1342 84K 85K 166960K 1416 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 212 0 sigio 0 0K 0K 166960K 69 0 proc 60 59K 124K 166960K 490 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 10 0 in_multi 77 5K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 446 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 246 152K 168K 166960K 3506 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 39 78K 96K 166960K 1234 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 42 8631K 8707K 166960K 8858 0 kqueue 13 20K 24K 166960K 30 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 43 0 39 1 0 1 1 0 8 0 rtentry 136 99 0 22 4 0 4 4 0 8 0 unpcb 144 211 0 195 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 23 0 19 1 0 1 1 0 8 0 arp 88 10 0 2 1 0 1 1 0 8 0 inpcb 328 111 0 103 2 0 2 2 0 8 1 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 2 0 2 1 0 1 1 0 8 1 nd6 104 16 0 4 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 pppxif 1384 1 0 1 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 476 0 81 30 0 30 30 0 8 4 art_table 40 478 0 81 5 0 5 5 0 8 0 art_node 32 99 0 30 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1691 0 186 95 0 95 95 0 8 0 ffsino 256 1691 0 186 95 0 95 95 0 8 0 nchpl 144 1987 0 304 63 0 63 63 0 8 0 uvmvnodes 80 1809 0 0 37 0 37 37 0 8 0 vnodes 216 1809 0 0 101 0 101 101 0 8 0 namei 1024 6169 0 6169 2 0 2 2 0 8 2 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7140 0 7140 8 0 8 8 1 8 8 plimitpl 152 40 0 21 1 0 1 1 0 8 0 sigapl 424 494 0 443 7 0 7 7 0 8 1 knotepl 120 5920 0 5873 9 0 9 9 0 8 6 kqueuepl 184 37 0 27 1 0 1 1 0 8 0 pipepl 304 174 0 147 3 0 3 3 0 8 0 fdescpl 448 473 0 443 5 0 5 5 0 8 1 filepl 120 2068 0 1842 11 0 11 11 0 8 3 lockfpl 104 52 0 46 1 0 1 1 0 8 0 lockfspl 48 23 0 20 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 145 0 133 1 0 1 1 0 8 0 zombiepl 144 444 0 443 1 0 1 1 0 8 0 processpl 1168 494 0 443 5 0 5 5 0 8 1 procpl 664 627 0 564 6 0 6 6 0 8 0 sockpl 552 370 0 342 12 2 10 12 0 8 7 mcl64k 65536 9 0 9 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2492 0 2440 14 0 14 14 0 8 7 mcl2k 2048 410 0 402 3 0 3 3 0 8 1 mtagpl 96 7 0 4 1 0 1 1 0 8 0 mbufpl 256 4784 0 4611 14 0 14 14 0 8 0 bufpl 280 3132 0 117 216 0 216 216 0 8 0 anonpl 24 103174 0 99274 24 0 24 24 0 187 0 amapchunkpl 152 10566 0 10019 35 0 35 35 0 158 13 amappl16 200 2001 0 1936 5 0 5 5 0 8 1 amappl15 192 38 0 38 1 0 1 1 0 8 1 amappl14 184 101 0 91 1 0 1 1 0 8 0 amappl13 176 3 0 3 1 0 1 1 0 8 1 amappl12 168 1084 0 1053 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 0 1 1 0 8 1 amappl9 144 256 0 256 1 0 1 1 0 8 1 amappl8 136 25 0 24 1 0 1 1 0 8 0 amappl7 128 95 0 85 1 0 1 1 0 8 0 amappl6 120 171 0 168 1 0 1 1 0 8 0 amappl5 112 125 0 119 1 0 1 1 0 8 0 amappl4 104 264 0 250 1 0 1 1 0 8 0 amappl3 96 1725 0 1602 4 0 4 4 0 8 1 amappl2 88 607 0 554 2 0 2 2 0 8 0 amappl1 80 8132 0 7580 13 0 13 13 0 8 0 amappl 88 2859 0 2678 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 473 0 443 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 473 0 443 1 0 1 1 0 8 0 vmmpekpl 168 5400 0 5379 2 0 2 2 0 8 0 vmmpepl 168 36695 0 34748 85 0 85 85 0 357 0 vmsppl 368 472 0 443 4 0 4 4 0 8 1 rwobjpl 40 14596 0 11882 28 0 28 28 0 8 0 pdppl 4096 953 0 886 97 28 69 83 0 8 2 pvpl 32 230857 0 220246 86 0 86 86 0 265 0 pmappl 216 472 0 443 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 376 0 28 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c98f340) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98f340) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdd0597ade20, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c98f340) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c98f340) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdd0597ade20, count: -3