*cpu1: uvm_fault(0xfffffd806c4ffdd8, 0x2b0, 0, 1) -> e ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7ef74ebe1ba0, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003480d270 rbx 0 rdx 0 rcx 0xffff800032b94538 rax 0x3a r8 0xffff80003480d1a0 r9 0 r10 0x5758c34911a078af r11 0x5e0c45feeb42882 r12 0 r13 0 r14 0xffff800032b94538 r15 0 rip 0xffffffff810ac3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003480d1f0 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb{0}> show proc PROC (syz-executor) tid=294530 pid=72735 tcnt=3 stat=onproc flags process=0 proc=0 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800032b95468,0xffff800032b95700 process=0xffff800034402448 user=0xffff800034808000, vmspace=0xfffffd806c4ffdd8 estcpu=36, cpticks=2, pctcpu=0.0, user=1, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *72735 294530 33577 0 7 0 syz-executor 72735 371026 33577 0 7 0x4000000 syz-executor 72735 469787 33577 0 3 0x4000000 vm_terminate syz-executor 54848 290307 90004 0 2 0 syz-executor 54848 223801 90004 0 3 0x4000080 fsleep syz-executor 80756 63573 89643 0 2 0 syz-executor 80756 422673 89643 0 3 0x4000080 bell syz-executor 82246 291180 85460 0 2 0 syz-executor 82246 274181 85460 0 3 0x4000080 piperd syz-executor 99021 144575 27480 0 2 0 syz-executor 99021 426563 27480 0 3 0x4000080 fsleep syz-executor 99021 481484 27480 0 3 0x4000080 fsleep syz-executor 87885 96465 2446 0 3 0x80 nanoslp syz-executor 87885 434686 2446 0 3 0x4000080 sbwait syz-executor 90004 347474 77099 0 3 0x82 nanoslp syz-executor 89643 29633 77099 0 3 0x82 nanoslp syz-executor 33577 122250 77099 0 3 0x82 nanoslp syz-executor 27480 219010 77099 0 3 0x82 nanoslp syz-executor 1303 443068 77099 0 3 0x82 piperd syz-executor 85460 457189 77099 0 3 0x82 nanoslp syz-executor 2446 201091 77099 0 3 0x82 nanoslp syz-executor 79150 233086 77099 0 2 0x2 syz-executor 84188 122581 1 0 3 0x100083 ttyin getty 41652 315466 0 0 3 0x14200 acct acct 70642 488819 0 0 3 0x14200 bored sosplice 77099 513976 54497 0 2 0x2 syz-executor 54497 413289 61712 0 3 0x10008a sigsusp ksh 61712 300383 87201 0 3 0x98 kqread sshd-session 87201 448665 96120 0 3 0x92 kqread sshd-session 96120 189007 1 0 3 0x88 kqread sshd 53838 443086 50639 74 3 0x1100092 bpf pflogd 50639 521496 1 0 3 0x80 sbwait pflogd 91894 184452 86493 73 3 0x1100010 biowait syslogd 86493 11625 1 0 3 0x100082 sbwait syslogd 15772 156003 1 0 3 0x100080 kqread resolvd 43403 123007 53044 77 3 0x100092 kqread dhcpleased 50656 160775 53044 77 3 0x100092 kqread dhcpleased 53044 106147 1 0 3 0x80 kqread dhcpleased 30728 119462 0 0 3 0x14200 bored smr 10606 276177 0 0 2 0x14200 zerothread 23697 39983 0 0 3 0x14200 aiodoned aiodoned 18544 195433 0 0 3 0x14200 syncer update 47834 116570 0 0 3 0x14200 cleaner cleaner 98022 424099 0 0 3 0x14200 reaper reaper 51638 144220 0 0 3 0x14200 pgdaemon pagedaemon 12308 280532 0 0 3 0x14200 bored viomb 54777 22884 0 0 3 0x40014200 acpi0 acpi0 35638 391637 0 0 3 0x40014200 idle1 47501 326021 0 0 3 0x14200 bored softnet3 7478 35906 0 0 3 0x14200 bored softnet2 85053 32012 0 0 3 0x14200 bored softnet1 82836 506601 0 0 3 0x14200 bored softnet0 79084 419563 0 0 3 0x14200 bored systqmp 52997 247338 0 0 3 0x14200 bored systq 10900 220005 0 0 3 0x14200 tmoslp softclockmp 74068 404908 0 0 3 0x40014200 tmoslp softclock 89809 186926 0 0 3 0x40014200 idle0 1 137779 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &sched_lock r = 0 (0xffffffff8357fd88) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 mtx_enter_try+0x178 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #3 sleep_finish+0x1a9 sys/kern/kern_synch.c:400 #4 refcnt_finalize+0xd6 sys/kern/kern_synch.c:848 #5 vm_terminate+0x16d #6 vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 #7 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #8 vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 #9 sys_ioctl+0x67c #10 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #10 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 Process 72735 (syz-executor) thread 0xffff8000ffffccb8 (371026) exclusive rwlock vm_list r = 0 (0xffff800000a18cc0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 vm_terminate+0x84 sys/dev/vmm/vmm.c:674 #3 vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 #4 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #5 vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 #6 sys_ioctl+0x67c #7 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #7 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #8 Xsyscall+0x128 Process 91894 (syslogd) thread 0xffff8000ffffd6d8 (184452) exclusive rrwlock inode r = 0 (0xfffffd806e49d2c0) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2927 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10228 10491K 10609K 166960K 12390 0 pcb 18 14K 15K 166960K 138 0 rtable 258 17K 17K 166960K 1712 0 pf 46 19K 25K 166960K 213 0 ifaddr 47 8K 8K 166960K 229 0 ifgroup 71 2K 2K 166960K 266 0 sysctl 2 0K 0K 166960K 2 0 counters 72 37K 37K 166960K 178 0 ioctlops 0 0K 4K 166960K 1663 0 iov 0 0K 24K 166960K 59 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1491 94K 94K 166960K 2604 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 24 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 93K 166960K 1355 0 sigio 0 0K 0K 166960K 20 0 proc 71 91K 128K 166960K 1710 0 subproc 104 6K 6K 166960K 624 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 95 0 in_multi 99 7K 7K 166960K 557 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 1029 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 236 105K 124K 166960K 11900 0 UVM aobj 90 6K 6K 166960K 92 0 pinsyscall 41 82K 102K 166960K 3468 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 40 0 NDP 16 0K 2K 166960K 165 0 temp 76 6824K 7464K 166960K 33544 0 kqueue 13 20K 31K 166960K 132 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 159 0 156 1 0 1 1 0 8 0 rtentry 112 579 0 467 5 1 4 4 0 8 0 unpcb 144 475 0 451 6 4 2 2 0 8 1 syncache 336 7 0 7 4 4 0 1 0 8 0 tcpcb 808 246 0 242 7 6 1 7 0 8 0 arp 120 103 0 85 1 0 1 1 0 8 0 inpcb 336 1129 0 1120 25 23 2 10 0 8 1 nd6 136 154 0 128 1 0 1 1 0 8 0 pkpcb 40 5 0 5 4 3 1 1 0 8 1 kcovpl 48 48 0 40 1 0 1 1 0 8 0 ppxss 1168 10 0 10 6 6 0 1 0 8 0 pfstscr 40 3 0 3 2 2 0 1 0 8 0 pffrag 232 4 0 4 1 1 0 1 0 482 0 pffrnode 88 4 0 4 1 1 0 1 0 8 0 pffrent 40 49 0 49 1 1 0 1 0 8 0 pfosfp 40 1430 0 1006 5 0 5 5 0 8 0 pfosfpen 112 1430 0 714 21 0 21 21 0 8 0 pfrktable 1344 8 0 6 3 2 1 1 0 8 0 pfanchor 1288 7 0 4 2 1 1 1 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfqueue 264 1 0 0 1 0 1 1 0 8 0 pfstitem 24 104 0 77 1 0 1 1 0 8 0 pfstkey 128 112 0 85 2 0 2 2 0 8 0 pfstate 376 108 0 81 4 0 4 4 0 8 0 pfrule 1344 97 0 89 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2261 0 1799 37 8 29 30 0 8 0 art_table 32 2262 0 1799 4 0 4 4 0 8 0 art_node 16 576 0 476 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 9 2 1 1 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 89 0 2 3 0 3 3 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2859 0 1272 100 0 100 100 0 8 0 ffsino 272 2859 0 1272 108 1 107 107 0 8 0 nchpl 144 3952 0 2204 65 0 65 65 0 8 0 uvmvnodes 80 3933 0 0 81 0 81 81 0 8 0 vnodes 216 3933 0 0 219 0 219 219 0 8 0 namei 1024 17269 0 17269 6 5 1 2 0 8 1 percpumem 16 103 0 53 1 0 1 1 0 8 0 vcpupl 3904 5 0 1 1 0 1 1 0 8 0 vmpool 696 6 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 3 0 1 2 1 1 1 0 8 0 kstatmem 264 138 0 106 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 29138 0 29137 10 9 1 8 1 8 0 plimitpl 152 176 0 159 1 0 1 1 0 8 0 sigapl 424 1596 0 1546 10 2 8 9 0 8 0 futexpl 64 10367 0 10364 5 4 1 1 0 8 0 knotepl 120 652 0 0 18 0 18 18 0 8 0 kqueuepl 216 228 0 218 4 3 1 3 0 8 0 pipepl 320 303 0 275 3 0 3 3 0 8 0 fdescpl 496 1556 0 1526 8 3 5 5 0 8 0 filepl 152 7687 0 7422 26 14 12 15 0 8 0 lockfpl 104 260 0 256 1 0 1 1 0 8 0 lockfspl 48 92 0 88 1 0 1 1 0 8 0 sessionpl 144 63 0 54 1 0 1 1 0 8 0 pgrppl 48 118 0 101 1 0 1 1 0 8 0 ucredpl 104 1220 0 1207 1 0 1 1 0 8 0 zombiepl 144 1546 0 1546 3 2 1 1 0 8 1 processpl 1160 1596 0 1546 7 2 5 6 0 8 0 procpl 648 2709 0 2651 8 2 6 8 0 8 0 srpgc 96 6 0 6 2 2 0 1 0 8 0 sosppl 168 3 0 3 2 2 0 1 0 8 0 sockpl 664 1775 0 1739 27 23 4 12 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 245 0 0 31 0 31 31 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 390 0 0 22 1 21 22 0 8 0 bufpl 280 7833 0 1417 459 0 459 459 0 8 0 anonpl 24 278024 0 273886 129 80 49 95 0 185 13 amapchunkpl 152 37822 0 37321 60 37 23 44 0 158 0 amappl16 200 5528 0 5487 60 46 14 33 0 8 11 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 192 0 180 1 0 1 1 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 2835 0 2804 3 1 2 2 0 8 0 amappl11 160 55 0 41 1 0 1 1 0 8 0 amappl10 152 9 0 8 1 0 1 1 0 8 0 amappl9 144 137 0 137 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 186 0 173 1 0 1 1 0 8 0 amappl6 120 562 0 561 1 0 1 1 0 8 0 amappl5 112 310 0 298 1 0 1 1 0 8 0 amappl4 104 453 0 434 1 0 1 1 0 8 0 amappl3 96 7371 0 7260 4 0 4 4 0 8 0 amappl2 88 1175 0 1112 2 0 2 2 0 8 0 amappl1 80 13879 0 13298 17 3 14 15 0 8 0 amappl 88 11191 0 11020 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 2 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 72 91 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1562 0 1528 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1562 0 1528 1 0 1 1 0 8 0 vmmpekpl 168 14437 0 14381 4 0 4 4 0 8 0 vmmpepl 168 101930 0 100069 124 28 96 109 0 357 10 vmsppl 440 1561 0 1528 7 2 5 5 0 8 0 rwobjpl 56 35442 0 30458 77 4 73 73 0 8 2 pdppl 4096 3131 0 3060 166 90 76 85 0 8 5 pvpl 32 43536 0 0 353 1 352 352 0 265 0 pmappl 248 1561 0 1528 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 523 0 147 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7ef74ebe1ba0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 x86_bus_space_io_read_1(3f8,5) at x86_bus_space_io_read_1+0x37 sys/arch/amd64/amd64/bus_space.c:654 comcnputc(800,67) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,67) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(67) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(67) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff8301cd76) at db_printf+0x9b db_ktrap(6,0,ffff80003481ea50) at db_ktrap+0x169 db_printtrap sys/arch/amd64/amd64/db_interface.c:101 [inline] db_ktrap(6,0,ffff80003481ea50) at db_ktrap+0x169 sys/arch/amd64/amd64/db_interface.c:127 kerntrap(ffff80003481ea50) at kerntrap+0x1dc sys/arch/amd64/amd64/trap.c:323 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b vm_terminate(ffff80003481eda0) at vm_terminate+0xb0 sys/dev/vmm/vmm.c:674 vmmioctl(a00,80045604,ffff80003481eda0,1,ffff8000ffffccb8) at vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 end trace frame: 0xffff80003481ec80, count: 0 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 x86_bus_space_io_read_1(3f8,5) at x86_bus_space_io_read_1+0x37 sys/arch/amd64/amd64/bus_space.c:654 comcnputc(800,67) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,67) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(67) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(67) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff8301cd76) at db_printf+0x9b db_ktrap(6,0,ffff80003481ea50) at db_ktrap+0x169 db_printtrap sys/arch/amd64/amd64/db_interface.c:101 [inline] db_ktrap(6,0,ffff80003481ea50) at db_ktrap+0x169 sys/arch/amd64/amd64/db_interface.c:127 kerntrap(ffff80003481ea50) at kerntrap+0x1dc sys/arch/amd64/amd64/trap.c:323 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b vm_terminate(ffff80003481eda0) at vm_terminate+0xb0 sys/dev/vmm/vmm.c:674 vmmioctl(a00,80045604,ffff80003481eda0,1,ffff8000ffffccb8) at vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd807e306368,80045604,ffff80003481eda0,1,fffffd807f7d3410,ffff8000ffffccb8) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806be2a578,80045604,ffff80003481eda0,ffff8000ffffccb8) at vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffffccb8,ffff80003481ef80,ffff80003481eed0) at sys_ioctl+0x67c syscall(ffff80003481ef80) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80003481ef80) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf71b72b6460, count: -19