*cpu0: uvm_fault(0xfffffd806cb311d0, 0x2b0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71fd44c7f360, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003279f1a0 rbx 0 rdx 0 rcx 0xffff8000327ab710 rax 0x3a r8 0xffff80003279f0d0 r9 0x1 r10 0x38811fe38ab63ba6 r11 0xb9e62afc4de58aa8 r12 0 r13 0 r14 0xffff8000327ab710 r15 0 rip 0xffffffff815623ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003279f120 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=452485 pid=81471 tcnt=2 stat=onproc flags process=8000000 proc=0 runpri=84, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000327aa048,0xffff8000327aa7f0 process=0xffff8000328316b8 user=0xffff80003279a000, vmspace=0xfffffd806cb31dd8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 82501 240549 26156 0 2 0x8000000 syz-executor 82501 410802 26156 0 3 0xc000000 vm_terminate syz-executor 82501 54183 26156 0 7 0xc000000 syz-executor *81471 452485 53394 0 7 0x8000000 syz-executor 81471 401373 53394 0 3 0xc000080 fsleep syz-executor 57513 221541 96624 0 2 0x8000000 syz-executor 57513 400464 96624 0 3 0xc000080 fsleep syz-executor 3328 439525 91880 0 2 0x8000010 syz-executor 3328 290736 91880 0 2 0xc000010 syz-executor 30386 257335 80895 0 2 0x8000000 syz-executor 30386 430739 80895 0 3 0xc000080 fsleep syz-executor 79585 15339 9656 0 2 0x8000480 syz-executor 79585 433649 9656 0 3 0xc000080 fsleep syz-executor 79585 348113 9656 0 2 0xc000000 syz-executor 96624 306313 37192 0 2 0x8000482 syz-executor 80895 136171 37192 0 2 0x8000482 syz-executor 9656 273699 37192 0 2 0x8000482 syz-executor 91880 17693 37192 0 3 0x8000082 nanoslp syz-executor 99215 399626 37192 0 2 0x8000482 syz-executor 53394 106301 37192 0 2 0x8000482 syz-executor 48269 360653 37192 0 2 0x8000482 syz-executor 26156 422227 37192 0 3 0x8000082 nanoslp syz-executor 48273 18298 0 0 3 0x14280 nfsidl nfsio 35818 24262 0 0 3 0x14280 nfsidl nfsio 72007 424532 0 0 3 0x14280 nfsidl nfsio 49994 342674 0 0 3 0x14280 nfsidl nfsio 73727 50685 0 0 3 0x14280 nfsidl nfsio 56499 176607 0 0 3 0x14280 nfsidl nfsio 94790 49064 0 0 3 0x14280 nfsidl nfsio 17452 452769 0 0 3 0x14280 nfsidl nfsio 22665 308698 0 0 3 0x14280 nfsidl nfsio 15079 253833 0 0 3 0x14280 nfsidl nfsio 90089 377981 0 0 3 0x14280 nfsidl nfsio 84654 371332 0 0 3 0x14280 nfsidl nfsio 59355 305638 0 0 3 0x14280 nfsidl nfsio 93113 46325 0 0 3 0x14280 nfsidl nfsio 65702 75508 0 0 3 0x14280 nfsidl nfsio 13468 256221 0 0 3 0x14280 nfsidl nfsio 70180 474433 0 0 3 0x14280 nfsidl nfsio 77893 365413 0 0 3 0x14280 nfsidl nfsio 82601 499068 0 0 3 0x14280 nfsidl nfsio 27526 110422 0 0 3 0x14280 nfsidl nfsio 65254 440686 1 0 3 0x18100083 ttyin getty 22608 290862 0 0 3 0x14200 bored sosplice 37192 302585 70407 0 3 0x8000082 kqread syz-executor 70407 354942 12161 0 3 0x810008a sigsusp ksh 12161 63435 74048 0 3 0x18000098 kqread sshd-session 74048 361352 87059 0 3 0x18000092 kqread sshd-session 87059 54182 1 0 3 0x18000088 kqread sshd 78435 408817 39730 74 3 0x19100092 bpf pflogd 39730 251755 1 0 3 0x18000080 sbwait pflogd 51229 234090 57495 73 3 0x19100090 kqread syslogd 57495 303492 1 0 3 0x18100082 sbwait syslogd 19617 374182 1 0 3 0x18100080 kqread resolvd 45213 163247 28146 77 3 0x18100092 kqread dhcpleased 71106 269767 28146 77 3 0x18100092 kqread dhcpleased 28146 25275 1 0 3 0x18000080 kqread dhcpleased 9654 278841 0 0 3 0x14200 bored smr 55035 240627 0 0 2 0x14200 zerothread 12221 166137 0 0 3 0x14200 aiodoned aiodoned 28672 481603 0 0 3 0x14200 syncer update 28931 484975 0 0 3 0x14200 cleaner cleaner 13823 24960 0 0 3 0x14200 reaper reaper 24337 71740 0 0 3 0x14200 pgdaemon pagedaemon 6910 305213 0 0 3 0x14200 bored viomb 65462 242719 0 0 3 0x40014200 acpi0 acpi0 71980 462668 0 0 3 0x40014200 idle1 81954 204386 0 0 3 0x14200 bored softnet3 61970 233204 0 0 3 0x14200 bored softnet2 30360 138475 0 0 3 0x14200 bored softnet1 817 204683 0 0 3 0x14200 bored softnet0 28779 148904 0 0 3 0x14200 bored systqmp 61480 88591 0 0 3 0x14200 bored systq 38271 404721 0 0 3 0x14200 tmoslp softclockmp 3579 139846 0 0 2 0x40014200 softclock 32750 56888 0 0 3 0x40014200 idle0 1 196170 0 0 3 0x8000082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &sched_lock r = 0 (0xffffffff835b0c18) #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 82501 (syz-executor) thread 0xffff8000327abc20 (54183) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10245 10445K 10600K 166960K 16090 0 pcb 17 16K 18K 166960K 665 0 rtable 245 15K 16K 166960K 3761 0 pf 35 17K 81K 166960K 443 0 ifaddr 43 9K 9K 166960K 517 0 ifgroup 55 2K 2K 166960K 601 0 sysctl 4 1K 5K 166960K 7 0 counters 64 36K 37K 166960K 354 0 ioctlops 0 0K 4K 166960K 2181 0 iov 0 0K 16K 166960K 159 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1742 109K 110K 166960K 6257 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 16K 24K 166960K 39 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 287 0 dirhash 15 2K 3K 166960K 78 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 18 65K 89K 166960K 4047 0 sigio 0 0K 0K 166960K 58 0 proc 71 91K 128K 166960K 3726 0 subproc 104 6K 6K 166960K 1457 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 496 0 in_multi 96 7K 7K 166960K 1295 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 2325 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 261 98K 116K 166960K 33854 0 UVM aobj 51 4K 4K 166960K 53 0 pinsyscall 43 86K 104K 166960K 7828 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 183 0 NDP 12 0K 1K 166960K 381 0 temp 76 6824K 7457K 166960K 101042 0 kqueue 13 20K 32K 166960K 417 0 SYN cache 2 8K 16K 166960K 3 0 ddb{1}> 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 462 0 459 2 1 1 2 0 8 0 rtentry 112 1344 0 1234 5 1 4 4 0 8 0 unpcb 144 2796 0 2777 28 24 4 6 0 8 2 syncache 336 10 0 10 6 5 1 1 0 8 1 tcpqe 32 2 0 2 2 2 0 1 0 8 0 tcpcb 808 1146 0 1140 46 39 7 8 0 8 6 arp 120 241 0 221 1 0 1 1 0 8 0 inpcb 336 4524 0 4511 68 58 10 10 0 8 8 nd6 136 366 0 340 4 3 1 2 0 8 0 pkpcb 40 19 0 19 10 9 1 1 0 8 1 kcovpl 48 112 0 104 1 0 1 1 0 8 0 ppxss 1168 26 0 26 10 9 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 18 0 13 2 1 1 1 0 482 0 pffrnode 88 18 0 13 2 1 1 1 0 8 0 pffrent 40 26 0 21 2 1 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfstitem 24 254 0 216 1 0 1 1 0 8 0 pfstkey 128 254 0 216 2 0 2 2 0 8 0 pfstate 376 253 0 215 7 2 5 6 0 8 0 pfrule 1344 22 0 17 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 5229 0 4805 34 7 27 30 0 8 0 art_table 32 5232 0 4805 4 0 4 4 0 8 0 art_node 16 1338 0 1242 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 8 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 285 0 275 1 0 1 1 0 8 0 shmpl 112 50 0 2 2 0 2 2 0 8 0 dirhash 1024 62 0 43 3 0 3 3 0 8 0 dino2pl 256 6670 0 4962 108 0 108 108 0 8 0 ffsino 272 6670 0 4962 115 0 115 115 0 8 0 nchpl 144 10550 0 9858 68 37 31 68 0 8 0 uvmvnodes 80 7960 0 0 163 0 163 163 0 8 0 vnodes 216 7960 0 0 443 0 443 443 0 8 0 namei 1024 50547 0 50547 8 7 1 2 0 8 1 percpumem 16 191 0 145 1 0 1 1 0 8 0 vcpupl 3904 70 0 0 9 0 9 9 0 8 0 vmpool 696 73 0 3 7 0 7 7 0 8 0 kstatmem 264 314 0 290 3 1 2 3 0 8 0 scsiplug 72 7 0 7 5 5 0 1 0 8 0 scxspl 216 81295 0 81295 16 15 1 8 1 8 1 plimitpl 152 922 0 905 1 0 1 1 0 8 0 sigapl 424 4183 0 4112 11 2 9 9 0 8 0 futexpl 64 43364 0 43360 8 7 1 1 0 8 0 knotepl 120 676 0 0 18 0 18 18 0 8 0 kqueuepl 216 862 0 852 10 9 1 5 0 8 0 pipepl 320 912 0 885 11 8 3 6 0 8 0 fdescpl 496 4121 0 4089 8 3 5 5 0 8 0 filepl 152 29318 0 29056 81 63 18 20 0 8 6 lockfpl 104 1022 0 1020 1 0 1 1 0 8 0 lockfspl 48 427 0 425 1 0 1 1 0 8 0 sessionpl 144 128 0 119 1 0 1 1 0 8 0 pgrppl 48 278 0 261 1 0 1 1 0 8 0 ucredpl 104 5330 0 5316 1 0 1 1 0 8 0 zombiepl 144 4114 0 4112 1 0 1 1 0 8 0 processpl 1160 4183 0 4112 8 2 6 6 0 8 0 procpl 648 8443 0 8364 10 2 8 8 0 8 0 srpgc 96 15 0 15 7 7 0 1 0 8 0 sosppl 168 16 0 16 10 9 1 1 0 8 1 sockpl 664 7904 0 7870 95 84 11 18 0 8 8 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 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 338 0 0 35 2 33 35 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 537 0 0 27 0 27 27 0 8 0 bufpl 280 14891 0 6963 571 2 569 570 0 8 0 anonpl 24 523565 0 519846 140 81 59 78 0 185 18 amapchunkpl 152 108476 0 107927 80 48 32 41 0 158 10 amappl16 200 8249 0 8221 93 88 5 20 0 8 3 amappl15 192 13 0 13 1 1 0 1 0 8 0 amappl14 184 327 0 315 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 6492 0 6460 4 2 2 3 0 8 0 amappl11 160 105 0 91 1 0 1 1 0 8 0 amappl10 152 32 0 31 2 1 1 1 0 8 0 amappl9 144 129 0 128 1 0 1 1 0 8 0 amappl8 136 18 0 16 1 0 1 1 0 8 0 amappl7 128 314 0 302 1 0 1 1 0 8 0 amappl6 120 1217 0 1215 1 0 1 1 0 8 0 amappl5 112 550 0 538 1 0 1 1 0 8 0 amappl4 104 629 0 608 1 0 1 1 0 8 0 amappl3 96 21632 0 21504 5 1 4 4 0 8 0 amappl2 88 2113 0 2048 2 0 2 2 0 8 0 amappl1 80 25799 0 25205 17 3 14 14 0 8 0 amappl 88 32547 0 32355 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 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 7 0 7 2 2 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 52 0 2 1 0 1 1 0 8 0 uaddrrnd 24 4194 0 4092 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4194 0 4092 1 0 1 1 0 8 0 vmmpekpl 168 35014 0 34950 4 0 4 4 0 8 0 vmmpepl 168 251671 0 249627 152 61 91 104 0 357 1 vmsppl 440 4193 0 4092 14 2 12 12 0 8 0 rwobjpl 56 74348 0 65353 132 4 128 128 0 8 0 pdppl 4096 8395 0 8254 314 173 141 147 0 8 0 pvpl 32 43630 0 0 353 1 352 352 0 265 0 pmappl 248 4193 0 4092 7 0 7 7 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 787 0 305 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83475ff0) 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,66) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,66) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(66) at cnputc+0x61 sys/dev/cons.c:218 kputchar(66,5,0) at kputchar+0x2cc sys/kern/subr_prf.c:367 kprintf() at kprintf+0x843 printf(ffffffff830c4bb2) at printf+0x8b sys/kern/subr_prf.c:529 trap_print(ffff8000327c91d0,6) at trap_print+0x64 sys/arch/amd64/amd64/trap.c:457 kerntrap(ffff8000327c91d0) at kerntrap+0x276 sys/arch/amd64/amd64/trap.c:328 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b vm_terminate(ffff8000327c9520) at vm_terminate+0xb0 sys/dev/vmm/vmm.c:674 vmmioctl(a00,80045604,ffff8000327c9520,81,ffff8000327abc20) at vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 end trace frame: 0xffff8000327c9400, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83475ff0) 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,66) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,66) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(66) at cnputc+0x61 sys/dev/cons.c:218 kputchar(66,5,0) at kputchar+0x2cc sys/kern/subr_prf.c:367 kprintf() at kprintf+0x843 printf(ffffffff830c4bb2) at printf+0x8b sys/kern/subr_prf.c:529 trap_print(ffff8000327c91d0,6) at trap_print+0x64 sys/arch/amd64/amd64/trap.c:457 kerntrap(ffff8000327c91d0) at kerntrap+0x276 sys/arch/amd64/amd64/trap.c:328 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b vm_terminate(ffff8000327c9520) at vm_terminate+0xb0 sys/dev/vmm/vmm.c:674 vmmioctl(a00,80045604,ffff8000327c9520,81,ffff8000327abc20) at vmmioctl+0x3c5 sys/dev/vmm/vmm.c:248 VOP_IOCTL(fffffd8070739290,80045604,ffff8000327c9520,81,fffffd807f7d3410,ffff8000327abc20) at VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806f88fe40,80045604,ffff8000327c9520,ffff8000327abc20) at vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000327abc20,ffff8000327c9700,ffff8000327c9650) at sys_ioctl+0x67c syscall(ffff8000327c9700) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000327c9700) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x944c5141140, count: -19 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x680 savectx() at savectx+0xae end of kernel end trace frame: 0x71fd44c7f360, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x71fd44c7f360, count: -1