uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e uvmfault_amapcopy sys/uvm/uvm_fault.c:242 [inline] uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e sys/uvm/uvm_fault.c:559 pageflttrap(ffff800021efbab0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800021efbab0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x4b sys_connect(ffff800020e23128,ffff800021efbc78,ffff800021efbcc0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff800021efbd40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021efbd40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc9148e10e0, count: 243 End of stack trace. Stopped at db_enter+0x18: addq $0x8,%rsp ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 yield() at yield+0x77 sys/kern/sched_bsd.c:304 pool_get(ffffffff828e4f58,1) at pool_get+0x19c sys/kern/subr_pool.c:588 uvm_mapent_alloc(fffffd807efff450,0) at uvm_mapent_alloc+0x2d2 sys/uvm/uvm_map.c:1751 uvm_map_clip_end(fffffd807efff450,fffffd806ca13b30,20010000) at uvm_map_clip_end+0x5d sys/uvm/uvm_map.c:4769 amap_copy(fffffd807efff450,fffffd806ca13b30,2,1,20000000,20000001) at amap_copy+0x53b sys/uvm/uvm_amap.c:530 uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e uvmfault_amapcopy sys/uvm/uvm_fault.c:242 [inline] uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e sys/uvm/uvm_fault.c:559 pageflttrap(ffff800021efbab0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800021efbab0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x4b sys_connect(ffff800020e23128,ffff800021efbc78,ffff800021efbcc0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff800021efbd40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021efbd40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc9148e10e0, count: -14 ddb{0}> show registers rdi 0 rsi 0x3ffff acpi_pdirpa+0x2be67 rbp 0xffff800021efb530 rbx 0x2 rdx 0x40000 acpi_pdirpa+0x2be68 rcx 0xffff800023102000 rax 0xffff800000ad9580 r8 0xffffffff821bf62f kprintf+0x16f r9 0x1 r10 0x2 r11 0xd5a1ba80d0f60c5e r12 0x1 r13 0xfffffd806a072000 r14 0xffff800020e23128 r15 0x3 rip 0xffffffff81885bb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021efb520 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=41767 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e23ae8,0xffffffff8289bb10 process=0xffff800020e08f80 user=0xffff800021ef6000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=16, pctcpu=0.0 user=0, sys=16, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 21959 423508 3544 0 2 0 syz-executor.1 *21959 41767 3544 0 7 0x4000000 syz-executor.1 48722 363850 0 0 3 0x14200 bored sosplice 3544 363639 77611 0 2 0x482 syz-executor.1 16439 83870 77611 0 2 0x482 syz-executor.0 77611 521748 4356 0 3 0x82 thrsleep syz-fuzzer 77611 316460 4356 0 2 0x4000482 syz-fuzzer 77611 436647 4356 0 3 0x4000082 thrsleep syz-fuzzer 77611 218804 4356 0 2 0x4000482 syz-fuzzer 77611 73646 4356 0 3 0x4000082 thrsleep syz-fuzzer 77611 208975 4356 0 3 0x4000082 thrsleep syz-fuzzer 77611 127589 4356 0 3 0x4000082 kqread syz-fuzzer 77611 87944 4356 0 3 0x4000082 thrsleep syz-fuzzer 77611 293973 4356 0 3 0x4000082 thrsleep syz-fuzzer 77611 17312 4356 0 3 0x4000082 thrsleep syz-fuzzer 4356 412369 96843 0 3 0x10008a pause ksh 96843 281784 17261 0 3 0x92 select sshd 83540 473904 1 0 3 0x100083 ttyin getty 17261 74471 1 0 3 0x80 select sshd 38171 489756 89177 74 3 0x100092 bpf pflogd 89177 343168 1 0 3 0x80 netio pflogd 34392 226750 16522 73 7 0x100090 syslogd 16522 113127 1 0 3 0x100082 netio syslogd 81845 375708 1 77 3 0x100090 poll dhclient 72083 323626 1 0 3 0x80 poll dhclient 58863 327382 0 0 2 0x14200 smr 30089 209828 0 0 3 0x14200 pgzero zerothread 6807 82602 0 0 3 0x14200 aiodoned aiodoned 25109 164870 0 0 3 0x14200 syncer update 90014 111874 0 0 3 0x14200 cleaner cleaner 65698 291637 0 0 3 0x14200 reaper reaper 62740 128874 0 0 3 0x14200 pgdaemon pagedaemon 70157 378224 0 0 3 0x14200 bored crynlk 23233 111147 0 0 3 0x14200 bored crypto 87526 281544 0 0 3 0x40014200 acpi0 acpi0 46890 176111 0 0 3 0x40014200 idle1 12177 344230 0 0 2 0x14200 softnet 47147 514337 0 0 2 0x14200 systqmp 97289 169610 0 0 3 0x14200 bored systq 48333 252690 0 0 2 0x40014200 softclock 80187 24678 0 0 3 0x40014200 idle0 1 62882 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 21959 (syz-executor.1) thread 0xffff800020e23128 (41767) exclusive rwlock vmmaplk r = 0 (0xfffffd807efff468) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 vm_map_lock_ln+0x111 sys/uvm/uvm_map.c:5445 #3 uvmfault_lookup+0xbe sys/uvm/uvm_fault.c:1442 #4 uvm_fault+0xbbd uvmfault_amapcopy sys/uvm/uvm_fault.c:232 [inline] #4 uvm_fault+0xbbd sys/uvm/uvm_fault.c:559 #5 pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 #6 kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 #7 alltraps_kern_meltdown+0x7b #8 copyin+0x4b #9 sys_connect+0x9b sys/kern/uipc_syscalls.c:360 #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 (0xffffffff8270caf8) #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 sys_connect+0x6a sys/kern/uipc_syscalls.c:355 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8289dd48) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:570 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9533 6419K 7316K 78643K 11536 0 pcb 13 8K 8K 78643K 45 0 rtable 102 12K 14K 78643K 309 0 ifaddr 72 14K 14K 78643K 112 0 counters 41 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1512 0 iov 0 0K 24K 78643K 60 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1485 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 72 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 341 0 sigio 0 0K 0K 78643K 2 0 proc 62 63K 95K 78643K 449 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 34 0 in_multi 45 2K 3K 78643K 77 0 ether_multi 1 0K 0K 78643K 8 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 225 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 132 72K 88K 78643K 1967 0 UVM aobj 13 4K 4K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 26 0 NDP 12 0K 0K 78643K 24 0 temp 103 3855K 3919K 78643K 10892 0 kqueue 3 4K 10K 78643K 19 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 7 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 54 0 17 2 0 2 2 0 8 0 unpcb 120 121 0 111 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 232 0 232 2 2 0 1 0 8 0 tcpcb 544 155 0 150 1 0 1 1 0 8 0 inpcb 296 509 0 500 3 2 1 2 0 8 0 nd6 48 9 0 5 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 swfcl 56 1 0 0 1 0 1 1 0 8 0 ppxss 1128 3 0 3 2 2 0 1 0 8 0 pffrag 232 3 0 3 2 1 1 1 0 482 1 pffrnode 88 3 0 3 2 1 1 1 0 8 1 pffrent 40 53 0 53 2 1 1 1 0 8 1 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 5 0 4 1 0 1 1 0 8 0 pftag 88 5 0 4 1 0 1 1 0 8 0 pfstitem 24 47 0 19 1 0 1 1 0 8 0 pfstkey 112 47 0 19 2 0 2 2 0 8 0 pfstate 328 47 0 19 4 0 4 4 0 8 0 pfrule 1360 28 0 19 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 208 0 59 12 1 11 12 0 8 0 art_table 32 209 0 59 2 0 2 2 0 8 0 art_node 16 51 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 6 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 62 0 52 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1851 0 449 90 1 89 89 0 8 0 ffsino 272 1851 0 449 94 0 94 94 0 8 0 nchpl 144 2484 0 875 60 0 60 60 0 8 0 uvmvnodes 72 2116 0 0 39 0 39 39 0 8 0 vnodes 208 2116 0 0 112 0 112 112 0 8 0 namei 1024 6782 0 6782 5 4 1 1 0 8 1 percpumem 16 38 0 7 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 scxspl 192 7584 0 7584 9 8 1 7 0 8 1 plimitpl 152 39 0 31 1 0 1 1 0 8 0 sigapl 424 557 0 525 4 0 4 4 0 8 0 futexpl 56 4712 0 4712 5 4 1 1 0 8 1 knotepl 112 79 0 60 1 0 1 1 0 8 0 kqueuepl 144 48 0 46 1 0 1 1 0 8 0 pipelkpl 48 113 0 103 1 0 1 1 0 8 0 pipepl 120 226 0 207 1 0 1 1 0 8 0 fdescpl 496 541 0 525 3 0 3 3 0 8 0 filepl 152 2916 0 2814 6 1 5 5 0 8 1 lockfpl 104 76 0 75 1 0 1 1 0 8 0 lockfspl 48 27 0 26 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 242 0 233 1 0 1 1 0 8 0 zombiepl 144 536 0 535 2 1 1 1 0 8 0 processpl 984 557 0 524 5 0 5 5 0 8 0 procpl 624 1168 0 1125 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 4 0 4 2 2 0 1 0 8 0 sockpl 400 672 0 651 8 5 3 4 0 8 0 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 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 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 171 0 0 21 0 21 21 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 255 0 0 16 0 16 16 0 8 0 bufpl 280 4111 0 135 284 0 284 284 0 8 0 anonpl 16 60463 0 43860 78 10 68 77 0 124 0 amapchunkpl 152 3636 0 3482 30 22 8 20 0 158 0 amappl16 192 1986 0 1086 47 1 46 47 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 317 0 307 1 0 1 1 0 8 0 amappl13 168 28 0 25 1 0 1 1 0 8 0 amappl12 160 300 0 296 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 16 0 12 1 0 1 1 0 8 0 amappl9 136 372 0 371 1 0 1 1 0 8 0 amappl8 128 351 0 319 2 0 2 2 0 8 0 amappl7 120 115 0 104 1 0 1 1 0 8 0 amappl6 112 27 0 20 1 0 1 1 0 8 0 amappl5 104 309 0 292 1 0 1 1 0 8 0 amappl4 96 642 0 607 1 0 1 1 0 8 0 amappl3 88 269 0 262 1 0 1 1 0 8 0 amappl2 80 3195 0 3119 2 0 2 2 0 8 0 amappl1 72 20930 0 20481 23 13 10 18 0 8 0 amappl 80 1430 0 1382 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 546 0 525 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 546 0 525 1 0 1 1 0 8 0 vmmpekpl 168 7801 0 7766 2 0 2 2 0 8 0 vmmpepl 168 70799 0 68711 121 24 97 112 0 357 3 vmsppl 368 545 0 525 2 0 2 2 0 8 0 pdppl 4096 1099 0 1055 6 0 6 6 0 8 0 pvpl 32 198759 0 179281 192 32 160 183 0 265 1 pmappl 232 545 0 525 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 272 0 14 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 yield() at yield+0x77 sys/kern/sched_bsd.c:304 pool_get(ffffffff828e4f58,1) at pool_get+0x19c sys/kern/subr_pool.c:588 uvm_mapent_alloc(fffffd807efff450,0) at uvm_mapent_alloc+0x2d2 sys/uvm/uvm_map.c:1751 uvm_map_clip_end(fffffd807efff450,fffffd806ca13b30,20010000) at uvm_map_clip_end+0x5d sys/uvm/uvm_map.c:4769 amap_copy(fffffd807efff450,fffffd806ca13b30,2,1,20000000,20000001) at amap_copy+0x53b sys/uvm/uvm_amap.c:530 uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e uvmfault_amapcopy sys/uvm/uvm_fault.c:242 [inline] uvm_fault(fffffd807efff450,20000000,0,1) at uvm_fault+0xc3e sys/uvm/uvm_fault.c:559 pageflttrap(ffff800021efbab0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800021efbab0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b copyin() at copyin+0x4b sys_connect(ffff800020e23128,ffff800021efbc78,ffff800021efbcc0) at sys_connect+0x9b sys/kern/uipc_syscalls.c:360 syscall(ffff800021efbd40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021efbd40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc9148e10e0, count: -14 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:411 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:79 __mp_acquire_count(ffffffff8289db40,2) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020e54d00,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e54d00,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e54d00,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806e904ea0,118,ffffffff82447b16,905) at tsleep+0x1cc sys/kern/kern_synch.c:155 kqueue_sleep(fffffd806e904ea0,ffff800020e55190) at kqueue_sleep+0x101 sys/kern/kern_event.c:884 kqueue_scan(fffffd806e904ea0,40,1e1cac857800,ffff800020e55190,ffff800020e41870,ffff800020e551dc) at kqueue_scan+0x2b6 sys/kern/kern_event.c:927 sys_kevent(ffff800020e41870,ffff800020e55250,ffff800020e552a0) at sys_kevent+0x464 sys/kern/kern_event.c:639 syscall(ffff800020e55320) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e55320) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcdde0, count: -14