uvm_fault(0xfffffd806ba3a180, 0x60e0, 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 *358021 81157 -1 0x10 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80002f52d6e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f52d6e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1b08069460, 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(0xfffffd806ba3a180, 0x60e0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80002f52d6e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f52d6e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1b08069460, count: -3 ddb> show registers rdi 0x60e0 __ALIGN_SIZE+0x50e0 rsi 0xffff80002f52d450 rbp 0xffff80002f52d610 rbx 0x80004f9 __kernel_phys_end+0x46004f9 rdx 0xffff80002f528000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x8e8bf1c7952dae6b r11 0xffffffff811876f0 copy_fault r12 0 r13 0x16 r14 0xffff80002f52d450 r15 0xffff80002f52d6e0 rip 0xffffffff81187617 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80002f52d360 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=358021 pid=81157 tcnt=4 stat=onproc flags process=10 proc=4000000 runpri=83, usrpri=83, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a823ca0,0xffff80002a822a88 process=0xffff80002f531248 user=0xffff80002f528000, vmspace=0xfffffd806ba3a180 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 63137 339334 1927 0 2 0 syz-executor 63137 77642 1927 0 3 0x4000080 fsleep syz-executor 85056 385189 67550 0 2 0 syz-executor 85056 445587 67550 0 3 0x4000080 fsleep syz-executor 85056 432253 67550 0 3 0x4000080 fsleep syz-executor 85056 205492 67550 0 3 0x4000080 fsleep syz-executor 96673 426284 42289 0 2 0 syz-executor 96673 156476 42289 0 3 0x4000080 fsleep syz-executor 41151 424576 69992 0 2 0 syz-executor 41151 346494 69992 0 3 0x4000080 fsleep syz-executor 41151 320985 69992 0 2 0x4000000 syz-executor 81157 77483 62705 -1 3 0x90 nanoslp syz-executor 81157 465430 62705 -1 2 0x4000090 syz-executor *81157 358021 62705 -1 7 0x4000010 syz-executor 81157 489472 62705 -1 2 0x4000010 syz-executor 69992 331660 74607 0 3 0x82 nanoslp syz-executor 64174 443839 0 0 3 0x14200 acct acct 1927 340713 74607 0 3 0x82 nanoslp syz-executor 17278 329082 2592 0 3 0x82 sbwait sshd-session 17041 492487 0 0 3 0x14200 bored sosplice 67550 110670 74607 0 3 0x82 nanoslp syz-executor 20234 478094 74607 0 3 0x82 nanoslp syz-executor 42289 372900 74607 0 3 0x82 nanoslp syz-executor 8050 444051 74607 0 2 0x2 syz-executor 62705 98043 74607 0 3 0x82 nanoslp syz-executor 13317 1622 74607 0 3 0x82 nanoslp syz-executor 74607 8067 27387 0 3 0x82 kqread syz-executor 27387 456127 2993 0 3 0x10008a sigsusp ksh 2993 84889 4683 0 3 0x98 kqread sshd-session 4683 171504 2592 0 3 0x92 kqread sshd-session 42246 430075 1 0 3 0x100083 ttyopn getty 2592 508064 1 0 3 0x88 kqread sshd 32287 432936 45527 73 3 0x1100090 kqread syslogd 45527 244810 1 0 3 0x100082 sbwait syslogd 70198 399933 1 0 3 0x100080 kqread resolvd 68498 169027 47994 77 3 0x100092 kqread dhcpleased 90344 86985 47994 77 3 0x100092 kqread dhcpleased 47994 225663 1 0 3 0x80 kqread dhcpleased 94943 3100 0 0 3 0x14200 bored smr 28635 292923 0 0 2 0x14200 zerothread 28298 75934 0 0 3 0x14200 aiodoned aiodoned 9669 332668 0 0 3 0x14200 syncer update 96665 66780 0 0 3 0x14200 cleaner cleaner 89958 240534 0 0 3 0x14200 reaper reaper 7910 72735 0 0 3 0x14200 pgdaemon pagedaemon 97198 96436 0 0 3 0x14200 bored viomb 58492 71294 0 0 3 0x40014200 acpi0 acpi0 72397 317051 0 0 3 0x14200 bored softnet7 38201 85300 0 0 3 0x14200 bored softnet6 75834 351415 0 0 3 0x14200 bored softnet5 82357 116096 0 0 3 0x14200 bored softnet4 90369 309639 0 0 3 0x14200 bored softnet3 36481 372646 0 0 3 0x14200 bored softnet2 86372 227231 0 0 3 0x14200 bored softnet1 59046 111315 0 0 3 0x14200 bored softnet0 85811 13339 0 0 3 0x14200 bored systqmp 26023 47695 0 0 3 0x14200 bored systq 77662 497228 0 0 3 0x40014200 tmoslp softclock 56987 174306 0 0 3 0x40014200 idle0 1 253756 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 10216 11129K 11410K 166960K 12564 0 pcb 19 14K 16K 166960K 262 0 rtable 168 8K 9K 166960K 464 0 pf 44 15K 131086K 166960K 126 0 ifaddr 42 7K 7K 166960K 101 0 ifgroup 65 2K 2K 166960K 139 0 sysctl 4 1K 9K 166960K 15 0 counters 38 18K 18K 166960K 152 0 ioctlops 0 0K 4K 166960K 274 0 iov 0 0K 16K 166960K 56 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1466 92K 92K 166960K 2417 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 4 9K 9K 166960K 25 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 67 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1060 0 sigio 0 0K 0K 166960K 82 0 proc 60 59K 124K 166960K 621 0 subproc 72 4K 4K 166960K 102 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 190 0 in_multi 77 5K 7K 166960K 216 0 ether_multi 1 0K 0K 166960K 42 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 121 546K 546K 166960K 121 0 exec 0 0K 1K 166960K 603 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 237 167K 182K 166960K 10791 0 UVM aobj 35 3K 3K 166960K 40 0 pinsyscall 40 80K 96K 166960K 2162 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 61 0 NDP 15 0K 2K 166960K 66 0 temp 54 8638K 8962K 166960K 19571 0 kqueue 16 24K 29K 166960K 195 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 288 0 284 4 1 3 3 0 8 2 rtentry 136 157 0 97 4 0 4 4 0 8 0 unpcb 144 868 0 847 7 3 4 4 0 8 3 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 491 0 482 10 6 4 7 0 8 2 arp 88 16 0 8 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 1 1 0 1 1 0 8 0 inpcb 328 1100 0 1085 16 9 7 12 0 8 4 ip6q 72 10 0 5 1 0 1 1 0 8 0 ip6af 40 17 0 12 1 0 1 1 0 8 0 nd6 104 29 0 18 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 ppxss 1072 109 0 106 2 1 1 1 0 8 0 pppxif 1384 2 0 0 1 0 1 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 5 0 5 1 1 0 1 0 8 0 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pfstitem 24 5 0 2 1 0 1 1 0 8 0 pfstkey 128 7 0 3 1 0 1 1 0 8 0 pfstate 384 4 0 2 1 0 1 1 0 8 0 pfrule 1344 9 0 8 2 1 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 809 0 485 35 13 22 30 0 8 0 art_table 40 811 0 485 5 1 4 5 0 8 0 art_node 32 150 0 100 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semapl 112 65 0 55 1 0 1 1 0 8 0 shmpl 112 37 0 5 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 3374 0 1876 95 0 95 95 0 8 0 ffsino 256 3374 0 1876 95 0 95 95 0 8 0 nchpl 144 4830 0 3135 63 0 63 63 0 8 0 rtmask 32 13 0 13 2 1 1 1 0 8 1 uvmvnodes 80 4049 0 0 83 0 83 83 0 8 0 vnodes 216 4049 0 0 225 0 225 225 0 8 0 namei 1024 17107 0 17107 3 1 2 2 0 8 2 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 86 0 56 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 20905 0 20905 8 7 1 8 1 8 1 plimitpl 152 435 0 418 1 0 1 1 0 8 0 sigapl 424 1331 0 1279 8 1 7 7 0 8 0 knotepl 120 51019 0 50970 26 16 10 15 0 8 8 kqueuepl 184 397 0 386 3 2 1 3 0 8 0 pipepl 304 175 0 147 3 0 3 3 0 8 0 fdescpl 448 1306 0 1276 5 1 4 5 0 8 0 filepl 120 8707 0 8470 22 10 12 19 0 8 3 lockfpl 104 334 0 331 1 0 1 1 0 8 0 lockfspl 48 140 0 137 1 0 1 1 0 8 0 sessionpl 144 25 0 16 1 0 1 1 0 8 0 pgrppl 48 51 0 33 1 0 1 1 0 8 0 ucredpl 104 1623 0 1611 1 0 1 1 0 8 0 zombiepl 144 1501 0 1499 2 1 1 1 0 8 0 processpl 1168 1331 0 1279 5 1 4 5 0 8 0 procpl 664 2741 0 2679 7 0 7 7 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 552 2294 0 2254 24 13 11 15 0 8 7 mcl64k 65536 110 0 107 1 0 1 1 0 8 0 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 3591 0 3538 15 7 8 15 0 8 1 mcl2k2 2112 6 0 6 2 1 1 1 0 8 1 mcl2k 2048 1668 0 1663 6 1 5 5 0 8 4 mtagpl 96 19 0 13 1 0 1 1 0 8 0 mbufpl 256 14663 0 14514 33 14 19 25 0 8 5 bufpl 280 7557 0 1329 446 0 446 446 0 8 0 anonpl 24 216155 0 212704 72 24 48 70 0 187 14 amapchunkpl 152 36808 0 36319 37 8 29 29 0 158 6 amappl16 200 4082 0 4046 28 13 15 16 0 8 8 amappl15 192 52 0 52 1 1 0 1 0 8 0 amappl14 184 112 0 101 1 0 1 1 0 8 0 amappl13 176 10 0 10 2 1 1 1 0 8 1 amappl12 168 1974 0 1944 3 1 2 3 0 8 0 amappl11 160 73 0 62 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 250 0 249 1 0 1 1 0 8 0 amappl8 136 56 0 55 1 0 1 1 0 8 0 amappl7 128 107 0 96 1 0 1 1 0 8 0 amappl6 120 198 0 193 1 0 1 1 0 8 0 amappl5 112 123 0 117 1 0 1 1 0 8 0 amappl4 104 279 0 263 1 0 1 1 0 8 0 amappl3 96 7169 0 7060 4 0 4 4 0 8 0 amappl2 88 676 0 614 2 0 2 2 0 8 0 amappl1 80 12017 0 11385 14 0 14 14 0 8 0 amappl 88 9915 0 9749 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 0 1 1 0 8 1 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 8 0 8 2 1 1 1 0 8 1 dma128 128 255 0 255 1 1 0 1 0 8 0 dma64 64 7 0 7 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 39 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1306 0 1276 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1306 0 1276 1 0 1 1 0 8 0 vmmpekpl 168 11117 0 11082 2 0 2 2 0 8 0 vmmpepl 168 87016 0 84996 104 2 102 102 0 357 5 vmsppl 368 1305 0 1276 4 1 3 4 0 8 0 rwobjpl 40 28008 0 22970 53 0 53 53 0 8 1 pdppl 4096 2619 0 2552 111 42 69 83 0 8 2 pvpl 32 587491 0 577947 157 29 128 153 0 265 28 pmappl 216 1305 0 1276 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 434 0 92 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002f52d6e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f52d6e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1b08069460, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002f52d6e0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f52d6e0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc1b08069460, count: -3