uvm_fault(0xfffffd80769caa28, 0x9700, 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 *226958 43177 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c97bd50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97bd50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749bd375df0, 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(0xfffffd80769caa28, 0x9700, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c97bd50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97bd50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749bd375df0, count: -3 ddb> show registers rdi 0x9700 __ALIGN_SIZE+0x8700 rsi 0xffff80003c97bac0 rbp 0xffff80003c97bc70 rbx 0x4000a542 rdx 0xffff80003c976000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff80003c97b708 r10 0xce520aa4b3c7a7dd r11 0xffffffff82dfbc60 copy_fault r12 0x7 r13 0x16 r14 0xffff80003c97bd50 r15 0xffff80003c97bac0 rip 0xffffffff82dfbb87 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c97b9b0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=226958 pid=43177 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000329259c0,0xffff800032924f90 process=0xffff80002cd1b6e8 user=0xffff80003c976000, vmspace=0xfffffd80769caa28 estcpu=1, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98794 424254 72420 0 2 0 syz-executor 98794 483508 72420 0 3 0x4000080 fsleep syz-executor 43177 504737 18440 0 2 0 syz-executor *43177 226958 18440 0 7 0x4000000 syz-executor 53841 104739 57984 0 2 0 syz-executor 53841 90476 57984 0 2 0x4000000 syz-executor 57410 90319 99597 0 2 0 syz-executor 57410 334947 99597 0 3 0x4000080 fsleep syz-executor 57410 92413 99597 0 3 0x4000080 fsleep syz-executor 34899 65302 14000 0 2 0 syz-executor 34899 129839 14000 0 3 0x4000080 fsleep syz-executor 34899 174433 14000 0 3 0x4000080 fsleep syz-executor 9703 214670 69575 0 2 0xc80 syz-executor 9703 207331 69575 0 3 0x4000080 piperd syz-executor 9703 59404 69575 0 3 0x4000080 fsleep syz-executor 60295 296066 78396 0 2 0 syz-executor 60295 307809 78396 0 3 0x4000080 fsleep syz-executor 14000 439070 8367 0 2 0xc82 syz-executor 18440 8459 8367 0 2 0xc82 syz-executor 72420 54746 8367 0 2 0xc82 syz-executor 78396 240695 8367 0 2 0xc82 syz-executor 93256 498588 8367 0 2 0x2 syz-executor 99597 136674 8367 0 2 0xc82 syz-executor 57984 222766 8367 0 2 0xc82 syz-executor 69575 446540 8367 0 2 0xc82 syz-executor 8367 365670 14203 0 3 0x82 kqread syz-executor 14203 302303 37965 0 3 0x10008a sigsusp ksh 37965 496398 1097 0 3 0x98 kqread sshd-session 1097 435742 71831 0 3 0x92 kqread sshd-session 49181 132805 1 0 3 0x100083 ttyin getty 71831 123573 1 0 3 0x88 kqread sshd 4581 509823 46546 73 3 0x1100010 ffs_fsync syslogd 46546 454992 1 0 3 0x100082 sbwait syslogd 96345 69936 1 0 3 0x100080 kqread resolvd 68340 283754 75462 77 3 0x100092 kqread dhcpleased 44904 62212 75462 77 3 0x100092 kqread dhcpleased 75462 480309 1 0 3 0x80 kqread dhcpleased 59362 73809 0 0 3 0x14200 bored smr 46229 354654 0 0 2 0x14200 zerothread 98815 352300 0 0 3 0x14200 aiodoned aiodoned 31662 274324 0 0 3 0x14200 syncer update 43125 244439 0 0 3 0x14200 cleaner cleaner 36524 506952 0 0 3 0x14200 reaper reaper 35132 196601 0 0 3 0x14200 pgdaemon pagedaemon 5653 133702 0 0 3 0x14200 bored viomb 94858 105637 0 0 3 0x40014200 acpi0 acpi0 24444 250228 0 0 3 0x14200 bored softnet7 93081 401892 0 0 3 0x14200 bored softnet6 41467 456071 0 0 3 0x14200 bored softnet5 31602 95145 0 0 3 0x14200 bored softnet4 68426 503068 0 0 3 0x14200 bored softnet3 59062 491962 0 0 3 0x14200 bored softnet2 64488 123205 0 0 3 0x14200 bored softnet1 19157 219020 0 0 3 0x14200 bored softnet0 1562 50459 0 0 3 0x14200 bored systqmp 12243 164457 0 0 3 0x14200 bored systq 62127 141341 0 0 3 0x40014200 tmoslp softclock 11011 517044 0 0 3 0x40014200 idle0 1 198208 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 10186 11098K 11235K 166960K 11280 0 pcb 18 12K 12K 166960K 22 0 rtable 205 5K 5K 166960K 257 0 pf 30 12K 12K 166960K 30 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 2K 166960K 31 0 iov 1 1K 1K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 85K 85K 166960K 1360 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 17 61K 93K 166960K 144 0 proc 57 58K 91K 166960K 472 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 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 37 175K 175K 166960K 37 0 exec 0 0K 1K 166960K 344 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 224 151K 152K 166960K 2808 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 38 76K 94K 166960K 1166 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 27 0 temp 34 8662K 8726K 166960K 4265 0 kqueue 14 22K 22K 166960K 22 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 36 0 33 1 0 1 1 0 8 0 rtentry 136 95 0 1 4 0 4 4 0 8 0 unpcb 144 38 0 20 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 62 0 49 2 0 2 2 0 8 0 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 437 0 0 28 0 28 28 0 8 0 art_table 40 438 0 0 5 0 5 5 0 8 0 art_node 32 95 0 11 1 0 1 1 0 8 0 semapl 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 1555 0 49 95 0 95 95 0 8 0 ffsino 256 1555 0 49 95 0 95 95 0 8 0 nchpl 144 1751 0 63 63 0 63 63 0 8 0 uvmvnodes 80 1644 0 0 34 0 34 34 0 8 0 vnodes 216 1644 0 0 92 0 92 92 0 8 0 namei 1024 5096 0 5095 2 0 2 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6208 0 6207 8 0 8 8 1 8 7 plimitpl 152 26 0 10 1 0 1 1 0 8 0 sigapl 424 425 0 376 7 0 7 7 0 8 1 knotepl 120 2861 0 2812 2 0 2 2 0 8 0 kqueuepl 184 19 0 8 1 0 1 1 0 8 0 pipepl 304 99 0 71 3 0 3 3 0 8 0 fdescpl 448 405 0 376 5 0 5 5 0 8 1 filepl 120 1318 0 1087 7 0 7 7 0 8 0 lockfpl 104 7 0 4 1 0 1 1 0 8 0 lockfspl 48 5 0 2 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 70 0 59 1 0 1 1 0 8 0 zombiepl 144 376 0 376 1 0 1 1 0 8 1 processpl 1168 425 0 376 5 0 5 5 0 8 1 procpl 656 442 0 383 6 0 6 6 0 8 0 sockpl 552 137 0 102 3 0 3 3 0 8 0 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2450 0 2400 14 0 14 14 0 8 7 mcl2k 2048 170 0 170 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 3853 0 3703 11 0 11 11 0 8 0 bufpl 280 2828 0 117 194 0 194 194 0 8 0 anonpl 24 104467 0 100376 25 0 25 25 0 187 0 amapchunkpl 152 8288 0 7741 22 0 22 22 0 158 0 amappl16 200 2122 0 2106 5 0 5 5 0 8 4 amappl15 192 10 0 9 1 0 1 1 0 8 0 amappl14 184 102 0 92 1 0 1 1 0 8 0 amappl13 176 7 0 6 1 0 1 1 0 8 0 amappl12 168 1021 0 992 3 0 3 3 0 8 1 amappl11 160 47 0 37 1 0 1 1 0 8 0 amappl10 152 9 0 8 1 0 1 1 0 8 0 amappl9 144 294 0 294 1 0 1 1 0 8 1 amappl8 136 22 0 21 1 0 1 1 0 8 0 amappl7 128 100 0 90 1 0 1 1 0 8 0 amappl6 120 178 0 175 1 0 1 1 0 8 0 amappl5 112 129 0 122 1 0 1 1 0 8 0 amappl4 104 267 0 251 1 0 1 1 0 8 0 amappl3 96 1215 0 1104 3 0 3 3 0 8 0 amappl2 88 628 0 574 2 0 2 2 0 8 0 amappl1 80 7892 0 7357 13 0 13 13 0 8 1 amappl 88 2177 0 2016 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 405 0 376 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 405 0 376 1 0 1 1 0 8 0 vmmpekpl 168 4680 0 4653 2 0 2 2 0 8 0 vmmpepl 168 32997 0 31187 81 0 81 81 0 357 0 vmsppl 368 404 0 376 4 0 4 4 0 8 1 rwobjpl 40 13895 0 11427 26 0 26 26 0 8 0 pdppl 4096 817 0 752 95 16 79 81 0 8 14 pvpl 32 215718 0 205601 84 0 84 84 0 265 0 pmappl 216 404 0 376 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 366 0 16 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c97bd50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97bd50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749bd375df0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c97bd50) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c97bd50) at syscall+0x97e sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x749bd375df0, count: -3