"*"*uvm_fault(0xfffffd806bc0aaa0, 0x0, 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(0xfffffd806bc0aaa0, 0x0, 0, 2) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff80001d71e1a0, count: 0 ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805da6a4b8,fffffd805da6a5b0,fffffd805c9b7d00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805da6a4b8,9,fffffd805c9b7d00,0,0,ffff80001d717010) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805da6a4b8,0,ffff80001d71e3f8,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d717010,4,ffff80001d71e3f8,0,ffff80001d71e4e0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d717010,ffff80001d71e490,ffff80001d71e4e0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d71e560) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc95b0, count: -8 ddb> show registers rdi 0 rsi 0xfffffd805c9b7d70 rbp 0xffff80001d71e140 rbx 0x1 rdx 0x90 rcx 0x12 rax 0 r8 0xffffffff81ff6534 sbappendstream+0x64 r9 0x5 r10 0xbfafede9228d49ba r11 0 r12 0xfffffd805c9b7d00 r13 0xfffffd805c9b7e00 r14 0x1 r15 0xfffffd805da6a5b0 rip 0xffffffff81b8bb15 memcpy+0x15 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80001d71e0c8 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (sshd) pid=336784 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d718390,0xffff80001d717500 process=0xffff8000ffff8ae0 user=0xffff80001d719000, vmspace=0xfffffd806bc0aaa0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 79435 484014 17626 0 2 0 syz-executor.1 79435 129047 17626 0 3 0x4000080 fsleep syz-executor.1 28932 129754 0 0 3 0x14200 bored sosplice 17626 229926 33386 0 3 0x82 nanosleep syz-executor.1 47896 456874 33386 0 2 0x2 syz-executor.0 33386 197443 39091 0 3 0x82 thrsleep syz-fuzzer 33386 229190 39091 0 2 0x4000002 syz-fuzzer 33386 342562 39091 0 3 0x4000082 thrsleep syz-fuzzer 33386 15511 39091 0 3 0x4000082 thrsleep syz-fuzzer 33386 105563 39091 0 3 0x4000082 thrsleep syz-fuzzer 33386 443393 39091 0 2 0x4000002 syz-fuzzer 33386 418160 39091 0 3 0x4000082 thrsleep syz-fuzzer 39091 33147 25025 0 3 0x10008a pause ksh *25025 336784 59847 0 7 0x12 sshd 79989 303615 1 0 3 0x100083 ttyopn getty 59847 494765 1 0 3 0x80 select sshd 73335 300281 65325 73 3 0x100090 kqread syslogd 65325 75366 1 0 3 0x100082 netio syslogd 22839 501813 1 77 3 0x100090 poll dhclient 28292 16665 1 0 3 0x80 poll dhclient 56250 145354 0 0 3 0x14200 bored smr 44938 44047 0 0 2 0x14200 zerothread 66047 232643 0 0 3 0x14200 aiodoned aiodoned 47600 421992 0 0 3 0x14200 syncer update 41557 413707 0 0 3 0x14200 cleaner cleaner 59900 131772 0 0 3 0x14200 reaper reaper 52920 272546 0 0 3 0x14200 pgdaemon pagedaemon 65481 397517 0 0 3 0x14200 bored crynlk 61135 230068 0 0 3 0x14200 bored crypto 70251 299933 0 0 3 0x40014200 acpi0 acpi0 27122 414964 0 0 3 0x14200 bored softnet 59565 115619 0 0 3 0x14200 bored systqmp 95852 485087 0 0 3 0x14200 bored systq 26292 186068 0 0 3 0x40014200 bored softclock 1490 457701 0 0 3 0x40014200 idle0 1 228012 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 9498 6342K 6729K 78643K 10991 0 pcb 13 8K 8K 78643K 73 0 rtable 109 5K 7K 78643K 384 0 ifaddr 83 17K 17K 78643K 156 0 counters 21 16K 16K 78643K 26 0 ioctlops 0 0K 4K 78643K 102 0 iov 0 0K 16K 78643K 60 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1373 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 91 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 327 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 63K 78643K 386 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 22 0 in_multi 73 3K 3K 78643K 109 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 199 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 135 72K 72K 78643K 1592 0 UVM aobj 14 4K 4K 78643K 16 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 12 0K 0K 78643K 21 0 temp 97 3848K 3912K 78643K 6342 0 kqueue 3 4K 9K 78643K 19 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 27 0 25 1 0 1 1 0 8 0 rtentry 112 49 0 8 2 0 2 2 0 8 0 unpcb 120 821 0 813 1 0 1 1 0 8 0 syncache 264 8 0 8 3 2 1 1 0 8 1 tcpqe 32 81 0 81 1 1 0 1 0 8 0 tcpcb 544 135 0 131 1 0 1 1 0 8 0 ipq 40 68 0 67 1 0 1 1 0 8 0 ipqe 40 136 0 135 1 0 1 1 0 8 0 inpcb 280 581 0 574 3 1 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 69 0 65 2 1 1 1 0 8 0 pftag 88 12 0 12 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 2 0 0 1 0 1 1 0 8 0 pfstate 328 1 0 0 1 0 1 1 0 8 0 pfrule 1360 28 0 14 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 48 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 2 1 1 1 0 8 0 semapl 112 89 0 79 1 0 1 1 0 8 0 shmpl 112 14 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1856 0 463 88 0 88 88 0 8 0 ffsino 240 1856 0 463 83 0 83 83 0 8 0 nchpl 144 2491 0 901 60 0 60 60 0 8 0 uvmvnodes 72 1999 0 0 37 0 37 37 0 8 0 vnodes 208 1999 0 0 106 0 106 106 0 8 0 namei 1024 6488 0 6488 3 2 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 8 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 20 0 18 1 0 1 1 0 8 0 scxspl 192 7374 0 7374 1 0 1 1 0 8 1 plimitpl 152 38 0 31 1 0 1 1 0 8 0 sigapl 424 514 0 485 4 0 4 4 0 8 0 futexpl 56 7365 0 7364 3 2 1 1 0 8 0 knotepl 112 82 0 63 1 0 1 1 0 8 0 kqueuepl 144 64 0 62 1 0 1 1 0 8 0 pipelkpl 16 128 0 118 1 0 1 1 0 8 0 pipepl 120 256 0 237 1 0 1 1 0 8 0 fdescpl 432 499 0 485 2 0 2 2 0 8 0 filepl 120 3578 0 3482 4 0 4 4 0 8 1 lockfpl 104 80 0 79 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 52 0 42 1 0 1 1 0 8 0 ucredpl 96 279 0 272 1 0 1 1 0 8 0 zombiepl 144 485 0 485 1 0 1 1 0 8 1 processpl 920 514 0 485 4 0 4 4 0 8 0 procpl 624 873 0 837 5 1 4 4 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 1431 0 1414 7 3 4 4 0 8 2 mcl64k 65536 38 0 38 1 0 1 1 0 8 1 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 4 0 4 2 1 1 1 0 8 1 mcl9k 9216 6 0 6 4 3 1 1 0 8 1 mcl8k 8192 15 0 15 3 2 1 1 0 8 1 mcl4k 4096 47 0 47 3 2 1 1 0 8 1 mcl2k2 2112 4 0 4 2 1 1 1 0 8 1 mcl2k 2048 74507 0 74454 19 11 8 16 0 8 0 mtagpl 80 28 0 2 2 1 1 1 0 8 0 mbufpl 256 129865 0 129712 170 156 14 166 0 8 1 bufpl 280 5000 0 128 348 0 348 348 0 8 0 anonpl 16 59968 0 44156 82 16 66 77 0 107 2 amapchunkpl 152 2075 0 1945 14 6 8 13 0 158 1 amappl16 192 2672 0 1763 60 12 48 53 0 8 2 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 25 0 19 1 0 1 1 0 8 0 amappl13 168 27 0 24 1 0 1 1 0 8 0 amappl12 160 15 0 13 1 0 1 1 0 8 0 amappl11 152 199 0 189 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 362 0 361 1 0 1 1 0 8 0 amappl8 128 323 0 285 2 0 2 2 0 8 0 amappl7 120 115 0 102 1 0 1 1 0 8 0 amappl6 112 175 0 169 2 1 1 1 0 8 0 amappl5 104 455 0 443 1 0 1 1 0 8 0 amappl4 96 428 0 399 1 0 1 1 0 8 0 amappl3 88 118 0 112 1 0 1 1 0 8 0 amappl2 80 3129 0 3064 2 0 2 2 0 8 0 amappl1 72 18474 0 18058 23 13 10 17 0 8 0 amappl 80 1099 0 1055 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 15 0 2 1 0 1 1 0 8 0 uaddrrnd 24 507 0 487 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 507 0 487 1 0 1 1 0 8 0 vmmpekpl 168 6971 0 6942 2 0 2 2 0 8 0 vmmpepl 168 64832 0 62834 120 27 93 109 0 357 4 vmsppl 272 506 0 487 3 1 2 2 0 8 0 pdppl 4096 1020 0 980 7 1 6 6 0 8 0 pvpl 32 185763 0 166978 185 24 161 183 0 265 9 pmappl 200 506 0 487 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 418 0 184 11 2 9 11 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805da6a4b8,fffffd805da6a5b0,fffffd805c9b7d00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805da6a4b8,9,fffffd805c9b7d00,0,0,ffff80001d717010) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805da6a4b8,0,ffff80001d71e3f8,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d717010,4,ffff80001d71e3f8,0,ffff80001d71e4e0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d717010,ffff80001d71e490,ffff80001d71e4e0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d71e560) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc95b0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x15 sbappendstream(fffffd805da6a4b8,fffffd805da6a5b0,fffffd805c9b7d00) at sbappendstream+0x105 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd805da6a4b8,9,fffffd805c9b7d00,0,0,ffff80001d717010) at tcp_usrreq+0x225 sys/netinet/tcp_usrreq.c:323 sosend(fffffd805da6a4b8,0,ffff80001d71e3f8,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d717010,4,ffff80001d71e3f8,0,ffff80001d71e4e0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d717010,ffff80001d71e490,ffff80001d71e4e0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d71e560) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc95b0, count: -8