uvm_fault(0xfffffd806e8f8008, 0x0, 0, 2) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd806e8f8008, 0x0, 0, 2) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff800020e04ae0, count: 0 ddb{1}> trace memcpy() at memcpy+0x15 sbappendstream(fffffd806ead4af8,fffffd806ead4bf0,fffffd8077988e00) at sbappendstream+0x123 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd806ead4af8,9,fffffd8077988e00,0,0,ffff800020e40d50) at tcp_usrreq+0x227 sys/netinet/tcp_usrreq.c:323 sosend(fffffd806ead4af8,0,ffff800020e04d48,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40d50,4,ffff800020e04d48,0,ffff800020e04e30) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40d50,ffff800020e04de0,ffff800020e04e30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04eb0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04eb0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe80b0, count: -8 ddb{1}> show registers rdi 0 rsi 0xfffffd807489a000 rbp 0xffff800020e04a80 rbx 0x1 rdx 0x19c rcx 0x33 rax 0xffffffff819999ce sbcompress+0x1ae r8 0xffffffff81999ca4 sbappendstream+0x64 r9 0x5 r10 0x87e969b9fed2f69e r11 0 r12 0xfffffd8077988e00 r13 0xfffffd8064184600 r14 0x1 r15 0xfffffd806ead4bf0 rip 0xffffffff81ac2175 memcpy+0x15 cs 0x8 rflags 0x10207 __ALIGN_SIZE+0xf207 rsp 0xffff800020e04a08 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (sshd) pid=129451 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e40390,0xffff800020e3fc50 process=0xffff8000fffff378 user=0xffff800020dff000, vmspace=0xfffffd806e8f8008 estcpu=0, cpticks=1, pctcpu=0.1 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39853 471212 77438 0 7 0x2 syz-executor.1 11488 442549 0 0 3 0x14200 bored sosplice 61208 72483 77438 0 2 0x2 syz-executor.0 77438 295848 41353 0 2 0x2 syz-fuzzer 77438 353894 41353 0 3 0x4000082 nanosleep syz-fuzzer 77438 208842 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 369379 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 377265 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 25065 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 415774 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 146266 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 202123 41353 0 3 0x4000082 thrsleep syz-fuzzer 77438 53952 41353 0 3 0x4000082 kqread syz-fuzzer 41353 53546 16421 0 3 0x10008a pause ksh *16421 129451 28978 0 7 0x12 sshd 28733 260198 1 0 3 0x100083 ttyin getty 28978 174150 1 0 3 0x80 select sshd 63621 302813 57029 74 3 0x100092 bpf pflogd 57029 17164 1 0 3 0x80 netio pflogd 33926 484701 12841 73 3 0x100090 kqread syslogd 12841 29967 1 0 3 0x100082 netio syslogd 2290 171978 1 77 3 0x100090 poll dhclient 10096 506161 1 0 3 0x80 poll dhclient 42320 380508 0 0 3 0x14200 bored smr 33726 279699 0 0 3 0x14200 pgzero zerothread 97476 4980 0 0 3 0x14200 aiodoned aiodoned 29721 115215 0 0 3 0x14200 syncer update 11114 895 0 0 3 0x14200 cleaner cleaner 75855 375297 0 0 3 0x14200 reaper reaper 6438 523988 0 0 3 0x14200 pgdaemon pagedaemon 74682 515832 0 0 3 0x14200 bored crynlk 94 174614 0 0 3 0x14200 bored crypto 82193 427394 0 0 3 0x40014200 acpi0 acpi0 70914 379707 0 0 3 0x40014200 idle1 4328 430288 0 0 3 0x14200 bored softnet 6723 473184 0 0 3 0x14200 bored systqmp 34396 370604 0 0 3 0x14200 bored systq 84133 135574 0 0 3 0x40014200 bored softclock 84823 522051 0 0 3 0x40014200 idle0 1 272945 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 16421 (sshd) thread 0xffff800020e40d50 (129451) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8290c8b8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 #2 kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 #3 alltraps_kern_meltdown+0x7b #4 memcpy+0x15 #5 sbappendstream+0x123 sys/kern/uipc_socket2.c:665 #6 tcp_usrreq+0x227 sys/netinet/tcp_usrreq.c:323 #7 sosend+0x671 sys/kern/uipc_socket.c:555 #8 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #9 sys_write+0x83 sys/kern/sys_generic.c:285 #10 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #11 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff826ebad8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:543 #3 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #4 sys_write+0x83 sys/kern/sys_generic.c:285 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9553 6452K 7072K 78643K 11548 0 pcb 13 8K 8K 78643K 115 0 rtable 119 7K 8K 78643K 496 0 ifaddr 95 17K 18K 78643K 159 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1991 0 iov 0 0K 16K 78643K 94 0 mount 1 1K 1K 78643K 1 0 vnodes 1213 76K 77K 78643K 1552 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 164 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 815 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 559 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 62 0 in_multi 66 3K 3K 78643K 164 0 ether_multi 1 0K 0K 78643K 16 0 mrt 0 0K 0K 78643K 16 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 277 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 142 121K 126K 78643K 3632 0 UVM aobj 23 7K 7K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 103 0 NDP 16 0K 0K 78643K 36 0 temp 141 3871K 3944K 78643K 21105 0 kqueue 3 4K 8K 78643K 32 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 13 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 53 0 51 1 0 1 1 0 8 0 rtentry 112 97 0 55 2 0 2 2 0 8 0 unpcb 120 353 0 342 1 0 1 1 0 8 0 syncache 264 16 0 16 4 4 0 1 0 8 0 tcpqe 32 296 0 296 3 3 0 1 0 8 0 tcpcb 544 254 0 250 2 1 1 2 0 8 0 inpcb 296 1567 0 1558 3 1 2 2 0 8 1 rttmr 72 7 0 7 4 3 1 1 0 8 1 nd6 48 24 0 12 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 5 0 5 2 2 0 1 0 8 0 pffrag 232 2 0 1 2 1 1 1 0 482 0 pffrnode 88 2 0 1 2 1 1 1 0 8 0 pffrent 40 48 0 47 2 1 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 32 0 25 1 0 1 1 0 8 0 pfpktdelay 56 1 0 1 1 1 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 4 0 4 2 2 0 1 0 8 0 pfstitem 24 29 0 16 1 0 1 1 0 8 0 pfstkey 112 39 0 26 1 0 1 1 0 8 0 pfstate 328 34 0 21 3 0 3 3 0 8 0 pfrule 1360 35 0 22 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 367 0 159 16 3 13 15 0 8 0 art_table 32 369 0 159 2 0 2 2 0 8 0 art_node 16 95 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 15 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 162 0 152 1 0 1 1 0 8 0 shmpl 112 22 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2414 0 1019 89 0 89 89 0 8 0 ffsino 272 2414 0 1019 94 0 94 94 0 8 0 nchpl 144 3778 0 2182 60 0 60 60 0 8 0 uvmvnodes 72 2708 0 0 50 0 50 50 0 8 0 vnodes 208 2708 0 0 143 0 143 143 0 8 0 namei 1024 10924 0 10924 2 1 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 560 10 0 1 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 8 2 1 1 1 0 8 0 scxspl 192 11403 0 11403 12 11 1 5 0 8 1 plimitpl 152 82 0 74 1 0 1 1 0 8 0 sigapl 424 1025 0 994 4 0 4 4 0 8 0 futexpl 56 11403 0 11403 2 1 1 1 0 8 1 knotepl 112 123 0 104 1 0 1 1 0 8 0 kqueuepl 144 97 0 91 1 0 1 1 0 8 0 pipepl 304 178 0 168 4 3 1 2 0 8 0 fdescpl 496 1009 0 994 3 0 3 3 0 8 0 filepl 152 6194 0 6093 6 1 5 5 0 8 1 lockfpl 104 187 0 186 1 0 1 1 0 8 0 lockfspl 48 63 0 62 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 526 0 517 1 0 1 1 0 8 0 zombiepl 144 994 0 994 3 2 1 1 0 8 1 processpl 992 1025 0 994 6 1 5 5 0 8 0 procpl 624 2728 0 2688 4 0 4 4 0 8 0 sosppl 128 9 0 9 2 1 1 1 0 8 1 sockpl 400 1983 0 1963 7 3 4 4 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 173 0 0 21 0 21 21 0 8 0 mtagpl 96 50 0 0 2 0 2 2 0 8 0 mbufpl 256 391 0 0 22 0 22 22 0 8 0 bufpl 280 5170 0 148 359 0 359 359 0 8 0 anonpl 16 111517 0 95498 97 15 82 85 0 124 12 amapchunkpl 152 5810 0 5660 17 6 11 14 0 158 3 amappl16 192 5051 0 4117 74 19 55 60 0 8 8 amappl15 184 335 0 333 1 0 1 1 0 8 0 amappl14 176 84 0 80 1 0 1 1 0 8 0 amappl13 168 43 0 40 1 0 1 1 0 8 0 amappl12 160 6 0 4 1 0 1 1 0 8 0 amappl11 152 122 0 106 1 0 1 1 0 8 0 amappl10 144 349 0 344 1 0 1 1 0 8 0 amappl9 136 382 0 381 1 0 1 1 0 8 0 amappl8 128 401 0 363 2 0 2 2 0 8 0 amappl7 120 432 0 417 1 0 1 1 0 8 0 amappl6 112 88 0 81 1 0 1 1 0 8 0 amappl5 104 858 0 841 1 0 1 1 0 8 0 amappl4 96 578 0 546 1 0 1 1 0 8 0 amappl3 88 145 0 139 1 0 1 1 0 8 0 amappl2 80 7092 0 7026 2 0 2 2 0 8 0 amappl1 72 31727 0 31298 23 13 10 18 0 8 0 amappl 80 3026 0 2976 2 0 2 2 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 24 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1019 0 995 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1019 0 995 1 0 1 1 0 8 0 vmmpekpl 168 11683 0 11646 2 0 2 2 0 8 0 vmmpepl 168 129843 0 127822 171 41 130 130 0 357 32 vmsppl 368 1018 0 995 3 0 3 3 0 8 0 pdppl 4096 2045 0 1999 8 1 7 7 0 8 0 pvpl 32 323932 0 304854 220 26 194 201 0 265 25 pmappl 232 1018 0 995 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 283 0 12 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82765ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_cmp4(cd35f,cd360) at __sanitizer_cov_trace_cmp4+0x44 kd_curproc sys/dev/kcov.c:411 [inline] __sanitizer_cov_trace_cmp4(cd35f,cd360) at __sanitizer_cov_trace_cmp4+0x44 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(cd35f,cd360) at __sanitizer_cov_trace_cmp4+0x44 sys/dev/kcov.c:135 __mp_lock(ffffffff8290c6b0) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8290c6b0) at __mp_lock+0x139 sys/kern/kern_lock.c:147 pageflttrap(ffff8000230ea580,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 usertrap(ffff8000230ea580) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7fffffab50, count: -8 ddb{0}> machine ddbcpu 1 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{1}> trace memcpy() at memcpy+0x15 sbappendstream(fffffd806ead4af8,fffffd806ead4bf0,fffffd8077988e00) at sbappendstream+0x123 sys/kern/uipc_socket2.c:665 tcp_usrreq(fffffd806ead4af8,9,fffffd8077988e00,0,0,ffff800020e40d50) at tcp_usrreq+0x227 sys/netinet/tcp_usrreq.c:323 sosend(fffffd806ead4af8,0,ffff800020e04d48,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40d50,4,ffff800020e04d48,0,ffff800020e04e30) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40d50,ffff800020e04de0,ffff800020e04e30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04eb0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04eb0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe80b0, count: -8