uvm_fault(0xfffffd806ff742e8, 0x30e0, 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 *271074 48877 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c953220) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c953220) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x328a77f6400, 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(0xfffffd806ff742e8, 0x30e0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c953220) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c953220) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x328a77f6400, count: -3 ddb> show registers rdi 0x30e0 __ALIGN_SIZE+0x20e0 rsi 0xffff80003c953070 rbp 0xffff80003c953140 rbx 0xfe79 __ALIGN_SIZE+0xee79 rdx 0xffff80003c94e000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xc9f205a76b404271 r11 0xffffffff819d29a0 copy_fault r12 0 r13 0x16 r14 0xffff80003c953220 r15 0xffff80003c953070 rip 0xffffffff819d28c7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c952e80 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=271074 pid=48877 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037110f88,0xffff80002a8d42b8 process=0xffff8000ffff6d68 user=0xffff80003c94e000, vmspace=0xfffffd806ff742e8 estcpu=27, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79677 21764 62053 0 2 0 syz-executor 79677 150875 62053 0 3 0x4000080 fsleep syz-executor 79677 201924 62053 0 3 0x4000080 fsleep syz-executor 79677 386986 62053 0 3 0x4000080 fsleep syz-executor 63168 341507 39198 0 3 0x80 nanoslp syz-executor 63168 141958 39198 0 3 0x4000080 semwait syz-executor 63168 397086 39198 0 3 0x4000080 fsleep syz-executor 48877 293198 99304 0 2 0 syz-executor *48877 271074 99304 0 7 0x4000000 syz-executor 48877 427697 99304 0 3 0x4000080 fsleep syz-executor 18123 325280 90216 0 3 0x80 nanoslp syz-executor 18123 7558 90216 0 3 0x4000080 ttyin syz-executor 18123 517483 90216 0 3 0x4000000 inode syz-executor 70009 509090 20337 0 2 0xc80 syz-executor 70009 345859 20337 0 3 0x4000080 sbwait syz-executor 70009 442779 20337 0 3 0x4000080 fsleep syz-executor 22930 440344 8684 0 2 0xc80 syz-executor 22930 432420 8684 0 3 0x4000080 msgwait syz-executor 22930 372263 8684 0 3 0x4000080 fsleep syz-executor 22930 90657 8684 0 3 0x4000080 fsleep syz-executor 8684 407636 39507 0 2 0xc82 syz-executor 70260 303877 0 0 3 0x14200 bored sosplice 72220 171626 39507 0 2 0x2 syz-executor 99304 161740 39507 0 2 0xc82 syz-executor 67794 313532 39507 0 3 0x82 nanoslp syz-executor 90216 204629 39507 0 3 0x82 nanoslp syz-executor 39198 199400 39507 0 3 0x82 nanoslp syz-executor 62053 516528 39507 0 3 0x82 nanoslp syz-executor 20337 263420 39507 0 2 0xc82 syz-executor 39507 329791 60055 0 3 0x82 kqread syz-executor 60055 287374 93337 0 3 0x10008a sigsusp ksh 93337 8983 37711 0 3 0x98 kqread sshd-session 37711 283155 73457 0 3 0x92 kqread sshd-session 28458 94533 1 0 3 0x100083 ttyopn getty 73457 165739 1 0 3 0x88 kqread sshd 59852 178509 99155 73 3 0x1100090 kqread syslogd 99155 329756 1 0 3 0x100082 sbwait syslogd 48444 33205 1 0 3 0x100080 kqread resolvd 21904 112085 27398 77 3 0x100092 kqread dhcpleased 11272 228154 27398 77 3 0x100092 kqread dhcpleased 27398 5674 1 0 3 0x80 kqread dhcpleased 81713 448424 0 0 3 0x14200 bored smr 67707 426076 0 0 2 0x14200 zerothread 7542 21309 0 0 3 0x14200 aiodoned aiodoned 33532 305721 0 0 3 0x14200 syncer update 86130 226568 0 0 3 0x14200 cleaner cleaner 6618 122711 0 0 3 0x14200 reaper reaper 87034 498047 0 0 3 0x14200 pgdaemon pagedaemon 60999 259465 0 0 3 0x14200 bored viomb 24566 88483 0 0 3 0x40014200 acpi0 acpi0 23292 474821 0 0 3 0x14200 bored softnet3 46327 161070 0 0 3 0x14200 bored softnet2 9110 357899 0 0 3 0x14200 bored softnet1 77424 480722 0 0 3 0x14200 bored softnet0 21887 461290 0 0 3 0x14200 bored systqmp 81471 437168 0 0 3 0x14200 bored systq 40132 460347 0 0 2 0x40014200 softclock 66471 203090 0 0 3 0x40014200 idle0 1 333552 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 10192 11162K 11456K 166960K 11777 0 pcb 17 12K 12K 166960K 46 0 rtable 175 6K 7K 166960K 404 0 pf 29 12K 13K 166960K 51 0 ifaddr 35 6K 7K 166960K 60 0 ifgroup 46 2K 2K 166960K 78 0 sysctl 3 1K 9K 166960K 11 0 counters 31 17K 18K 166960K 42 0 ioctlops 0 0K 4K 166960K 50 0 iov 0 0K 16K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1471 93K 93K 166960K 1676 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 10 0K 0K 166960K 16 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 359 0 sigio 0 0K 0K 166960K 1 0 proc 61 67K 91K 166960K 516 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 20 0 in_multi 77 5K 7K 166960K 122 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 386 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 240 160K 174K 166960K 4567 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 38 76K 94K 166960K 1409 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 17 0 NDP 10 0K 2K 166960K 38 0 temp 43 8680K 8930K 166960K 13259 0 kqueue 13 20K 30K 166960K 57 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 149 0 145 3 0 3 3 0 8 2 rtentry 136 124 0 46 4 0 4 4 0 8 0 unpcb 144 135 0 118 1 0 1 1 0 8 0 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 110 0 102 7 0 7 7 0 8 5 arp 88 20 0 6 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 267 0 255 8 1 7 7 0 8 4 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 27 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 3 1 0 1 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 6 0 6 1 0 1 1 0 8 1 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 2 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 0 1 1 0 8 1 pfstate 384 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 537 0 179 29 2 27 29 0 8 2 art_table 32 538 0 179 4 0 4 4 0 8 0 art_node 16 123 0 53 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 13 0 6 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1925 0 426 95 0 95 95 0 8 0 ffsino 248 1925 0 426 95 0 95 95 0 8 0 nchpl 144 2384 0 699 63 0 63 63 0 8 0 uvmvnodes 80 2255 0 0 47 0 47 47 0 8 0 vnodes 216 2255 0 0 126 0 126 126 0 8 0 namei 1024 8108 0 8107 3 2 1 2 0 8 0 kstatmem 264 40 0 20 2 0 2 2 0 8 0 scxspl 216 7437 0 7437 2 1 1 2 1 8 1 plimitpl 152 79 0 62 1 0 1 1 0 8 0 sigapl 424 627 0 581 6 0 6 6 0 8 0 knotepl 120 9746 0 9699 17 7 10 10 0 8 7 kqueuepl 184 81 0 69 1 0 1 1 0 8 0 pipepl 296 152 0 125 5 0 5 5 0 8 2 fdescpl 440 609 0 580 4 0 4 4 0 8 0 filepl 120 3337 0 3105 14 2 12 12 0 8 3 lockfpl 104 258 0 256 2 0 2 2 0 8 1 lockfspl 48 109 0 107 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 37 0 21 1 0 1 1 0 8 0 ucredpl 104 245 0 233 1 0 1 1 0 8 0 zombiepl 144 582 0 581 2 1 1 1 0 8 0 processpl 1160 627 0 581 4 0 4 4 0 8 0 procpl 656 937 0 877 7 1 6 6 0 8 0 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 528 564 0 530 9 1 8 8 0 8 4 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 4 0 4 1 1 0 1 0 8 0 mcl4k 4096 2656 0 2602 14 6 8 14 0 8 0 mcl2k 2048 335 0 332 4 0 4 4 0 8 3 mtagpl 96 11 0 5 1 0 1 1 0 8 0 mbufpl 256 7492 0 7337 95 75 20 95 0 8 7 bufpl 280 2714 0 119 186 0 186 186 0 8 0 anonpl 24 104061 0 100806 45 12 33 33 0 187 12 amapchunkpl 152 14188 0 13674 41 14 27 32 0 158 6 amappl16 200 1376 0 1347 5 2 3 4 0 8 1 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 109 0 98 1 0 1 1 0 8 0 amappl13 176 10 0 9 1 0 1 1 0 8 0 amappl12 168 1235 0 1206 2 0 2 2 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 20 0 20 1 1 0 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 24 0 23 1 0 1 1 0 8 0 amappl7 128 99 0 88 1 0 1 1 0 8 0 amappl6 120 197 0 194 1 0 1 1 0 8 0 amappl5 112 127 0 120 1 0 1 1 0 8 0 amappl4 104 305 0 291 1 0 1 1 0 8 0 amappl3 96 2510 0 2396 4 1 3 4 0 8 0 amappl2 88 649 0 594 2 0 2 2 0 8 0 amappl1 80 8999 0 8450 15 2 13 14 0 8 0 amappl 88 3862 0 3688 6 1 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 dma8192 8192 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 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 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 609 0 580 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 609 0 580 1 0 1 1 0 8 0 vmmpekpl 168 6472 0 6432 3 0 3 3 0 8 0 vmmpepl 168 44082 0 42222 90 3 87 87 0 357 3 vmsppl 360 608 0 580 4 1 3 4 0 8 0 rwobjpl 32 16028 0 12901 27 1 26 26 0 8 0 pdppl 4096 1225 0 1160 95 28 67 77 0 8 2 pvpl 32 273152 0 263322 114 18 96 96 0 265 14 pmappl 216 608 0 580 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 356 0 118 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c953220) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c953220) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x328a77f6400, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c953220) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c953220) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x328a77f6400, count: -3