uvm_fault(0xfffffd806e8f0b88, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd806e8f0b88, 0x0, 0, 1) -> e memcpy() at memcpy+0x15 end trace frame: 0xffff800020ea7eb0, count: 0 ddb{0}> trace memcpy() at memcpy+0x15 tcp_usrreq(fffffd806eadeaf8,9,fffffd807c08c400,0,0,ffff800020ddc008) at tcp_usrreq+0xa55 sosend(fffffd806eadeaf8,0,ffff800020ea8068,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddc008,3,ffff800020ea8068,0,ffff800020ea8150) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddc008,ffff800020ea8100,ffff800020ea8150) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea81d0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea81d0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0001e33c8, count: -7 ddb{0}> show registers rdi 0xfffffd80666db9b0 rsi 0 rbp 0xffff800020ea7e00 rbx 0xfffffd806f279100 rdx 0x28 rcx 0x5 rax 0xffffffff81a38b00 tcp_output+0x16c0 r8 0xffffffff81a3802a tcp_output+0xbea r9 0x5 r10 0xb201c68eea320e1 r11 0xfffffd80666db9b0 r12 0xfffffd80666db900 r13 0x28 r14 0x28 r15 0x18 rip 0xffffffff81696595 memcpy+0x15 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800020ea7c78 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-fuzzer) pid=509304 stat=onproc flags process=2 proc=4000000 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc278,0xffff800020dddd58 process=0xffff8000fffff378 user=0xffff800020ea3000, vmspace=0xfffffd806e8f0b88 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23685 2734 11817 0 3 0x82 piperd syz-executor.1 4608 497898 11817 0 3 0x82 nanosleep syz-executor.0 11817 449135 62282 0 7 0x2 syz-fuzzer 11817 437411 62282 0 3 0x4000082 nanosleep syz-fuzzer 11817 515574 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 168024 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 208266 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 104046 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 437026 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 373808 62282 0 3 0x4000082 thrsleep syz-fuzzer 11817 461627 62282 0 3 0x4000082 kqread syz-fuzzer *11817 509304 62282 0 7 0x4000002 syz-fuzzer 62282 81828 74126 0 3 0x10008a pause ksh 74126 433641 34074 0 3 0x92 select sshd 68481 339521 1 0 3 0x100083 ttyin getty 34074 49240 1 0 3 0x80 select sshd 97430 245652 17141 74 3 0x100092 bpf pflogd 17141 220988 1 0 3 0x80 netio pflogd 77427 167690 66249 73 3 0x100090 kqread syslogd 66249 343574 1 0 3 0x100082 netio syslogd 92392 356361 1 77 3 0x100090 poll dhclient 77170 266805 1 0 3 0x80 poll dhclient 8659 413442 0 0 3 0x14200 bored smr 77255 347296 0 0 3 0x14200 pgzero zerothread 13720 425464 0 0 3 0x14200 aiodoned aiodoned 61638 43803 0 0 3 0x14200 syncer update 52135 180634 0 0 3 0x14200 cleaner cleaner 79594 249946 0 0 3 0x14200 reaper reaper 66297 289867 0 0 3 0x14200 pgdaemon pagedaemon 81290 20237 0 0 3 0x14200 bored crynlk 11328 63652 0 0 3 0x14200 bored crypto 49309 207901 0 0 3 0x40014200 acpi0 acpi0 36776 426357 0 0 3 0x40014200 idle1 71674 156841 0 0 3 0x14200 bored softnet 36122 263738 0 0 3 0x14200 bored systqmp 37808 97801 0 0 3 0x14200 bored systq 25174 91898 0 0 3 0x40014200 bored softclock 4399 75661 0 0 3 0x40014200 idle0 1 83708 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 11817 (syz-fuzzer) thread 0xffff800020ddc008 (509304) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828eb278) #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 tcp_usrreq+0xa55 #6 sosend+0x671 sys/kern/uipc_socket.c:555 #7 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #8 sys_write+0x83 sys/kern/sys_generic.c:285 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff82728958) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9492 6421K 7064K 78643K 13261 0 pcb 13 8K 8K 78643K 402 0 rtable 116 5K 6K 78643K 281 0 ifaddr 58 13K 13K 78643K 96 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1721 0 iov 0 0K 12K 78643K 35 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 77K 78643K 1849 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 117 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1221 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 465 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 37 2K 2K 78643K 95 0 ether_multi 1 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 232 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 128 39K 39K 78643K 4663 0 UVM aobj 18 2K 2K 78643K 21 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 8 0K 0K 78643K 20 0 temp 117 3872K 3936K 78643K 12658 0 kqueue 3 4K 8K 78643K 22 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 61 0 15 2 0 2 2 0 8 0 unpcb 120 768 0 758 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 68 0 64 1 0 1 1 0 8 0 inpcb 296 1268 0 1261 6 5 1 2 0 8 0 nd6 48 17 0 10 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 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 16 0 13 2 1 1 1 0 8 0 pfstitem 24 18 0 16 1 0 1 1 0 8 0 pfstkey 112 18 0 16 1 0 1 1 0 8 0 pfstate 328 18 0 16 2 1 1 2 0 8 0 pfrule 1360 28 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 60 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 78 0 38 1 0 1 1 0 8 0 semapl 112 115 0 105 1 0 1 1 0 8 0 shmpl 112 18 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3242 0 1835 89 0 89 89 0 8 0 ffsino 272 3242 0 1835 96 2 94 95 0 8 0 nchpl 144 6053 0 4444 60 0 60 60 0 8 0 uvmvnodes 72 3768 0 0 69 0 69 69 0 8 0 vnodes 208 3768 0 0 199 0 199 199 0 8 0 namei 1024 15339 0 15339 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 4 0 2 2 1 1 1 0 8 0 scxspl 192 14942 0 14942 8 7 1 7 0 8 1 plimitpl 152 41 0 32 1 0 1 1 0 8 0 sigapl 424 1436 0 1405 4 0 4 4 0 8 0 futexpl 56 19051 0 19051 1 0 1 1 0 8 1 knotepl 112 78 0 59 1 0 1 1 0 8 0 kqueuepl 144 508 0 506 1 0 1 1 0 8 0 pipepl 304 147 0 137 3 2 1 2 0 8 0 fdescpl 496 1421 0 1405 3 0 3 3 0 8 0 filepl 152 8433 0 8331 7 2 5 5 0 8 1 lockfpl 104 78 0 77 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 324 0 315 1 0 1 1 0 8 0 zombiepl 144 1406 0 1405 1 0 1 1 0 8 0 processpl 992 1436 0 1405 5 1 4 5 0 8 0 procpl 624 3906 0 3866 4 0 4 4 0 8 0 sockpl 400 2057 0 2038 11 8 3 4 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 354 0 0 22 9 13 22 0 8 0 mtagpl 96 15 0 0 1 0 1 1 0 8 0 mbufpl 256 453 0 0 14 0 14 14 0 8 0 mbufpl: pool(0xffffffff82907dc0:mbufpl): free list modified: page 0xfffffd807c095000; item ordinal 5; addr 0xfffffd807c095400 (p 0xfffffd8077faa000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd807c095000; item ordinal 5; addr 0xfffffd807c095400 (p 0xfffffd8077faa000); offset 0x0=0x0 mbufpl: pool(0xffffffff82907dc0:mbufpl): page inconsistency: page 0xfffffd807c095000; item ordinal 6; addr 0xaec10fe7de2abcda bufpl 280 5059 0 134 352 0 352 352 0 8 0 anonpl 16 127647 0 111625 72 2 70 71 0 124 0 amapchunkpl 152 7168 0 7036 8 1 7 8 0 158 0 amappl16 192 6358 0 5386 50 0 50 50 0 8 1 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 22 0 19 1 0 1 1 0 8 0 amappl13 168 1176 0 1170 1 0 1 1 0 8 0 amappl12 160 3 0 3 1 1 0 1 0 8 0 amappl11 152 55 0 40 1 0 1 1 0 8 0 amappl10 144 30 0 21 1 0 1 1 0 8 0 amappl9 136 389 0 388 1 0 1 1 0 8 0 amappl8 128 378 0 338 2 0 2 2 0 8 0 amappl7 120 127 0 113 1 0 1 1 0 8 0 amappl6 112 26 0 22 1 0 1 1 0 8 0 amappl5 104 1316 0 1300 1 0 1 1 0 8 0 amappl4 96 1635 0 1605 1 0 1 1 0 8 0 amappl3 88 123 0 118 1 0 1 1 0 8 0 amappl2 80 10382 0 10308 2 0 2 2 0 8 0 amappl1 72 50374 0 49897 23 13 10 18 0 8 0 amappl 80 4139 0 4095 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 20 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1423 0 1405 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1423 0 1405 1 0 1 1 0 8 0 vmmpekpl 168 13501 0 13467 2 0 2 2 0 8 0 vmmpepl 168 186787 0 184601 136 40 96 115 0 357 0 vmsppl 368 1422 0 1405 2 0 2 2 0 8 0 pdppl 4096 2853 0 2812 7 1 6 6 0 8 0 pvpl 32 600142 0 580859 186 21 165 171 0 265 0 pmappl 232 1422 0 1405 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 23 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+0x15 tcp_usrreq(fffffd806eadeaf8,9,fffffd807c08c400,0,0,ffff800020ddc008) at tcp_usrreq+0xa55 sosend(fffffd806eadeaf8,0,ffff800020ea8068,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddc008,3,ffff800020ea8068,0,ffff800020ea8150) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddc008,ffff800020ea8100,ffff800020ea8150) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea81d0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea81d0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0001e33c8, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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 end of kernel end trace frame: 0xc002738618, count: -3