uvm_fault(0xfffffd806a360b98, 0x1d40, 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 *107558 49896 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800033937c90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033937c90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31ec15cf120, 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(0xfffffd806a360b98, 0x1d40, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800033937c90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033937c90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31ec15cf120, count: -3 ddb> show registers rdi 0x1d40 __ALIGN_SIZE+0xd40 rsi 0xffff800033937960 rbp 0xffff800033937bc0 rbx 0xffffff15 rdx 0xffff800033932000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0x1 r10 0xdf3d03335bccc138 r11 0xffffffff83140220 copy_fault r12 0x5 r13 0x16 r14 0xffff800033937960 r15 0xffff800033937c90 rip 0xffffffff83140147 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800033937910 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=107558 pid=49896 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a54a2b8,0xffff80003a54afc0 process=0xffff80003a5544a8 user=0xffff800033932000, vmspace=0xfffffd806a360b98 estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49896 399564 4698 0 2 0 syz-executor *49896 107558 4698 0 7 0x4000000 syz-executor 49896 206994 4698 0 3 0x4000080 fsleep syz-executor 14385 461968 87972 0 3 0x90 nanoslp syz-executor 14385 194793 87972 0 3 0x4000090 kqsel syz-executor 14385 489159 87972 0 3 0x4000090 fsleep syz-executor 64775 170122 58658 0 2 0xc80 syz-executor 64775 396508 58658 0 3 0x4000080 fifor syz-executor 64775 163049 58658 0 3 0x4000080 fifor syz-executor 64775 416689 58658 0 3 0x4000080 fsleep syz-executor 17392 446855 55710 -1 2 0xc90 syz-executor 17392 69349 55710 -1 3 0x4000090 fsleep syz-executor 17392 230226 55710 -1 3 0x4000090 fsleep syz-executor 21446 200430 41206 0 2 0xc80 syz-executor 21446 229013 41206 0 3 0x4000080 kqsel syz-executor 21446 76770 41206 0 3 0x4000080 fsleep syz-executor 23074 308784 8238 0 2 0xc80 syz-executor 23074 139858 8238 0 3 0x4000080 kqpoll syz-executor 23074 73807 8238 0 3 0x4000080 fsleep syz-executor 28814 94432 10716 0 2 0xc80 syz-executor 28814 20556 10716 0 3 0x4000080 sbwait syz-executor 28814 49617 10716 0 3 0x4000080 fsleep syz-executor 28814 329473 10716 0 3 0x4000080 fsleep syz-executor 4698 46795 27534 0 3 0x82 nanoslp syz-executor 37845 249500 0 0 3 0x14280 nfsidl nfsio 60865 178631 0 0 3 0x14280 nfsidl nfsio 4382 346 0 0 3 0x14280 nfsidl nfsio 96270 518574 0 0 3 0x14280 nfsidl nfsio 90889 457041 0 0 3 0x14280 nfsidl nfsio 42620 239807 0 0 3 0x14280 nfsidl nfsio 80673 410868 0 0 3 0x14280 nfsidl nfsio 42928 67369 0 0 3 0x14280 nfsidl nfsio 82925 460447 0 0 3 0x14280 nfsidl nfsio 47215 71061 0 0 3 0x14280 nfsidl nfsio 2449 45918 0 0 3 0x14280 nfsidl nfsio 72428 108318 0 0 3 0x14280 nfsidl nfsio 45922 54803 0 0 3 0x14280 nfsidl nfsio 75109 516698 0 0 3 0x14280 nfsidl nfsio 54571 90875 0 0 3 0x14280 nfsidl nfsio 68155 109309 0 0 3 0x14280 nfsidl nfsio 17584 466527 0 0 3 0x14280 nfsidl nfsio 53890 20471 0 0 3 0x14280 nfsidl nfsio 54705 89603 0 0 3 0x14280 nfsidl nfsio 6971 200600 0 0 3 0x14280 nfsidl nfsio 93711 372915 0 0 3 0x14200 bored sosplice 58658 297965 27534 0 2 0xc82 syz-executor 87972 146994 27534 0 2 0xc82 syz-executor 8238 342604 27534 0 2 0xc82 syz-executor 41206 25155 27534 0 2 0xc82 syz-executor 10716 465615 27534 0 2 0xc82 syz-executor 55710 262079 27534 0 2 0xc82 syz-executor 69428 399401 27534 0 2 0x2 syz-executor 27534 501235 22464 0 3 0x82 kqread syz-executor 22464 343857 72095 0 3 0x10008a sigsusp ksh 72095 229855 60676 0 3 0x98 kqread sshd-session 60676 417871 85568 0 3 0x92 kqread sshd-session 43551 418041 1 0 3 0x100083 ttyin getty 85568 191267 1 0 3 0x88 kqread sshd 36681 369040 90731 73 3 0x1100090 kqread syslogd 90731 489668 1 0 3 0x100082 sbwait syslogd 51402 11592 1 0 3 0x100080 kqread resolvd 44948 511000 82120 77 3 0x100092 kqread dhcpleased 41758 207757 82120 77 3 0x100092 kqread dhcpleased 82120 67398 1 0 3 0x80 kqread dhcpleased 33971 350371 0 0 3 0x14200 bored smr 47 494907 0 0 2 0x14200 zerothread 80813 284486 0 0 3 0x14200 aiodoned aiodoned 37006 462084 0 0 3 0x14200 syncer update 30840 255311 0 0 3 0x14200 cleaner cleaner 50344 13899 0 0 3 0x14200 reaper reaper 20681 312580 0 0 3 0x14200 pgdaemon pagedaemon 88872 160738 0 0 3 0x14200 bored viomb 51368 122976 0 0 3 0x40014200 acpi0 acpi0 46729 199011 0 0 3 0x14200 bored softnet7 24580 141695 0 0 3 0x14200 bored softnet6 65235 320802 0 0 3 0x14200 bored softnet5 14171 421083 0 0 3 0x14200 bored softnet4 17021 72032 0 0 3 0x14200 bored softnet3 95996 516512 0 0 3 0x14200 bored softnet2 67478 106705 0 0 3 0x14200 bored softnet1 24088 163460 0 0 3 0x14200 bored softnet0 31841 76777 0 0 3 0x14200 bored systqmp 68351 251316 0 0 3 0x14200 bored systq 81505 377686 0 0 2 0x40014200 softclock 84930 81028 0 0 3 0x40014200 idle0 1 469667 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 10191 11064K 11373K 166960K 12679 0 pcb 18 17K 19K 166960K 440 0 rtable 185 10K 11K 166960K 414 0 pf 31 13K 20K 166960K 145 0 ifaddr 34 6K 8K 166960K 94 0 ifgroup 46 2K 2K 166960K 139 0 sysctl 4 1K 9K 166960K 12 0 counters 31 17K 18K 166960K 104 0 ioctlops 0 0K 4K 166960K 373 0 iov 0 0K 16K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1433 90K 90K 166960K 2566 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 31 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 168 0 dirhash 15 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 1177 0 sigio 0 0K 0K 166960K 17 0 proc 63 67K 116K 166960K 611 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 118 0 in_multi 76 5K 7K 166960K 146 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 649 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 159K 177K 166960K 11640 0 UVM aobj 7 4K 4K 166960K 7 0 pinsyscall 38 76K 92K 166960K 2225 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 55 0 NDP 10 0K 1K 166960K 65 0 temp 67 8640K 8894K 166960K 47004 0 kqueue 13 20K 32K 166960K 238 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 282 0 279 3 0 3 3 0 8 2 rtentry 136 129 0 60 4 0 4 4 0 8 0 unpcb 144 933 0 905 11 5 6 6 0 8 4 syncache 336 5 0 5 2 1 1 1 0 8 1 tcpcb 736 265 0 261 4 0 4 4 0 8 3 arp 88 12 0 3 1 0 1 1 0 8 0 ipq 40 4 0 0 1 0 1 1 0 8 0 ipqe 40 4 0 0 1 0 1 1 0 8 0 inpcb 328 1372 0 1364 12 3 9 12 0 8 7 ip6q 72 45 0 39 1 0 1 1 0 8 0 ip6af 40 85 0 79 1 0 1 1 0 8 0 nd6 104 24 0 10 1 0 1 1 0 8 0 pkpcb 40 14 0 14 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 65 0 65 2 1 1 1 0 8 1 pppxif 1384 4 0 4 2 1 1 1 0 8 1 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 3 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 578 0 229 29 1 28 29 0 8 4 art_table 40 581 0 229 5 0 5 5 0 8 0 art_node 32 125 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semapl 112 166 0 156 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 4 3 0 3 3 0 8 0 dino2pl 256 3770 0 2267 95 0 95 95 0 8 0 ffsino 256 3770 0 2267 95 0 95 95 0 8 0 nchpl 144 5401 0 3717 63 0 63 63 0 8 0 rtmask 32 20 0 20 2 1 1 1 0 8 1 uvmvnodes 80 4432 0 0 91 0 91 91 0 8 0 vnodes 216 4432 0 0 247 0 247 247 0 8 0 namei 1024 19260 0 19260 2 1 1 2 0 8 1 kstatmem 264 94 0 74 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 16017 0 16017 15 7 8 8 1 8 8 plimitpl 152 324 0 304 1 0 1 1 0 8 0 sigapl 424 1481 0 1411 9 0 9 9 0 8 0 knotepl 120 49658 0 49611 36 23 13 16 0 8 8 kqueuepl 184 406 0 391 1 0 1 1 0 8 0 pipepl 304 195 0 168 3 0 3 3 0 8 0 fdescpl 448 1436 0 1407 5 1 4 5 0 8 0 filepl 120 10241 0 10007 19 3 16 16 0 8 8 lockfpl 104 679 0 677 2 0 2 2 0 8 1 lockfspl 48 246 0 244 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 44 0 28 1 0 1 1 0 8 0 ucredpl 104 2345 0 2331 1 0 1 1 0 8 0 zombiepl 144 1411 0 1411 1 0 1 1 0 8 1 processpl 1152 1481 0 1411 6 0 6 6 0 8 0 procpl 664 3026 0 2940 8 0 8 8 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 552 2670 0 2631 27 17 10 17 0 8 6 mcl64k 65536 135 0 135 2 1 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 2 1 1 1 0 8 1 mcl4k 4096 3782 0 3731 15 7 8 14 0 8 1 mcl2k 2048 1849 0 1841 5 2 3 3 0 8 1 mtagpl 96 22 0 12 1 0 1 1 0 8 0 mbufpl 256 15764 0 15632 19 1 18 18 0 8 4 bufpl 280 4898 0 124 341 0 341 341 0 8 0 anonpl 24 190325 0 187040 45 0 45 45 0 187 18 amapchunkpl 152 39567 0 39050 39 5 34 34 0 158 13 amappl16 200 2933 0 2898 19 4 15 15 0 8 12 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 108 0 98 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 2057 0 2028 2 0 2 2 0 8 0 amappl11 160 51 0 40 1 0 1 1 0 8 0 amappl10 152 7 0 6 1 0 1 1 0 8 0 amappl9 144 284 0 284 1 1 0 1 0 8 0 amappl8 136 17 0 16 1 0 1 1 0 8 0 amappl7 128 96 0 86 1 0 1 1 0 8 0 amappl6 120 177 0 174 1 0 1 1 0 8 0 amappl5 112 113 0 106 1 0 1 1 0 8 0 amappl4 104 266 0 249 1 0 1 1 0 8 0 amappl3 96 7965 0 7849 4 0 4 4 0 8 0 amappl2 88 626 0 569 2 0 2 2 0 8 0 amappl1 80 12165 0 11620 13 1 12 13 0 8 0 amappl 88 10783 0 10610 5 0 5 5 0 92 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 dma512 512 2 0 2 2 1 1 1 0 8 1 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 10 0 10 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1436 0 1407 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1436 0 1407 1 0 1 1 0 8 0 vmmpekpl 168 11826 0 11788 2 0 2 2 0 8 0 vmmpepl 168 91606 0 89712 95 0 95 95 0 357 9 vmsppl 368 1435 0 1407 4 1 3 4 0 8 0 rwobjpl 40 27604 0 22291 56 0 56 56 0 8 1 pdppl 4096 2879 0 2814 103 36 67 79 0 8 2 pvpl 32 579947 0 571193 111 0 111 111 0 265 26 pmappl 216 1435 0 1407 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 395 0 56 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800033937c90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033937c90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31ec15cf120, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800033937c90) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800033937c90) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31ec15cf120, count: -3