uvm_fault(0xfffffd806b96b018, 0x520, 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 *167323 67737 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800038161f20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038161f20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9772b33fbd0, 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(0xfffffd806b96b018, 0x520, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800038161f20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038161f20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9772b33fbd0, count: -3 ddb> show registers rdi 0x520 rsi 0xffff800038161bd0 rbp 0xffff800038161e50 rbx 0xffffffd6 rdx 0xffff80003815c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x3a570a4bd490cc3d r11 0xffffffff811876f0 copy_fault r12 0x6 r13 0x16 r14 0xffff800038161bd0 r15 0xffff800038161f20 rip 0xffffffff81187617 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800038161ba0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=167323 pid=67737 tcnt=2 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=0xffff80003c985790,0xffff80003c984048 process=0xffff80003c99eda0 user=0xffff80003815c000, vmspace=0xfffffd806b96b018 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73629 466732 14834 0 2 0 syz-executor 73629 379757 14834 0 3 0x4000080 fsleep syz-executor 35215 69628 35245 0 2 0 syz-executor 35215 455767 35245 0 3 0x4000080 fsleep syz-executor 67737 251223 94947 0 2 0 syz-executor *67737 167323 94947 0 7 0x4000000 syz-executor 97426 475544 21708 0 2 0 syz-executor 72919 288416 21057 0 2 0xc80 syz-executor 72919 441769 21057 0 2 0x4000000 syz-executor 72919 350962 21057 0 3 0x4000080 fsleep syz-executor 72919 19981 21057 0 3 0x4000080 fsleep syz-executor 19060 93609 0 0 3 0x14280 nfsidl nfsio 72231 148991 0 0 3 0x14280 nfsidl nfsio 65352 515215 0 0 3 0x14280 nfsidl nfsio 53678 332247 0 0 3 0x14280 nfsidl nfsio 31352 261544 0 0 3 0x14280 nfsidl nfsio 51180 45029 0 0 3 0x14280 nfsidl nfsio 32172 310477 0 0 3 0x14280 nfsidl nfsio 19713 210794 0 0 3 0x14280 nfsidl nfsio 28014 233435 0 0 3 0x14280 nfsidl nfsio 37232 60033 0 0 3 0x14280 nfsidl nfsio 48522 28924 0 0 3 0x14280 nfsidl nfsio 53164 82277 0 0 3 0x14280 nfsidl nfsio 95143 301232 0 0 3 0x14280 nfsidl nfsio 59762 236128 0 0 3 0x14280 nfsidl nfsio 43452 343688 0 0 3 0x14280 nfsidl nfsio 63435 202828 0 0 3 0x14280 nfsidl nfsio 19180 334385 0 0 3 0x14280 nfsidl nfsio 91402 182613 0 0 3 0x14280 nfsidl nfsio 85739 62752 0 0 3 0x14280 nfsidl nfsio 58067 144706 0 0 3 0x14280 nfsidl nfsio 39684 109833 0 0 3 0x14200 bored sosplice 35245 252534 22523 0 3 0x82 nanoslp syz-executor 93736 469977 22523 0 3 0x82 nanoslp syz-executor 58677 302891 22523 0 2 0x2 syz-executor 14834 185737 22523 0 3 0x82 nanoslp syz-executor 94947 354528 22523 0 2 0xc82 syz-executor 14525 497069 22523 0 3 0x82 nanoslp syz-executor 21708 209537 22523 0 2 0xc82 syz-executor 21057 477163 22523 0 2 0xc82 syz-executor 22523 446788 2340 0 3 0x82 kqread syz-executor 2340 444703 32390 0 3 0x10008a sigsusp ksh 32390 169543 58398 0 3 0x98 kqread sshd-session 58398 175191 94679 0 3 0x92 kqread sshd-session 48804 213428 1 0 3 0x100083 ttyin getty 94679 286673 1 0 3 0x88 kqread sshd 99144 399116 3456 73 3 0x1100090 kqread syslogd 3456 32359 1 0 3 0x100082 sbwait syslogd 49327 82729 1 0 3 0x100080 kqread resolvd 59263 342377 5106 77 3 0x100092 kqread dhcpleased 31475 461905 5106 77 3 0x100092 kqread dhcpleased 5106 255018 1 0 3 0x80 kqread dhcpleased 67874 365986 0 0 3 0x14200 bored smr 82371 409352 0 0 2 0x14200 zerothread 18722 74485 0 0 3 0x14200 aiodoned aiodoned 55235 350481 0 0 3 0x14200 syncer update 67352 182210 0 0 3 0x14200 cleaner cleaner 6929 71230 0 0 3 0x14200 reaper reaper 8107 209320 0 0 3 0x14200 pgdaemon pagedaemon 66560 498912 0 0 3 0x14200 bored viomb 70804 499189 0 0 3 0x40014200 acpi0 acpi0 7562 462545 0 0 3 0x14200 bored softnet7 16318 147263 0 0 3 0x14200 bored softnet6 93937 178710 0 0 3 0x14200 bored softnet5 80219 303479 0 0 3 0x14200 bored softnet4 85146 395766 0 0 3 0x14200 bored softnet3 82480 91244 0 0 3 0x14200 bored softnet2 86114 417055 0 0 3 0x14200 bored softnet1 9239 21019 0 0 3 0x14200 bored softnet0 67376 74511 0 0 2 0x14200 systqmp 68351 266682 0 0 3 0x14200 bored systq 91868 36043 0 0 3 0x40014200 tmoslp softclock 59210 460694 0 0 3 0x40014200 idle0 1 114276 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 10200 11131K 11376K 166960K 11628 0 pcb 18 13K 14K 166960K 107 0 rtable 163 7K 7K 166960K 289 0 pf 32 13K 13K 166960K 52 0 ifaddr 37 6K 7K 166960K 56 0 ifgroup 52 2K 2K 166960K 73 0 sysctl 3 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 222 0 iov 0 0K 32K 166960K 47 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 88K 166960K 1737 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 7 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 370 0 sigio 0 0K 0K 166960K 2 0 proc 60 59K 108K 166960K 501 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 105 0 in_multi 77 5K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 3 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 368 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 217 150K 165K 166960K 4652 0 UVM aobj 8 4K 4K 166960K 9 0 pinsyscall 38 76K 94K 166960K 1384 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 12 0K 2K 166960K 35 0 temp 46 8636K 8700K 166960K 11140 0 kqueue 19 25K 33K 166960K 65 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 47 0 44 1 0 1 1 0 8 0 rtentry 136 101 0 33 4 0 4 4 0 8 0 unpcb 144 418 0 397 6 0 6 6 0 8 5 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 61 0 57 1 0 1 1 0 8 0 arp 88 10 0 2 1 0 1 1 0 8 0 inpcb 328 258 0 249 4 0 4 4 0 8 3 ip6q 72 1 0 1 1 0 1 1 0 8 1 ip6af 40 3 0 3 1 0 1 1 0 8 1 nd6 104 19 0 5 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 8 0 7 1 0 1 1 0 8 0 pppxif 1384 1 0 1 1 0 1 1 0 8 1 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 494 0 135 31 0 31 31 0 8 5 art_table 40 495 0 135 5 0 5 5 0 8 0 art_node 32 101 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 37 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 9 0 4 1 0 1 1 0 8 0 shmpl 112 6 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2054 0 553 95 0 95 95 0 8 0 ffsino 256 2054 0 553 95 0 95 95 0 8 0 nchpl 144 2592 0 913 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2355 0 0 49 0 49 49 0 8 0 vnodes 216 2355 0 0 131 0 131 131 0 8 0 namei 1024 8673 0 8672 2 0 2 2 0 8 1 kstatmem 264 38 0 14 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 9487 0 9487 8 0 8 8 1 8 8 plimitpl 152 168 0 150 1 0 1 1 0 8 0 sigapl 424 661 0 591 9 0 9 9 0 8 0 knotepl 120 10757 0 10702 9 0 9 9 0 8 7 kqueuepl 184 82 0 71 1 0 1 1 0 8 0 pipepl 304 120 0 93 3 0 3 3 0 8 0 fdescpl 448 619 0 590 5 0 5 5 0 8 1 filepl 120 3827 0 3604 13 0 13 13 0 8 6 lockfpl 104 97 0 95 1 0 1 1 0 8 0 lockfspl 48 44 0 42 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 662 0 649 1 0 1 1 0 8 0 zombiepl 144 593 0 591 1 0 1 1 0 8 0 processpl 1168 661 0 591 6 0 6 6 0 8 0 procpl 664 1007 0 931 8 0 8 8 0 8 0 sockpl 552 729 0 696 14 2 12 12 0 8 9 mcl64k 65536 10 0 10 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2708 0 2657 13 0 13 13 0 8 6 mcl2k 2048 474 0 472 2 0 2 2 0 8 1 mtagpl 96 9 0 4 1 0 1 1 0 8 0 mbufpl 256 6458 0 6316 16 0 16 16 0 8 5 bufpl 280 3966 0 117 275 0 275 275 0 8 0 anonpl 24 123496 0 119844 34 0 34 34 0 187 8 amapchunkpl 152 15020 0 14568 27 0 27 27 0 158 8 amappl16 200 2086 0 2024 5 0 5 5 0 8 1 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 6 0 5 1 0 1 1 0 8 0 amappl12 168 1227 0 1198 3 0 3 3 0 8 1 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 2 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 97 0 87 1 0 1 1 0 8 0 amappl6 120 178 0 175 1 0 1 1 0 8 0 amappl5 112 133 0 127 1 0 1 1 0 8 0 amappl4 104 270 0 256 1 0 1 1 0 8 0 amappl3 96 2648 0 2545 3 0 3 3 0 8 0 amappl2 88 629 0 573 2 0 2 2 0 8 0 amappl1 80 8948 0 8399 14 0 14 14 0 8 2 amappl 88 3972 0 3819 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 8 0 1 1 0 1 1 0 8 0 uaddrrnd 24 619 0 590 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 619 0 590 1 0 1 1 0 8 0 vmmpekpl 168 6372 0 6346 2 0 2 2 0 8 0 vmmpepl 168 45137 0 43272 89 0 89 89 0 357 5 vmsppl 368 618 0 590 4 0 4 4 0 8 1 rwobjpl 40 16809 0 13580 33 0 33 33 0 8 0 pdppl 4096 1245 0 1180 99 32 67 83 0 8 2 pvpl 32 297262 0 287867 101 0 101 101 0 265 16 pmappl 216 618 0 590 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 380 0 32 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038161f20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038161f20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9772b33fbd0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038161f20) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038161f20) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9772b33fbd0, count: -3