uvm_fault(0xfffffd806b9f3200, 0x1760, 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 * 41872 15989 -1 0x10 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800035c0fcc0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035c0fcc0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6330b32c870, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd806b9f3200, 0x1760, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff800035c0fcc0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035c0fcc0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6330b32c870, count: -3 ddb{0}> show registers rdi 0x1760 __ALIGN_SIZE+0x760 rsi 0xffff800035c0f9c0 rbp 0xffff800035c0fbe0 rbx 0x7f46 __ALIGN_SIZE+0x6f46 rdx 0xffff800035c0a000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0xffff800035c0f678 r10 0xfa0d3b2cb0566018 r11 0xffffffff81b775a0 copy_fault r12 0x3 r13 0x16 r14 0xffff800035c0f9c0 r15 0xffff800035c0fcc0 rip 0xffffffff81b774c7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800035c0f930 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=41872 pid=15989 tcnt=3 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4cb4f8,0xffff80003c4cad40 process=0xffff80003a4253a0 user=0xffff800035c0a000, vmspace=0xfffffd806b9f3200 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 31999 159072 5914 0 2 0 syz-executor 63270 154029 11070 0 2 0 syz-executor 63270 147140 11070 0 3 0x4000080 fsleep syz-executor 15989 415718 10468 -1 2 0x10 syz-executor *15989 41872 10468 -1 7 0x4000010 syz-executor 15989 476022 10468 -1 3 0x4000090 fsleep syz-executor 22487 452837 5180 0 3 0x3000 suspend syz-executor 22487 205105 5180 0 2 0x4081000 syz-executor 37867 134366 0 0 3 0x14280 nfsidl nfsio 71479 237251 0 0 3 0x14280 nfsidl nfsio 60821 384391 0 0 3 0x14280 nfsidl nfsio 3285 344298 0 0 3 0x14280 nfsidl nfsio 8037 53558 0 0 3 0x14280 nfsidl nfsio 36573 150221 0 0 3 0x14280 nfsidl nfsio 56692 80557 0 0 3 0x14280 nfsidl nfsio 34718 469665 0 0 3 0x14280 nfsidl nfsio 34779 481195 0 0 3 0x14280 nfsidl nfsio 46838 50724 0 0 3 0x14280 nfsidl nfsio 67987 389925 0 0 3 0x14280 nfsidl nfsio 69877 334734 0 0 3 0x14280 nfsidl nfsio 89085 191241 0 0 3 0x14280 nfsidl nfsio 41777 32574 0 0 3 0x14280 nfsidl nfsio 11387 356866 0 0 3 0x14280 nfsidl nfsio 99113 208762 0 0 3 0x14280 nfsidl nfsio 44474 344297 0 0 3 0x14280 nfsidl nfsio 89253 111647 0 0 3 0x14280 nfsidl nfsio 36991 363034 0 0 3 0x14280 nfsidl nfsio 92896 362688 0 0 3 0x14280 nfsidl nfsio 1418 161838 0 0 3 0x14200 bored sosplice 5180 55479 95528 0 3 0x82 nanoslp syz-executor 95395 137090 95528 0 3 0x2 biowait syz-executor 11070 291622 95528 0 2 0xc82 syz-executor 37412 208319 95528 0 3 0x82 wait syz-executor 87839 451663 95528 0 3 0x82 piperd syz-executor 5914 73935 95528 0 2 0xc82 syz-executor 8716 460453 95528 0 3 0x82 wait syz-executor 10468 380184 95528 0 2 0xc82 syz-executor 95528 115169 9225 0 2 0x2 syz-executor 9225 158299 99178 0 3 0x10008a sigsusp ksh 99178 95964 53851 0 3 0x98 kqread sshd-session 53851 12927 71922 0 3 0x92 kqread sshd-session 9542 400375 1 0 3 0x100083 ttyin getty 71922 52727 1 0 3 0x88 kqread sshd 79995 236758 51346 74 3 0x1100092 bpf pflogd 51346 276563 1 0 3 0x80 sbwait pflogd 46614 369555 8751 73 3 0x1100090 kqread syslogd 8751 246936 1 0 3 0x100082 sbwait syslogd 1635 373348 1 0 3 0x100080 kqread resolvd 65350 422187 17288 77 3 0x100092 kqread dhcpleased 98052 505738 17288 77 3 0x100092 kqread dhcpleased 17288 104134 1 0 3 0x80 kqread dhcpleased 26306 256725 0 0 3 0x14200 bored smr 702 366561 0 0 2 0x14200 zerothread 42591 410574 0 0 3 0x14200 aiodoned aiodoned 93895 32223 0 0 3 0x14200 syncer update 99974 511666 0 0 3 0x14200 cleaner cleaner 3581 484657 0 0 3 0x14200 reaper reaper 12500 318495 0 0 3 0x14200 pgdaemon pagedaemon 75653 100948 0 0 3 0x14200 bored viomb 18050 272863 0 0 3 0x40014200 acpi0 acpi0 14338 174577 0 0 7 0x40014200 idle1 57731 34857 0 0 3 0x14200 bored softnet7 20323 150611 0 0 3 0x14200 bored softnet6 2764 374070 0 0 3 0x14200 bored softnet5 65215 294829 0 0 3 0x14200 bored softnet4 20375 486954 0 0 3 0x14200 bored softnet3 57280 63221 0 0 3 0x14200 bored softnet2 80087 7317 0 0 3 0x14200 bored softnet1 13929 159852 0 0 3 0x14200 bored softnet0 16754 406307 0 0 3 0x14200 bored systqmp 11782 253340 0 0 3 0x14200 bored systq 61411 127346 0 0 3 0x14200 tmoslp softclockmp 8703 293422 0 0 2 0x40014200 softclock 93911 305650 0 0 3 0x40014200 idle0 1 65104 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 22487 (syz-executor) thread 0xffff80003c458fb8 (205105) Process 95395 (syz-executor) thread 0xffff8000ffff27d8 (137090) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 11116K 11395K 166960K 12022 0 pcb 17 13K 14K 166960K 136 0 rtable 168 6K 8K 166960K 329 0 pf 34 17K 21K 166960K 91 0 ifaddr 33 5K 7K 166960K 63 0 ifgroup 55 2K 2K 166960K 96 0 sysctl 4 1K 9K 166960K 10 0 counters 68 36K 37K 166960K 108 0 ioctlops 0 0K 4K 166960K 1629 0 iov 0 0K 16K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1407 89K 89K 166960K 1858 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 32 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 587 0 sigio 0 0K 0K 166960K 43 0 proc 72 115K 196K 166960K 583 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 146 0 in_multi 57 4K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 109 493K 493K 166960K 109 0 exec 0 0K 1K 166960K 452 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 245 177K 185K 166960K 6956 0 UVM aobj 20 5K 6K 166960K 22 0 pinsyscall 41 82K 103K 166960K 1680 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 57 0 NDP 12 0K 2K 166960K 43 0 temp 79 8652K 8720K 166960K 51188 0 kqueue 15 24K 26K 166960K 117 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 63 0 60 1 0 1 1 0 8 0 rtentry 176 106 0 39 5 0 5 5 0 8 0 unpcb 144 448 0 431 6 1 5 6 0 8 4 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 736 209 0 204 9 8 1 7 0 8 0 arp 128 15 0 5 1 0 1 1 0 8 0 inpcb 328 727 0 719 10 7 3 7 0 8 2 nd6 144 17 0 8 1 0 1 1 0 8 0 pkpcb 40 9 0 9 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 16 0 16 1 0 1 1 0 8 1 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 40 0 14 1 0 1 1 0 8 0 pfstkey 128 40 0 14 2 0 2 2 0 8 0 pfstate 384 40 0 14 4 0 4 4 0 8 0 pfrule 1344 24 0 19 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 448 0 169 28 3 25 28 0 8 2 art_table 40 450 0 169 5 0 5 5 0 8 0 art_node 32 105 0 46 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semapl 112 25 0 15 1 0 1 1 0 8 0 shmpl 112 19 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2484 0 977 96 0 96 96 0 8 0 ffsino 296 2484 0 977 118 0 118 118 0 8 0 nchpl 144 3340 0 1647 64 0 64 64 0 8 0 rtmask 32 2 0 2 2 2 0 1 0 8 0 uvmvnodes 80 2860 0 0 59 0 59 59 0 8 0 vnodes 216 2860 0 0 159 0 159 159 0 8 0 namei 1024 10891 0 10890 2 1 1 2 0 8 0 percpumem 16 69 0 20 1 0 1 1 0 8 0 kstatmem 264 58 0 30 4 1 3 3 0 8 1 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 5 0 5 2 1 1 1 0 8 1 scxspl 216 21240 0 21239 9 8 1 8 1 8 0 plimitpl 152 100 0 82 1 0 1 1 0 8 0 sigapl 424 915 0 842 9 0 9 9 0 8 0 knotepl 120 503 0 0 16 0 16 16 0 8 0 kqueuepl 224 231 0 219 5 2 3 5 0 8 2 pipepl 344 225 0 198 9 0 9 9 0 8 6 fdescpl 528 871 0 841 3 0 3 3 0 8 0 filepl 160 5231 0 5010 17 1 16 16 0 8 5 lockfpl 104 203 0 201 1 0 1 1 0 8 0 lockfspl 48 95 0 93 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 38 0 21 1 0 1 1 0 8 0 ucredpl 104 677 0 661 1 0 1 1 0 8 0 zombiepl 144 845 0 842 1 0 1 1 0 8 0 processpl 1248 915 0 842 6 0 6 6 0 8 0 procpl 664 1613 0 1536 8 0 8 8 0 8 0 sosppl 168 4 0 4 1 1 0 1 0 8 0 sockpl 752 1274 0 1246 20 10 10 18 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 105 0 0 14 1 13 14 0 8 0 mcl2k 2048 14 0 0 2 0 2 2 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 319 0 0 20 0 20 20 0 8 0 bufpl 280 9128 0 2985 439 0 439 439 0 8 0 anonpl 32 16826 0 0 136 0 136 136 0 246 0 amapchunkpl 152 23062 0 22465 36 5 31 31 0 158 1 amappl16 200 4771 0 4436 54 24 30 39 0 8 8 amappl15 192 27 0 27 1 1 0 1 0 8 0 amappl14 184 113 0 101 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1515 0 1486 4 2 2 3 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 255 0 255 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 109 0 97 1 0 1 1 0 8 0 amappl6 120 203 0 199 1 0 1 1 0 8 0 amappl5 112 122 0 112 1 0 1 1 0 8 0 amappl4 104 299 0 279 1 0 1 1 0 8 0 amappl3 96 4291 0 4187 4 0 4 4 0 8 0 amappl2 88 654 0 591 2 0 2 2 0 8 0 amappl1 80 10234 0 9642 15 1 14 14 0 8 0 amappl 88 6193 0 6024 5 0 5 5 0 92 0 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 6 0 6 1 1 0 1 0 8 0 dma128 128 255 0 255 2 2 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 21 0 2 1 0 1 1 0 8 0 uaddrrnd 24 871 0 841 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 871 0 841 1 0 1 1 0 8 0 vmmpekpl 168 8720 0 8684 2 0 2 2 0 8 0 vmmpepl 168 62772 0 60523 121 0 121 121 0 357 8 vmsppl 488 870 0 841 6 2 4 5 0 8 0 rwobjpl 80 22924 0 18803 87 0 87 87 0 8 2 pdppl 4096 1750 0 1682 104 32 72 88 0 8 4 pvpl 32 22772 0 0 184 0 184 184 0 265 0 pmappl 256 870 0 841 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 290 0 49 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff800035c0fcc0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800035c0fcc0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6330b32c870, count: -3 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224 sched_idle(ffff8000299edff0) at sched_idle+0x391 sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5