g Ãg Ãuvm_fault(0xfffffd806bc0a220, 0x314, 0, 2) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xfffffd806bc0a220, 0x314, 0, 2) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff80001d79e0d0, count: 0 ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805dac34b8,fffffd805dac35b0,fffffd80540c0b00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805dac34b8,9,fffffd80540c0b00,0,0,ffff80001d797eb0) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805dac34b8,0,ffff80001d79e328,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d797eb0,4,ffff80001d79e328,0,ffff80001d79e410) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d797eb0,ffff80001d79e3c0,ffff80001d79e410) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d79e490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e10, count: -8 ddb> show registers rdi 0x314 rsi 0xfffffd80540c0b70 rbp 0xffff80001d79e070 rbx 0x1 rdx 0x8c rcx 0x11 rax 0 r8 0xffffffff821b1454 sbappendstream+0x64 r9 0x5 r10 0xf3174df8e7056d6d r11 0x314 r12 0xfffffd80540c0b00 r13 0xfffffd80540c0c00 r14 0x1 r15 0xfffffd805dac35b0 rip 0xffffffff81311055 memcpy+0x15 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff80001d79dff8 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (sshd) pid=56365 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d798390,0xffff80001d797770 process=0xffff8000ffff8ae0 user=0xffff80001d799000, vmspace=0xfffffd806bc0a220 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68258 256144 64991 0 3 0x80 nanosleep syz-executor.0 68258 233530 64991 0 3 0x4000080 piperd syz-executor.0 68258 379862 64991 0 3 0x4000080 fsleep syz-executor.0 73330 34493 0 0 3 0x14200 bored sosplice 64991 492071 58965 0 3 0x82 nanosleep syz-executor.0 78141 295534 58965 0 2 0x2 syz-executor.1 58965 126378 98765 0 3 0x82 thrsleep syz-fuzzer 58965 160814 98765 0 2 0x4000002 syz-fuzzer 58965 134719 98765 0 3 0x4000082 thrsleep syz-fuzzer 58965 450869 98765 0 3 0x4000082 thrsleep syz-fuzzer 58965 73813 98765 0 3 0x4000082 thrsleep syz-fuzzer 58965 395797 98765 0 2 0x4000002 syz-fuzzer 58965 22072 98765 0 3 0x4000082 thrsleep syz-fuzzer 98765 432634 96451 0 3 0x10008a pause ksh *96451 56365 86577 0 7 0x12 sshd 38079 225618 1 0 3 0x100083 ttyin getty 86577 417595 1 0 3 0x80 select sshd 34750 440585 44012 73 3 0x100090 kqread syslogd 44012 502282 1 0 3 0x100082 netio syslogd 34044 439413 1 77 3 0x100090 poll dhclient 88668 511801 1 0 3 0x80 poll dhclient 79783 68816 0 0 3 0x14200 bored smr 87242 370264 0 0 3 0x14200 pgzero zerothread 59349 406240 0 0 3 0x14200 aiodoned aiodoned 616 394021 0 0 3 0x14200 syncer update 24754 8386 0 0 3 0x14200 cleaner cleaner 12224 79273 0 0 3 0x14200 reaper reaper 95469 107337 0 0 3 0x14200 pgdaemon pagedaemon 43213 138272 0 0 3 0x14200 bored crynlk 17544 134045 0 0 3 0x14200 bored crypto 75465 235984 0 0 3 0x40014200 acpi0 acpi0 3443 403918 0 0 3 0x14200 bored softnet 24444 97752 0 0 3 0x14200 bored systqmp 60465 42327 0 0 3 0x14200 bored systq 66893 136017 0 0 3 0x40014200 bored softclock 61924 181360 0 0 3 0x40014200 idle0 1 51718 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9491 6346K 6990K 78643K 10888 0 pcb 13 8K 8K 78643K 55 0 rtable 107 3K 3K 78643K 214 0 ifaddr 66 13K 14K 78643K 79 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 21 0 iov 0 0K 12K 78643K 125 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1337 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 189 0 proc 49 38K 63K 78643K 360 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 14 0 in_multi 53 3K 3K 78643K 75 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 193 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 112 38K 46K 78643K 1273 0 UVM aobj 18 4K 4K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 42 0 NDP 10 0K 0K 78643K 15 0 temp 87 3029K 3093K 78643K 3429 0 kqueue 3 4K 9K 78643K 15 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 47 0 2 2 0 2 2 0 8 0 unpcb 120 123 0 115 1 0 1 1 0 8 0 syncache 264 7 0 7 2 1 1 1 0 8 1 tcpqe 32 66 0 66 1 1 0 1 0 8 0 tcpcb 544 233 0 229 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 367 0 360 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 7 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 206 0 0 13 0 13 13 0 8 0 art_table 32 207 0 0 2 0 2 2 0 8 0 art_node 16 46 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 18 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1668 0 269 88 0 88 88 0 8 0 ffsino 240 1668 0 269 83 0 83 83 0 8 0 nchpl 144 2152 0 548 60 0 60 60 0 8 0 uvmvnodes 72 1788 0 0 33 0 33 33 0 8 0 vnodes 208 1788 0 0 95 0 95 95 0 8 0 namei 1024 5465 0 5465 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 2 1 0 1 1 0 8 0 scxspl 192 5496 0 5496 1 0 1 1 0 8 1 plimitpl 152 22 0 15 1 0 1 1 0 8 0 sigapl 424 376 0 347 4 0 4 4 0 8 0 futexpl 56 3362 0 3361 2 1 1 1 0 8 0 knotepl 112 75 0 56 1 0 1 1 0 8 0 kqueuepl 144 14 0 12 1 0 1 1 0 8 0 pipelkpl 16 99 0 88 1 0 1 1 0 8 0 pipepl 120 198 0 177 1 0 1 1 0 8 0 fdescpl 432 361 0 347 2 0 2 2 0 8 0 filepl 120 2200 0 2103 4 0 4 4 0 8 1 lockfpl 104 90 0 89 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 220 0 213 1 0 1 1 0 8 0 zombiepl 144 347 0 347 1 0 1 1 0 8 1 processpl 920 376 0 347 4 0 4 4 0 8 0 procpl 624 576 0 539 5 1 4 4 0 8 1 sockpl 400 519 0 502 6 2 4 4 0 8 2 mcl64k 65536 37 0 37 3 2 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 2 0 2 1 1 0 1 0 8 0 mcl4k 4096 17 0 17 4 3 1 1 0 8 1 mcl2k 2048 69775 0 69731 14 7 7 12 0 8 1 mtagpl 80 27 0 4 2 1 1 1 0 8 0 mbufpl 256 111582 0 111441 14 4 10 10 0 8 0 bufpl 280 3514 0 126 242 0 242 242 0 8 0 anonpl 16 49215 0 34531 75 4 71 71 0 107 8 amapchunkpl 152 2149 0 2001 21 1 20 20 0 158 13 amappl16 192 1655 0 803 46 2 44 44 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 26 0 21 1 0 1 1 0 8 0 amappl13 168 120 0 115 1 0 1 1 0 8 0 amappl12 160 6 0 3 1 0 1 1 0 8 0 amappl11 152 46 0 37 1 0 1 1 0 8 0 amappl10 144 92 0 86 1 0 1 1 0 8 0 amappl9 136 357 0 356 1 0 1 1 0 8 0 amappl8 128 320 0 282 2 0 2 2 0 8 0 amappl7 120 177 0 163 1 0 1 1 0 8 0 amappl6 112 26 0 20 1 0 1 1 0 8 0 amappl5 104 328 0 316 1 0 1 1 0 8 0 amappl4 96 508 0 481 1 0 1 1 0 8 0 amappl3 88 106 0 101 1 0 1 1 0 8 0 amappl2 80 2045 0 1980 2 0 2 2 0 8 0 amappl1 72 16046 0 15624 23 14 9 17 0 8 0 amappl 80 809 0 765 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 19 0 2 1 0 1 1 0 8 0 uaddrrnd 24 365 0 349 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 365 0 349 1 0 1 1 0 8 0 vmmpekpl 168 6481 0 6452 2 0 2 2 0 8 0 vmmpepl 168 49889 0 47928 111 20 91 102 0 357 1 vmsppl 272 364 0 349 3 1 2 2 0 8 0 pdppl 4096 736 0 700 6 1 5 6 0 8 0 pvpl 32 157469 0 140076 172 2 170 170 0 265 19 pmappl 200 364 0 349 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 251 0 26 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805dac34b8,fffffd805dac35b0,fffffd80540c0b00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805dac34b8,9,fffffd80540c0b00,0,0,ffff80001d797eb0) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805dac34b8,0,ffff80001d79e328,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d797eb0,4,ffff80001d79e328,0,ffff80001d79e410) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d797eb0,ffff80001d79e3c0,ffff80001d79e410) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d79e490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e10, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805dac34b8,fffffd805dac35b0,fffffd80540c0b00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805dac34b8,9,fffffd80540c0b00,0,0,ffff80001d797eb0) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805dac34b8,0,ffff80001d79e328,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d797eb0,4,ffff80001d79e328,0,ffff80001d79e410) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d797eb0,ffff80001d79e3c0,ffff80001d79e410) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d79e490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1e10, count: -8