uvm_fault(0xfffffd80653c8018, 0x9ba0, 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 *364089 71074 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003915ef70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003915ef70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cf58fbb10, 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(0xfffffd80653c8018, 0x9ba0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003915ef70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003915ef70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cf58fbb10, count: -3 ddb> show registers rdi 0x9ba0 __ALIGN_SIZE+0x8ba0 rsi 0xffff80003915eca0 rbp 0xffff80003915eea0 rbx 0xa51c __ALIGN_SIZE+0x951c rdx 0xffff80003915a000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xa19bd0ee57f64c0d r11 0xffffffff82536300 copy_fault r12 0x2 r13 0x16 r14 0xffff80003915eca0 r15 0xffff80003915ef70 rip 0xffffffff82536227 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003915ebf0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=364089 pid=71074 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=53, usrpri=53, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c99ba18,0xffff80003c99a800 process=0xffff8000ffff9f98 user=0xffff80003915a000, vmspace=0xfffffd80653c8018 estcpu=3, cpticks=17, pctcpu=0.6, user=0, sys=17, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 80705 127461 90232 0 2 0xc80 syz-executor 80705 64138 90232 0 3 0x4000080 sbwait syz-executor 68887 286419 14169 0 2 0 syz-executor 68887 198061 14169 0 3 0x4000080 fsleep syz-executor 71074 86722 21399 0 2 0xc80 syz-executor *71074 364089 21399 0 7 0x4000000 syz-executor 71074 70424 21399 0 3 0x4000080 fsleep syz-executor 44770 186479 0 0 3 0x14200 bored sosplice 33772 502480 15443 0 3 0x80 nanoslp syz-executor 33772 438817 15443 0 3 0x4000080 kqsel syz-executor 33772 345175 15443 0 3 0x4000080 fsleep syz-executor 75227 465177 88360 -1 2 0x10 syz-executor 75227 289102 88360 -1 3 0x4000090 sbwait syz-executor 75227 122269 88360 -1 3 0x4000090 fsleep syz-executor 75227 281687 88360 -1 3 0x4000090 fsleep syz-executor 24873 494996 59450 -1 2 0x10 syz-executor 24873 128728 59450 -1 2 0x4000010 syz-executor 27902 443212 62116 -1 2 0xc90 syz-executor 27902 454707 62116 -1 3 0x4000090 fsleep syz-executor 27902 377329 62116 -1 3 0x4000090 piperd syz-executor 21609 240378 28941 0 2 0 syz-executor 21609 372047 28941 0 3 0x4000080 fsleep syz-executor 28941 420593 65780 0 2 0xc82 syz-executor 59450 373595 65780 0 2 0xc82 syz-executor 88360 122070 65780 0 2 0xc82 syz-executor 21399 86502 65780 0 2 0xc82 syz-executor 90232 495162 65780 0 3 0x82 nanoslp syz-executor 15443 355680 65780 0 2 0xc82 syz-executor 62116 192140 65780 0 2 0xc82 syz-executor 14169 31959 65780 0 2 0xc82 syz-executor 65780 180710 68310 0 3 0x82 kqread syz-executor 68310 315197 70897 0 3 0x10008a sigsusp ksh 70897 244385 54633 0 3 0x98 kqread sshd-session 54633 88353 97368 0 3 0x92 kqread sshd-session 49631 393559 1 0 3 0x100083 ttyin getty 97368 231895 1 0 3 0x88 kqread sshd 90093 257458 12961 73 3 0x1100090 kqread syslogd 12961 95530 1 0 3 0x100082 sbwait syslogd 7849 300205 1 0 3 0x100080 kqread resolvd 59025 307360 563 77 3 0x100092 kqread dhcpleased 59469 466718 563 77 3 0x100092 kqread dhcpleased 563 190049 1 0 3 0x80 kqread dhcpleased 95083 183307 0 0 3 0x14200 bored smr 92658 88735 0 0 2 0x14200 zerothread 23507 242121 0 0 3 0x14200 aiodoned aiodoned 21015 220870 0 0 3 0x14200 syncer update 23389 221790 0 0 3 0x14200 cleaner cleaner 80596 493233 0 0 3 0x14200 reaper reaper 87874 367111 0 0 3 0x14200 pgdaemon pagedaemon 7610 389282 0 0 3 0x14200 bored viomb 99682 406365 0 0 3 0x40014200 acpi0 acpi0 91968 200688 0 0 3 0x14200 bored softnet7 81403 65091 0 0 3 0x14200 bored softnet6 64425 296320 0 0 3 0x14200 bored softnet5 18463 247880 0 0 3 0x14200 bored softnet4 87160 85064 0 0 3 0x14200 bored softnet3 85236 472404 0 0 3 0x14200 bored softnet2 13226 49942 0 0 3 0x14200 bored softnet1 22299 369777 0 0 3 0x14200 bored softnet0 94973 275392 0 0 3 0x14200 bored systqmp 25616 206351 0 0 3 0x14200 bored systq 45317 434863 0 0 2 0x40014200 softclock 73199 523989 0 0 3 0x40014200 idle0 1 119969 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 10232 11146K 11146K 166960K 11319 0 pcb 17 12K 12K 166960K 54 0 rtable 211 5K 5K 166960K 265 0 pf 30 12K 13K 166960K 32 0 ifaddr 42 7K 7K 166960K 45 0 ifgroup 50 2K 2K 166960K 52 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 33 0 ioctlops 0 0K 4K 166960K 99 0 iov 1 16K 24K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1387 87K 87K 166960K 1408 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 12 0K 0K 166960K 68 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 97K 166960K 151 0 proc 61 67K 124K 166960K 479 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 4 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 349 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 235 151K 160K 166960K 2917 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 39 78K 96K 166960K 1183 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 27 2K 2K 166960K 28 0 temp 35 8630K 8694K 166960K 3788 0 kqueue 14 20K 24K 166960K 25 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 103 0 100 3 0 3 3 0 8 2 rtentry 136 98 0 1 4 0 4 4 0 8 0 unpcb 144 170 0 21 6 0 6 6 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 12 0 6 1 0 1 1 0 8 0 arp 88 12 0 0 1 0 1 1 0 8 0 inpcb 328 103 0 93 2 0 2 2 0 8 1 nd6 104 17 0 0 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 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 441 0 0 28 0 28 28 0 8 0 art_table 40 442 0 0 5 0 5 5 0 8 0 art_node 32 98 0 11 1 0 1 1 0 8 0 semapl 112 66 0 56 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1576 0 66 95 0 95 95 0 8 0 ffsino 256 1576 0 66 95 0 95 95 0 8 0 nchpl 144 1779 0 94 63 0 63 63 0 8 0 uvmvnodes 80 1709 0 0 35 0 35 35 0 8 0 vnodes 216 1709 0 0 95 0 95 95 0 8 0 namei 1024 5264 0 5262 2 0 2 2 0 8 1 kstatmem 264 24 0 2 2 0 2 2 0 8 0 scxspl 216 6346 0 6346 8 0 8 8 1 8 8 plimitpl 152 65 0 47 1 0 1 1 0 8 0 sigapl 424 436 0 385 7 0 7 7 0 8 1 knotepl 120 3680 0 3633 2 0 2 2 0 8 0 kqueuepl 184 151 0 76 4 0 4 4 0 8 0 pipepl 304 101 0 73 3 0 3 3 0 8 0 fdescpl 448 415 0 385 5 0 5 5 0 8 1 filepl 120 1742 0 1277 15 0 15 15 0 8 0 lockfpl 104 11 0 8 1 0 1 1 0 8 0 lockfspl 48 7 0 4 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 98 0 83 1 0 1 1 0 8 0 zombiepl 144 385 0 385 1 0 1 1 0 8 1 processpl 1152 436 0 385 5 0 5 5 0 8 1 procpl 664 470 0 406 6 0 6 6 0 8 0 sockpl 552 378 0 216 12 0 12 12 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2473 0 2423 13 0 13 13 0 8 5 mcl2k 2048 171 0 171 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 3969 0 3851 10 0 10 10 0 8 0 bufpl 280 2840 0 117 195 0 195 195 0 8 0 anonpl 24 97372 0 94171 31 0 31 31 0 187 10 amapchunkpl 152 8507 0 7986 23 0 23 23 0 158 2 amappl16 200 1707 0 1686 5 0 5 5 0 8 3 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 110 0 98 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1069 0 1039 3 0 3 3 0 8 1 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 18 0 18 1 0 1 1 0 8 1 amappl9 144 268 0 268 1 0 1 1 0 8 1 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 183 0 180 1 0 1 1 0 8 0 amappl5 112 123 0 117 1 0 1 1 0 8 0 amappl4 104 292 0 276 1 0 1 1 0 8 0 amappl3 96 1230 0 1131 3 0 3 3 0 8 0 amappl2 88 652 0 582 2 0 2 2 0 8 0 amappl1 80 7925 0 7368 13 0 13 13 0 8 0 amappl 88 2281 0 2109 4 0 4 4 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 415 0 385 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 415 0 385 1 0 1 1 0 8 0 vmmpekpl 168 4885 0 4860 2 0 2 2 0 8 0 vmmpepl 168 33306 0 31418 83 0 83 83 0 357 0 vmsppl 368 414 0 385 4 0 4 4 0 8 1 rwobjpl 40 13627 0 11064 26 0 26 26 0 8 0 pdppl 4096 837 0 770 97 14 83 83 0 8 16 pvpl 32 211601 0 201847 83 0 83 83 0 265 4 pmappl 216 414 0 385 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 361 0 14 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003915ef70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003915ef70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cf58fbb10, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003915ef70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003915ef70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x42cf58fbb10, count: -3