uvm_fault(0xfffffd8070755b98, 0xc80, 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 *242383 77226 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80002a8611c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8611c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9aa1bbad160, 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(0xfffffd8070755b98, 0xc80, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80002a8611c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8611c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9aa1bbad160, count: -3 ddb> show registers rdi 0xc80 rsi 0xffff80002a860ed0 rbp 0xffff80002a8610f0 rbx 0x7fffff9d rdx 0xffff80002a85c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x30279545452cbf35 r11 0xffffffff8276ab20 copy_fault r12 0x3 r13 0x16 r14 0xffff80002a860ed0 r15 0xffff80002a8611c0 rip 0xffffffff8276aa47 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80002a860e40 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=242383 pid=77226 tcnt=3 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=0xffff80002a7f8550,0xffffffff8383c118 process=0xffff800035d52000 user=0xffff80002a85c000, vmspace=0xfffffd8070755b98 estcpu=26, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77226 368993 39423 0 2 0 syz-executor 77226 461131 39423 0 3 0x4000080 ttyout syz-executor *77226 242383 39423 0 7 0x4000000 syz-executor 75765 441289 27918 0 2 0 syz-executor 75765 213212 27918 0 3 0x4000080 kqpoll syz-executor 46308 335951 0 0 3 0x14200 acct acct 10728 114813 0 0 3 0x14280 nfsidl nfsio 43147 177360 0 0 3 0x14280 nfsidl nfsio 86278 400126 0 0 3 0x14280 nfsidl nfsio 63000 162054 0 0 3 0x14280 nfsidl nfsio 41144 364646 0 0 3 0x14280 nfsidl nfsio 76399 518657 0 0 3 0x14280 nfsidl nfsio 88373 68578 0 0 3 0x14280 nfsidl nfsio 70731 66326 0 0 3 0x14280 nfsidl nfsio 69480 28228 0 0 3 0x14280 nfsidl nfsio 58154 432998 0 0 3 0x14280 nfsidl nfsio 91124 174788 0 0 3 0x14280 nfsidl nfsio 48857 194664 0 0 3 0x14280 nfsidl nfsio 23044 445400 0 0 3 0x14280 nfsidl nfsio 89985 14305 0 0 3 0x14280 nfsidl nfsio 2468 302602 0 0 3 0x14280 nfsidl nfsio 96388 188812 0 0 3 0x14280 nfsidl nfsio 26525 256945 0 0 3 0x14280 nfsidl nfsio 47557 294634 0 0 3 0x14280 nfsidl nfsio 26684 374539 0 0 3 0x14280 nfsidl nfsio 28385 214307 0 0 3 0x14280 nfsidl nfsio 39423 244743 86233 0 3 0x82 nanoslp syz-executor 11775 196185 0 0 3 0x14200 bored sosplice 85175 408968 86233 0 3 0x82 piperd syz-executor 72240 304243 86233 0 3 0x82 piperd syz-executor 661 455905 86233 0 3 0x82 nanoslp syz-executor 71381 10456 86233 0 2 0x2 syz-executor 29620 359118 86233 0 3 0x82 piperd syz-executor 27918 112011 86233 0 3 0x82 nanoslp syz-executor 86233 336363 32431 0 3 0x82 wait syz-executor 32431 522907 89694 0 3 0x10008a sigsusp ksh 89694 99773 67363 0 3 0x98 kqread sshd-session 67363 340601 11444 0 3 0x92 kqread sshd-session 921 115543 1 0 3 0x100083 ttyopn getty 11444 130552 1 0 3 0x88 kqread sshd 66321 39346 89593 73 3 0x1100090 kqread syslogd 89593 187461 1 0 3 0x100082 sbwait syslogd 87472 516905 1 0 3 0x100080 kqread resolvd 95580 79386 59323 77 3 0x100092 kqread dhcpleased 46386 9303 59323 77 3 0x100092 kqread dhcpleased 59323 307229 1 0 3 0x80 kqread dhcpleased 65750 507131 0 0 3 0x14200 bored smr 16234 420879 0 0 2 0x14200 zerothread 10910 508819 0 0 3 0x14200 aiodoned aiodoned 21784 499319 0 0 3 0x14200 syncer update 75997 181989 0 0 3 0x14200 cleaner cleaner 82317 177017 0 0 3 0x14200 reaper reaper 96954 114775 0 0 3 0x14200 pgdaemon pagedaemon 40331 123764 0 0 3 0x14200 bored viomb 10239 413740 0 0 3 0x40014200 acpi0 acpi0 33236 296951 0 0 3 0x14200 bored softnet7 40548 141946 0 0 3 0x14200 bored softnet6 4282 26891 0 0 3 0x14200 bored softnet5 19956 188119 0 0 3 0x14200 bored softnet4 25519 305681 0 0 3 0x14200 bored softnet3 40123 272178 0 0 3 0x14200 bored softnet2 16115 505921 0 0 3 0x14200 bored softnet1 64040 295953 0 0 3 0x14200 bored softnet0 44739 416471 0 0 3 0x14200 bored systqmp 92436 301551 0 0 3 0x14200 bored systq 9487 180305 0 0 3 0x40014200 tmoslp softclock 42769 358840 0 0 3 0x40014200 idle0 1 237457 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 10191 11057K 11441K 166960K 12217 0 pcb 17 14K 16K 166960K 201 0 rtable 142 6K 8K 166960K 367 0 pf 36 14K 21K 166960K 116 0 ifaddr 33 5K 7K 166960K 86 0 ifgroup 50 2K 2K 166960K 143 0 sysctl 3 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 66 0 ioctlops 0 0K 4K 166960K 112 0 iov 0 0K 16K 166960K 107 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1443 91K 91K 166960K 2027 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 19 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 13 45K 240K 166960K 689 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 100K 166960K 672 0 subproc 72 4K 4K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 201 0 in_multi 63 4K 7K 166960K 138 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 8 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 1K 166960K 443 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 187 142K 167K 166960K 7291 0 UVM aobj 23 2K 4K 166960K 25 0 pinsyscall 34 68K 93K 166960K 1813 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 25 0 NDP 11 0K 2K 166960K 57 0 temp 78 8644K 8891K 166960K 23041 0 kqueue 14 20K 32K 166960K 122 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 100 0 97 2 0 2 2 0 8 1 rtentry 136 123 0 69 4 0 4 4 0 8 0 unpcb 144 430 0 415 3 0 3 3 0 8 2 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpcb 736 237 0 233 4 0 4 4 0 8 3 arp 88 13 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 707 0 700 10 1 9 10 0 8 8 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 21 0 12 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 19 0 19 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 2 1 0 1 1 0 8 0 pfstkey 128 11 0 5 1 0 1 1 0 8 0 pfstate 384 6 0 4 1 0 1 1 0 8 0 pfrule 1344 6 0 5 1 0 1 1 0 8 0 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 592 0 325 28 2 26 28 0 8 8 art_table 40 595 0 325 5 0 5 5 0 8 0 art_node 32 121 0 73 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 14 0 4 1 0 1 1 0 8 0 shmpl 112 22 0 2 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2521 0 1017 95 0 95 95 0 8 0 ffsino 256 2521 0 1017 95 0 95 95 0 8 0 nchpl 144 3384 0 1699 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 3048 0 0 63 0 63 63 0 8 0 vnodes 216 3048 0 0 170 0 170 170 0 8 0 namei 1024 11468 0 11467 1 0 1 1 0 8 0 kstatmem 264 78 0 56 2 0 2 2 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 15087 0 15087 8 0 8 8 1 8 8 plimitpl 152 348 0 331 1 0 1 1 0 8 0 sigapl 424 967 0 900 9 0 9 9 0 8 0 knotepl 120 24162 0 24115 28 17 11 17 0 8 7 kqueuepl 184 257 0 246 3 0 3 3 0 8 2 pipepl 304 165 0 138 3 0 3 3 0 8 0 fdescpl 448 924 0 899 5 0 5 5 0 8 1 filepl 120 5349 0 5137 12 0 12 12 0 8 4 lockfpl 104 331 0 329 2 0 2 2 0 8 1 lockfspl 48 159 0 157 1 0 1 1 0 8 0 sessionpl 144 35 0 27 1 0 1 1 0 8 0 pgrppl 48 69 0 53 1 0 1 1 0 8 0 ucredpl 104 769 0 756 1 0 1 1 0 8 0 zombiepl 144 902 0 900 1 0 1 1 0 8 0 processpl 1168 967 0 900 6 0 6 6 0 8 0 procpl 664 1728 0 1658 7 0 7 7 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 1345 0 1320 10 0 10 10 0 8 8 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 9 0 8 1 0 1 1 0 8 0 mcl4k 4096 3059 0 3005 13 0 13 13 0 8 4 mcl2k 2048 889 0 888 3 0 3 3 0 8 2 mtagpl 96 16 0 10 1 0 1 1 0 8 0 mbufpl 256 9470 0 9341 18 0 18 18 0 8 5 bufpl 280 6037 0 122 423 0 423 423 0 8 0 anonpl 24 165387 0 162514 46 0 46 46 0 187 12 amapchunkpl 152 24305 0 23956 34 0 34 34 0 158 17 amappl16 200 3042 0 3016 19 5 14 15 0 8 8 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 118 0 108 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 0 1 1 0 8 1 amappl12 168 1591 0 1566 2 0 2 2 0 8 0 amappl11 160 63 0 53 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 246 0 246 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 117 0 107 1 0 1 1 0 8 0 amappl6 120 219 0 215 1 0 1 1 0 8 0 amappl5 112 133 0 126 1 0 1 1 0 8 0 amappl4 104 284 0 268 1 0 1 1 0 8 0 amappl3 96 4467 0 4387 4 0 4 4 0 8 0 amappl2 88 704 0 649 2 0 2 2 0 8 0 amappl1 80 11314 0 10785 14 0 14 14 0 8 1 amappl 88 6506 0 6382 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 8 0 8 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 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 924 0 899 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 924 0 899 1 0 1 1 0 8 0 vmmpekpl 168 9039 0 9001 3 0 3 3 0 8 0 vmmpepl 168 64882 0 63259 95 0 95 95 0 357 8 vmsppl 368 923 0 899 4 0 4 4 0 8 1 rwobjpl 40 22591 0 18724 40 0 40 40 0 8 0 pdppl 4096 1854 0 1798 98 30 68 78 0 8 12 pvpl 32 418113 0 410458 117 0 117 117 0 265 29 pmappl 216 923 0 899 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 383 0 32 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002a8611c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8611c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9aa1bbad160, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002a8611c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a8611c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9aa1bbad160, count: -3