uvm_fault(0xfffffd806bc96460, 0x27e0, 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 * 44714 12240 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80002d9cf5f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002d9cf5f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4b3e79d87c0, 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(0xfffffd806bc96460, 0x27e0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80002d9cf5f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002d9cf5f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4b3e79d87c0, count: -3 ddb> show registers rdi 0x27e0 __ALIGN_SIZE+0x17e0 rsi 0xffff80002d9cf360 rbp 0xffff80002d9cf520 rbx 0xa8ba __ALIGN_SIZE+0x98ba rdx 0xffff80002d9ca000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff80002d9cefb8 r10 0x7026b116bd5270d2 r11 0xffffffff814979c0 copy_fault r12 0 r13 0x16 r14 0xffff80002d9cf360 r15 0xffff80002d9cf5f0 rip 0xffffffff814978e7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80002d9cf270 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=44714 pid=12240 tcnt=3 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=0xffff80002cd2c2d0,0xffff80002cd2c578 process=0xffff80002a856000 user=0xffff80002d9ca000, vmspace=0xfffffd806bc96460 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16502 469095 97662 0 3 0x80 nanoslp syz-executor 16502 272487 97662 0 3 0x4000080 sbwait syz-executor 16502 452090 97662 0 3 0x4000080 fsleep syz-executor 90964 164679 61930 0 2 0 syz-executor 90964 426035 61930 0 3 0x4000080 fsleep syz-executor 90964 12137 61930 0 3 0x4000080 fsleep syz-executor 59997 137901 55085 0 2 0xc80 syz-executor 59997 102650 55085 0 3 0x4000080 ttyout syz-executor 59997 253542 55085 0 3 0x4000080 ttyout syz-executor 59997 6012 55085 0 3 0x4000080 fsleep syz-executor 37737 97659 66986 0 2 0xc80 syz-executor 37737 210860 66986 0 3 0x4000080 piperd syz-executor 37737 225965 66986 0 3 0x4000080 fsleep syz-executor 12240 394991 31076 0 2 0 syz-executor *12240 44714 31076 0 7 0x4000000 syz-executor 12240 172955 31076 0 3 0x4000080 fsleep syz-executor 23718 453663 80218 0 2 0 syz-executor 23718 353549 80218 0 3 0x4000080 fifor syz-executor 23718 364371 80218 0 3 0x4000080 fsleep syz-executor 23718 441229 80218 0 3 0x4000080 fsleep syz-executor 43201 321136 56938 0 2 0 syz-executor 43201 420697 56938 0 3 0x4000080 fsleep syz-executor 75746 344805 0 0 3 0x14200 acct acct 12386 351402 0 0 3 0x14280 nfsidl nfsio 7736 313863 0 0 3 0x14280 nfsidl nfsio 34987 242935 0 0 3 0x14280 nfsidl nfsio 65089 177733 0 0 3 0x14280 nfsidl nfsio 5357 116280 0 0 3 0x14280 nfsidl nfsio 6731 377358 0 0 3 0x14280 nfsidl nfsio 1884 365740 0 0 3 0x14280 nfsidl nfsio 56036 37883 0 0 3 0x14280 nfsidl nfsio 2781 518935 0 0 3 0x14280 nfsidl nfsio 81614 466088 0 0 3 0x14280 nfsidl nfsio 72721 101647 0 0 3 0x14280 nfsidl nfsio 7043 218962 0 0 3 0x14280 nfsidl nfsio 41193 80853 0 0 3 0x14280 nfsidl nfsio 67325 119712 0 0 3 0x14280 nfsidl nfsio 49191 351968 0 0 3 0x14280 nfsidl nfsio 99238 269257 0 0 3 0x14280 nfsidl nfsio 76802 281967 0 0 3 0x14280 nfsidl nfsio 7198 317447 0 0 3 0x14280 nfsidl nfsio 57187 151581 0 0 3 0x14280 nfsidl nfsio 92005 379441 0 0 3 0x14280 nfsidl nfsio 54962 82345 0 0 3 0x14200 bored sosplice 80218 374476 11058 0 3 0x82 nanoslp syz-executor 31076 394580 11058 0 3 0x82 nanoslp syz-executor 56938 395102 11058 0 3 0x82 nanoslp syz-executor 66986 22143 11058 0 2 0xc82 syz-executor 44846 114773 11058 0 2 0x2 syz-executor 61930 113345 11058 0 2 0xc82 syz-executor 55085 301730 11058 0 3 0x82 nanoslp syz-executor 97662 199591 11058 0 2 0xc82 syz-executor 11058 273459 820 0 3 0x82 kqread syz-executor 820 72613 98692 0 3 0x10008a sigsusp ksh 98692 317899 1511 0 3 0x98 kqread sshd-session 1511 282005 62209 0 3 0x92 kqread sshd-session 12954 522726 1 0 3 0x100083 ttyin getty 62209 172475 1 0 3 0x88 kqread sshd 36991 44484 59683 73 3 0x1100090 kqread syslogd 59683 261101 1 0 3 0x100082 sbwait syslogd 32501 243221 1 0 3 0x100080 kqread resolvd 78626 191596 7062 77 3 0x100092 kqread dhcpleased 66315 151111 7062 77 3 0x100092 kqread dhcpleased 7062 407753 1 0 3 0x80 kqread dhcpleased 72478 271197 0 0 3 0x14200 bored smr 76284 360467 0 0 2 0x14200 zerothread 43720 493040 0 0 3 0x14200 aiodoned aiodoned 22680 77187 0 0 3 0x14200 syncer update 38389 96894 0 0 3 0x14200 cleaner cleaner 80913 85474 0 0 3 0x14200 reaper reaper 18768 178636 0 0 3 0x14200 pgdaemon pagedaemon 32565 17718 0 0 3 0x14200 bored viomb 18406 482996 0 0 3 0x40014200 acpi0 acpi0 97458 316729 0 0 3 0x14200 bored softnet7 35883 190651 0 0 3 0x14200 bored softnet6 89905 440332 0 0 3 0x14200 bored softnet5 34352 126838 0 0 3 0x14200 bored softnet4 27038 374807 0 0 3 0x14200 bored softnet3 23914 520337 0 0 3 0x14200 bored softnet2 63311 230221 0 0 3 0x14200 bored softnet1 52079 202365 0 0 3 0x14200 bored softnet0 55262 138256 0 0 3 0x14200 bored systqmp 86772 36698 0 0 3 0x14200 bored systq 35069 12229 0 0 3 0x40014200 tmoslp softclock 93695 235215 0 0 3 0x40014200 idle0 1 102411 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 10193 11127K 12786K 166960K 11966 0 pcb 18 15K 16K 166960K 100 0 rtable 186 6K 7K 166960K 328 0 pf 37 14K 20K 166960K 67 0 ifaddr 39 6K 7K 166960K 64 0 ifgroup 58 2K 2K 166960K 82 0 sysctl 3 1K 9K 166960K 7 0 counters 34 18K 18K 166960K 45 0 ioctlops 0 0K 4K 166960K 80 0 iov 0 0K 16K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1445 91K 91K 166960K 1665 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 10 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 430 0 sigio 0 0K 0K 166960K 6 0 proc 60 59K 83K 166960K 526 0 subproc 72 4K 4K 166960K 84 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 18 0 in_multi 77 5K 7K 166960K 114 0 ether_multi 1 0K 0K 166960K 1 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 505 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 234 151K 160K 166960K 5248 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 38 76K 94K 166960K 1463 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 13 0K 2K 166960K 39 0 temp 43 8631K 8698K 166960K 17339 0 kqueue 14 22K 28K 166960K 73 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 56 0 51 1 0 1 1 0 8 0 rtentry 136 117 0 40 4 0 4 4 0 8 0 unpcb 144 237 0 215 4 0 4 4 0 8 2 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 215 0 210 7 0 7 7 0 8 6 arp 88 14 0 5 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 537 0 528 13 4 9 13 0 8 7 ip6q 72 10 0 8 1 0 1 1 0 8 0 ip6af 40 20 0 17 1 0 1 1 0 8 0 nd6 104 19 0 6 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 8 0 8 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 9 1 0 1 1 0 8 0 pfstate 384 8 0 7 1 0 1 1 0 8 0 pfrule 1344 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 511 0 155 28 0 28 28 0 8 4 art_table 40 512 0 155 5 0 5 5 0 8 0 art_node 32 116 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semapl 112 11 0 3 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2066 0 560 95 0 95 95 0 8 0 ffsino 256 2066 0 560 95 0 95 95 0 8 0 nchpl 144 2661 0 977 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2361 0 0 49 0 49 49 0 8 0 vnodes 216 2361 0 0 132 0 132 132 0 8 0 namei 1024 9121 0 9120 2 0 2 2 0 8 1 kstatmem 264 42 0 16 3 0 3 3 0 8 1 scxspl 216 9556 0 9556 8 0 8 8 1 8 8 plimitpl 152 109 0 88 1 0 1 1 0 8 0 sigapl 424 726 0 655 9 0 9 9 0 8 0 knotepl 120 38219 0 38170 19 7 12 16 0 8 8 kqueuepl 184 127 0 117 2 0 2 2 0 8 1 pipepl 304 136 0 107 3 0 3 3 0 8 0 fdescpl 448 684 0 655 5 0 5 5 0 8 1 filepl 120 3776 0 3547 11 0 11 11 0 8 1 lockfpl 104 324 0 320 3 0 3 3 0 8 2 lockfspl 48 149 0 146 2 0 2 2 0 8 1 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 74 0 58 1 0 1 1 0 8 0 ucredpl 104 384 0 373 1 0 1 1 0 8 0 zombiepl 144 655 0 655 1 0 1 1 0 8 1 processpl 1168 726 0 655 6 0 6 6 0 8 0 procpl 664 1163 0 1077 8 0 8 8 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 552 844 0 808 13 2 11 13 0 8 8 mcl64k 65536 26 0 25 1 0 1 1 0 8 0 mcl16k 16384 10 0 10 1 0 1 1 0 8 1 mcl12k 12288 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2814 0 2763 14 0 14 14 0 8 7 mcl2k 2048 730 0 730 2 0 2 2 0 8 2 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 7467 0 7314 14 0 14 14 0 8 3 bufpl 280 3646 0 121 252 0 252 252 0 8 0 anonpl 24 78381 0 74696 36 0 36 36 0 187 11 amapchunkpl 152 15369 0 14856 26 0 26 26 0 158 5 amappl16 200 437 0 405 3 0 3 3 0 8 1 amappl15 192 1 0 1 1 0 1 1 0 8 1 amappl14 184 99 0 89 1 0 1 1 0 8 0 amappl13 176 1 0 1 1 0 1 1 0 8 1 amappl12 168 1295 0 1266 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 1 0 0 1 0 1 1 0 8 0 amappl9 144 251 0 251 1 0 1 1 0 8 1 amappl8 136 36 0 33 1 0 1 1 0 8 0 amappl7 128 116 0 106 1 0 1 1 0 8 0 amappl6 120 173 0 169 1 0 1 1 0 8 0 amappl5 112 111 0 105 1 0 1 1 0 8 0 amappl4 104 256 0 239 1 0 1 1 0 8 0 amappl3 96 3103 0 2995 4 0 4 4 0 8 0 amappl2 88 615 0 559 2 0 2 2 0 8 0 amappl1 80 9256 0 8701 14 0 14 14 0 8 2 amappl 88 4562 0 4393 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 684 0 655 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 684 0 655 1 0 1 1 0 8 0 vmmpekpl 168 6821 0 6780 3 0 3 3 0 8 0 vmmpepl 168 46897 0 45025 88 0 88 88 0 357 2 vmsppl 368 683 0 655 4 0 4 4 0 8 1 rwobjpl 40 15805 0 12577 33 0 33 33 0 8 0 pdppl 4096 1374 0 1310 94 28 66 80 0 8 2 pvpl 32 274514 0 265227 103 0 103 103 0 265 20 pmappl 216 683 0 655 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 378 0 28 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002d9cf5f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002d9cf5f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4b3e79d87c0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002d9cf5f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002d9cf5f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4b3e79d87c0, count: -3