uvm_fault(0xfffffd8069b90d08, 0x8180, 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 *359396 17113 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800038d676a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038d676a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6c39665a6e0, 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(0xfffffd8069b90d08, 0x8180, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800038d676a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038d676a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6c39665a6e0, count: -3 ddb> show registers rdi 0x8180 __ALIGN_SIZE+0x7180 rsi 0xffff800038d673b0 rbp 0xffff800038d675d0 rbx 0x4000a5ee rdx 0xffff800038d62000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff800038d67068 r10 0x5f4fe46d37dce532 r11 0xffffffff81bb3420 copy_fault r12 0x3 r13 0x16 r14 0xffff800038d673b0 r15 0xffff800038d676a0 rip 0xffffffff81bb3347 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800038d67320 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=359396 pid=17113 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c980fb8,0xffff80002a7f82c8 process=0xffff80002cd2e938 user=0xffff800038d62000, vmspace=0xfffffd8069b90d08 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35683 30534 44821 0 2 0 syz-executor 35683 371979 44821 0 3 0x4000080 fsleep syz-executor 8893 471119 40691 60928 2 0x10 syz-executor 8893 462466 40691 60928 3 0x4000090 fsleep syz-executor 64030 283687 68140 0 2 0 syz-executor 64030 240859 68140 0 3 0x4000080 fsleep syz-executor 17113 5051 12876 0 2 0 syz-executor *17113 359396 12876 0 7 0x4000000 syz-executor 17075 183087 8880 0 2 0xc80 syz-executor 17075 447098 8880 0 3 0x4000080 kqread syz-executor 17075 181272 8880 0 3 0x4000080 fsleep syz-executor 17075 75402 8880 0 3 0x4000080 fsleep syz-executor 88731 371672 70485 0 2 0xc80 syz-executor 88731 287650 70485 0 3 0x4000080 sbwait syz-executor 88731 511903 70485 0 3 0x4000080 fsleep syz-executor 29086 97961 1 0 3 0x100083 ttyin getty 17510 195405 0 0 3 0x14200 acct acct 89728 165295 0 0 3 0x14200 bored sosplice 58207 94419 64672 0 2 0xc82 syz-executor 12876 137186 64672 0 2 0xc82 syz-executor 40691 453490 64672 0 2 0xc82 syz-executor 77559 197895 64672 0 2 0x2 syz-executor 68140 31061 64672 0 2 0xc82 syz-executor 8880 341256 64672 0 2 0xc82 syz-executor 44821 309897 64672 0 2 0xc82 syz-executor 70485 384061 64672 0 2 0xc82 syz-executor 64672 171351 71827 0 3 0x82 kqread syz-executor 71827 229717 91367 0 3 0x10008a sigsusp ksh 91367 171154 5638 0 3 0x98 kqread sshd-session 5638 498417 63981 0 3 0x92 kqread sshd-session 63981 456482 1 0 3 0x88 kqread sshd 57440 83666 58734 73 3 0x1100090 kqread syslogd 58734 523185 1 0 3 0x100082 sbwait syslogd 15656 321087 1 0 3 0x100080 kqread resolvd 64338 332788 58484 77 3 0x100092 kqread dhcpleased 88986 232350 58484 77 3 0x100092 kqread dhcpleased 58484 68784 1 0 3 0x80 kqread dhcpleased 75376 59973 0 0 3 0x14200 bored smr 73189 311404 0 0 2 0x14200 zerothread 50501 7519 0 0 3 0x14200 aiodoned aiodoned 64932 148992 0 0 3 0x14200 syncer update 11513 110408 0 0 3 0x14200 cleaner cleaner 31586 118998 0 0 3 0x14200 reaper reaper 68287 511074 0 0 3 0x14200 pgdaemon pagedaemon 25987 410789 0 0 3 0x14200 bored viomb 1938 313694 0 0 3 0x40014200 acpi0 acpi0 70115 269487 0 0 3 0x14200 bored softnet7 12514 509314 0 0 3 0x14200 bored softnet6 41300 346242 0 0 3 0x14200 bored softnet5 36851 88887 0 0 3 0x14200 bored softnet4 2 105200 0 0 3 0x14200 bored softnet3 24844 308708 0 0 3 0x14200 bored softnet2 52420 88912 0 0 3 0x14200 bored softnet1 9974 61777 0 0 3 0x14200 bored softnet0 71465 150711 0 0 3 0x14200 bored systqmp 56323 308406 0 0 3 0x14200 bored systq 3494 124398 0 0 2 0x40014200 softclock 56997 43679 0 0 3 0x40014200 idle0 1 411428 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 10211 11070K 11191K 166960K 11704 0 pcb 17 13K 16K 166960K 209 0 rtable 202 8K 8K 166960K 361 0 pf 33 13K 14K 166960K 84 0 ifaddr 43 8K 8K 166960K 81 0 ifgroup 50 2K 2K 166960K 119 0 sysctl 1 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 65 0 ioctlops 0 0K 4K 166960K 183 0 iov 0 0K 16K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1469 92K 93K 166960K 1884 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 10 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 127 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 613 0 sigio 0 0K 0K 166960K 10 0 proc 60 59K 124K 166960K 541 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 205 0 in_multi 104 7K 7K 166960K 136 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 419 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 227 139K 151K 166960K 7039 0 UVM aobj 15 2K 2K 166960K 16 0 pinsyscall 38 76K 96K 166960K 1641 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 87 0 NDP 11 0K 1K 166960K 49 0 temp 54 8638K 8714K 166960K 14931 0 kqueue 15 24K 32K 166960K 110 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 77 0 74 1 0 1 1 0 8 0 rtentry 136 121 0 38 4 0 4 4 0 8 0 unpcb 144 982 0 961 8 2 6 6 0 8 4 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpcb 736 256 0 252 5 3 2 4 0 8 1 arp 88 17 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 328 779 0 772 16 9 7 10 0 8 6 ip6q 72 12 0 8 1 0 1 1 0 8 0 ip6af 40 23 0 17 1 0 1 1 0 8 0 nd6 104 19 0 1 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 24 0 24 2 1 1 1 0 8 1 pppxif 1384 5 0 5 2 1 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 532 0 106 30 2 28 30 0 8 0 art_table 40 533 0 106 5 0 5 5 0 8 0 art_node 32 121 0 50 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 13 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2552 0 1048 95 0 95 95 0 8 0 ffsino 256 2552 0 1048 95 0 95 95 0 8 0 nchpl 144 3448 0 1763 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 1 0 1 0 8 0 uvmvnodes 80 2904 0 0 60 0 60 60 0 8 0 vnodes 216 2904 0 0 162 0 162 162 0 8 0 namei 1024 11778 0 11777 3 2 1 2 0 8 0 kstatmem 264 66 0 44 3 1 2 3 0 8 0 scsiplug 72 6 0 6 2 1 1 1 0 8 1 scxspl 216 13092 0 13092 8 7 1 8 1 8 1 plimitpl 152 235 0 219 1 0 1 1 0 8 0 sigapl 424 890 0 839 7 1 6 7 0 8 0 knotepl 120 22960 0 22910 28 18 10 16 0 8 6 kqueuepl 184 268 0 255 5 2 3 3 0 8 2 pipepl 304 154 0 126 3 0 3 3 0 8 0 fdescpl 448 866 0 837 5 1 4 5 0 8 0 filepl 120 6239 0 6012 19 5 14 14 0 8 6 lockfpl 104 344 0 341 2 0 2 2 0 8 1 lockfspl 48 90 0 87 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 38 0 22 1 0 1 1 0 8 0 ucredpl 104 970 0 957 1 0 1 1 0 8 0 zombiepl 144 1023 0 1022 2 1 1 1 0 8 0 processpl 1168 890 0 839 5 1 4 5 0 8 0 procpl 664 1665 0 1605 7 0 7 7 0 8 1 sosppl 168 2 0 2 1 1 0 1 0 8 0 sockpl 552 1958 0 1927 24 13 11 19 0 8 8 mcl64k 65536 49 0 49 3 2 1 2 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 3123 0 3067 17 9 8 17 0 8 0 mcl2k 2048 1085 0 1012 13 3 10 10 0 8 0 mtagpl 96 5 0 5 1 1 0 1 0 8 0 mbufpl 256 9396 0 9154 21 1 20 20 0 8 3 bufpl 280 4834 0 118 337 0 337 337 0 8 0 anonpl 24 126167 0 122990 82 19 63 63 0 187 32 amapchunkpl 152 22863 0 22385 39 5 34 34 0 158 13 amappl16 200 1943 0 1910 36 23 13 24 0 8 8 amappl15 192 3 0 3 2 1 1 1 0 8 1 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1480 0 1451 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 306 0 305 1 0 1 1 0 8 0 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 104 0 94 1 0 1 1 0 8 0 amappl6 120 208 0 205 1 0 1 1 0 8 0 amappl5 112 108 0 101 1 0 1 1 0 8 0 amappl4 104 267 0 251 1 0 1 1 0 8 0 amappl3 96 4403 0 4294 4 0 4 4 0 8 0 amappl2 88 622 0 565 2 0 2 2 0 8 0 amappl1 80 10010 0 9456 13 0 13 13 0 8 0 amappl 88 6295 0 6131 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 256 0 256 2 1 1 1 0 8 1 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 866 0 837 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 866 0 837 1 0 1 1 0 8 0 vmmpekpl 168 8274 0 8246 2 0 2 2 0 8 0 vmmpepl 168 59319 0 57451 111 10 101 101 0 357 13 vmsppl 368 865 0 837 4 1 3 4 0 8 0 rwobjpl 40 20091 0 16316 40 0 40 40 0 8 0 pdppl 4096 1738 0 1674 98 32 66 82 0 8 2 pvpl 32 364626 0 356034 168 28 140 140 0 265 51 pmappl 216 865 0 837 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 405 0 61 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038d676a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038d676a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6c39665a6e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038d676a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038d676a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6c39665a6e0, count: -3