*cpu0: uvm_fault(0xffffffff83508d40, 0xffff8000279220a0, 0, 1) -> d ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7f7c89b6dae0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002a030820 rbx 0 rdx 0 rcx 0xffff800029fd9958 rax 0x34 r8 0xffff80002a030750 r9 0x1 r10 0xa258a7766d7aeb4f r11 0x72ccc4eb11bd4482 r12 0 r13 0 r14 0xffff800029fd9958 r15 0 rip 0xffffffff82b483ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80002a0307a0 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=44932 pid=70378 tcnt=1 stat=onproc flags process=2 proc=0 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffd960,0xffff80002db762c8 process=0xffff800029fe9b38 user=0xffff80002a02b000, vmspace=0xfffffd8009306000 estcpu=36, cpticks=5, pctcpu=0.0, user=0, sys=46, intr=4 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93821 10841 3344 0 2 0 syz-executor 93821 37628 3344 0 3 0x4000080 fsleep syz-executor 33183 185829 37494 0 3 0x80 fsleep syz-executor 33183 143228 37494 0 3 0x4000080 bell syz-executor 67106 347315 44639 0 3 0x80 fsleep syz-executor 67106 30542 44639 0 3 0x4000080 netacc syz-executor 5488 57417 66427 0 3 0x80 fsleep syz-executor 5488 196411 66427 0 2 0x4000480 syz-executor 71670 450876 71009 0 3 0x80 fsleep syz-executor 71670 238092 71009 0 3 0x4000080 ttyout syz-executor 28747 374492 64397 0 3 0x80 fsleep syz-executor 28747 343481 64397 0 3 0x4000080 netcon syz-executor 81669 238042 52138 0 3 0x80 fsleep syz-executor 81669 52505 52138 0 3 0x4000080 msgwait syz-executor 66427 485617 70378 0 2 0x482 syz-executor 3344 61021 70378 0 3 0x82 nanoslp syz-executor 99297 426727 70378 0 2 0x2 syz-executor 44639 60040 70378 0 2 0x482 syz-executor 52138 335073 70378 0 2 0x482 syz-executor 64397 520290 70378 0 2 0x482 syz-executor 71009 284265 70378 0 2 0x482 syz-executor 37494 178443 70378 0 2 0x482 syz-executor 85043 259509 1 0 3 0x100083 ttyin getty 38957 317358 0 0 3 0x14280 nfsidl nfsio 40085 446688 0 0 3 0x14280 nfsidl nfsio 70825 208780 0 0 3 0x14280 nfsidl nfsio 96713 67066 0 0 3 0x14280 nfsidl nfsio 35138 214364 0 0 3 0x14280 nfsidl nfsio 50155 407369 0 0 3 0x14280 nfsidl nfsio 5157 285982 0 0 3 0x14280 nfsidl nfsio 48935 389107 0 0 3 0x14280 nfsidl nfsio 35965 208757 0 0 3 0x14280 nfsidl nfsio 30331 25789 0 0 3 0x14280 nfsidl nfsio 29664 434184 0 0 3 0x14280 nfsidl nfsio 10672 450616 0 0 3 0x14280 nfsidl nfsio 50468 251646 0 0 3 0x14280 nfsidl nfsio 4050 23877 0 0 3 0x14280 nfsidl nfsio 58637 72618 0 0 3 0x14280 nfsidl nfsio 24446 520865 0 0 3 0x14280 nfsidl nfsio 7875 382904 0 0 3 0x14280 nfsidl nfsio 45911 111136 0 0 3 0x14280 nfsidl nfsio 45064 225671 0 0 3 0x14280 nfsidl nfsio 74240 320847 0 0 3 0x14280 nfsidl nfsio 9175 513848 0 0 3 0x14200 bored sosplice *70378 44932 21576 0 7 0x2 syz-executor 21576 190207 28614 0 3 0x10008a sigsusp ksh 28614 470676 2774 0 3 0x98 kqread sshd-session 2774 79112 72155 0 3 0x92 kqread sshd-session 72155 123192 1 0 3 0x88 kqread sshd 16683 483677 62421 74 2 0x1100092 pflogd 62421 420336 1 0 3 0x80 sbwait pflogd 8227 500652 41083 73 7 0x1100010 syslogd 41083 147827 1 0 3 0x100082 sbwait syslogd 43409 20900 1 0 3 0x100080 kqread resolvd 1539 305756 33578 77 3 0x100092 kqread dhcpleased 64164 486684 33578 77 3 0x100092 kqread dhcpleased 33578 478530 1 0 3 0x80 kqread dhcpleased 42913 128333 0 0 3 0x14200 bored smr 72824 271789 0 0 3 0x14200 pgzero zerothread 8994 358585 0 0 3 0x14200 aiodoned aiodoned 79056 36694 0 0 3 0x14200 syncer update 33687 249710 0 0 3 0x14200 cleaner cleaner 53605 278747 0 0 3 0x14200 reaper reaper 57958 24276 0 0 3 0x14200 pgdaemon pagedaemon 22747 22013 0 0 3 0x14200 bored viomb 39248 465429 0 0 3 0x40014200 acpi0 acpi0 20511 506540 0 0 3 0x40014200 idle1 880 116803 0 0 3 0x14200 bored softnet3 52301 41604 0 0 3 0x14200 bored softnet2 7718 360210 0 0 3 0x14200 bored softnet1 47499 94616 0 0 3 0x14200 bored softnet0 52895 189448 0 0 3 0x14200 bored systqmp 33594 14406 0 0 3 0x14200 bored systq 33767 468003 0 0 3 0x14200 tmoslp softclockmp 70287 43912 0 0 3 0x40014200 tmoslp softclock 84547 465017 0 0 3 0x40014200 idle0 1 412655 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &sched_lock r = 0 (0xffffffff83523168) #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 preempt+0x35 sys/kern/sched_bsd.c:335 #4 ast+0x165 mi_ast sys/sys/syscall_mi.h:261 [inline] #4 ast+0x165 sys/arch/amd64/amd64/trap.c:541 #5 Xsyscall+0x156 Process 8227 (syslogd) thread 0xffff8000ffffdbe8 (500652) exclusive rrwlock inode r = 0 (0xfffffd806e4d82c0) #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 vn_write+0x18d sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x23c sys/kern/sys_generic.c:380 #7 sys_writev+0xd8 sys/kern/sys_generic.c:327 #8 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83507c70) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 vn_write+0x4e sys/kern/vfs_vnops.c:393 #2 dofilewritev+0x23c sys/kern/sys_generic.c:380 #3 sys_writev+0xd8 sys/kern/sys_generic.c:327 #4 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #4 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10215 10320K 10497K 166960K 11930 0 pcb 18 14K 16K 166960K 113 0 rtable 214 7K 8K 166960K 1315 0 pf 41 18K 26K 166960K 132 0 ifaddr 43 7K 8K 166960K 178 0 ifgroup 63 2K 2K 166960K 191 0 sysctl 4 1K 1K 166960K 4 0 counters 68 36K 37K 166960K 136 0 ioctlops 0 0K 4K 166960K 1576 0 iov 0 0K 13K 166960K 24 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1381 87K 87K 166960K 2129 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 33 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 17 61K 97K 166960K 1107 0 sigio 0 0K 0K 166960K 11 0 proc 72 91K 128K 166960K 1407 0 subproc 104 6K 7K 166960K 481 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 70 0 in_multi 95 7K 7K 166960K 449 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 834 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 72K 91K 166960K 10045 0 UVM aobj 10 5K 5K 166960K 10 0 pinsyscall 42 84K 110K 166960K 2944 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 37 0 NDP 20 0K 2K 166960K 125 0 temp 46 6817K 7075K 166960K 29377 0 kqueue 13 20K 26K 166960K 97 0 SYN cache 2 16K 16K 166960K 2 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 162 0 159 2 1 1 2 0 8 0 rtentry 112 458 0 362 5 1 4 4 0 8 0 unpcb 144 448 0 428 5 4 1 4 0 8 0 syncache 336 6 0 6 3 3 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 267 0 260 14 13 1 11 0 8 0 arp 120 80 0 64 1 0 1 1 0 8 0 inpcb 336 802 0 786 12 10 2 10 0 8 0 nd6 136 114 0 90 1 0 1 1 0 8 0 pkpcb 40 5 0 5 3 2 1 1 0 8 1 kcovpl 48 37 0 29 1 0 1 1 0 8 0 ppxss 1168 4 0 4 2 2 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 4 0 1 1 0 1 1 0 482 0 pffrnode 88 4 0 1 1 0 1 1 0 8 0 pffrent 40 5 0 2 1 0 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 91 0 60 1 0 1 1 0 8 0 pfstkey 128 97 0 66 2 0 2 2 0 8 0 pfstate 376 93 0 64 4 0 4 4 0 8 0 pfrule 1344 26 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1832 0 1418 33 6 27 29 0 8 0 art_table 32 1833 0 1418 4 0 4 4 0 8 0 art_node 16 457 0 372 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 1 1 0 1 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 24 0 7 3 0 3 3 0 8 0 dino2pl 256 2591 0 1029 98 0 98 98 0 8 0 ffsino 272 2591 0 1029 105 0 105 105 0 8 0 nchpl 144 3548 0 1817 65 0 65 65 0 8 0 uvmvnodes 80 3301 0 0 68 0 68 68 0 8 0 vnodes 216 3301 0 0 184 0 184 184 0 8 0 namei 1024 14226 0 14226 5 4 1 2 0 8 1 percpumem 16 82 0 34 1 0 1 1 0 8 0 kstatmem 264 96 0 68 3 0 3 3 0 8 0 scxspl 216 22298 0 22298 11 10 1 8 1 8 1 plimitpl 152 166 0 148 1 0 1 1 0 8 0 sigapl 424 1371 0 1301 10 1 9 9 0 8 0 futexpl 64 11218 0 11211 4 3 1 1 0 8 0 knotepl 120 627 0 0 17 0 17 17 0 8 0 kqueuepl 216 180 0 170 3 2 1 3 0 8 0 pipepl 320 253 0 226 3 0 3 3 0 8 0 fdescpl 496 1332 0 1301 7 2 5 6 0 8 0 filepl 152 5951 0 5688 21 9 12 15 0 8 1 lockfpl 104 224 0 222 1 0 1 1 0 8 0 lockfspl 48 103 0 101 1 0 1 1 0 8 0 sessionpl 144 54 0 45 1 0 1 1 0 8 0 pgrppl 48 121 0 103 1 0 1 1 0 8 0 ucredpl 104 604 0 591 1 0 1 1 0 8 0 zombiepl 144 1301 0 1301 1 0 1 1 0 8 1 processpl 1160 1371 0 1301 6 0 6 6 0 8 0 procpl 648 2234 0 2157 9 1 8 8 0 8 1 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 2 0 2 2 1 1 1 0 8 1 sockpl 664 1422 0 1383 21 17 4 14 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 243 0 0 31 0 31 31 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 345 0 0 19 0 19 19 0 8 0 bufpl 280 7545 0 1371 442 0 442 442 0 8 0 anonpl 24 242261 0 238804 56 6 50 51 0 185 21 amapchunkpl 152 33341 0 32841 38 7 31 35 0 158 10 amappl16 200 4836 0 4816 18 11 7 14 0 8 5 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 181 0 169 1 0 1 1 0 8 0 amappl13 176 10 0 9 1 0 1 1 0 8 0 amappl12 168 2504 0 2472 4 2 2 3 0 8 0 amappl11 160 60 0 46 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 1 0 1 0 8 0 amappl9 144 144 0 143 1 0 1 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 173 0 160 1 0 1 1 0 8 0 amappl6 120 457 0 456 1 0 1 1 0 8 0 amappl5 112 256 0 244 1 0 1 1 0 8 0 amappl4 104 395 0 377 1 0 1 1 0 8 0 amappl3 96 6204 0 6088 6 2 4 4 0 8 0 amappl2 88 1090 0 1023 2 0 2 2 0 8 0 amappl1 80 12667 0 12101 15 1 14 14 0 8 0 amappl 88 9397 0 9225 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 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 72 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1332 0 1301 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1332 0 1301 1 0 1 1 0 8 0 vmmpekpl 168 11883 0 11836 4 1 3 4 0 8 0 vmmpepl 168 87964 0 86118 104 15 89 94 0 357 6 vmsppl 440 1331 0 1301 6 2 4 5 0 8 0 rwobjpl 56 30588 0 26355 62 2 60 60 0 8 0 pdppl 4096 2671 0 2602 133 56 77 87 0 8 8 pvpl 32 28638 0 0 232 1 231 231 0 265 0 pmappl 248 1331 0 1301 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 469 0 98 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff834aaff0) 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_write_1(3f8,0,32) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:774 comcnputc(800,32) at comcnputc+0x1ab bus_space_barrier machine/bus.h:481 [inline] comcnputc(800,32) at comcnputc+0x1ab sys/dev/ic/com.c:1263 cnputc(32) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(32) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff830935d6) at db_printf+0x9b fault(ffffffff8303dba4) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80002a069930,ffff8000279220a0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80002a069930) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b ffs2_balloc(fffffd806e4d8228,81b30,68,fffffd807f7d3a90,1,ffff80002a069ba8) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614 end trace frame: 0xffff80002a069c20, count: 0 ddb{0}> trace x86_ipi_db(ffffffff834aaff0) 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_write_1(3f8,0,32) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:774 comcnputc(800,32) at comcnputc+0x1ab bus_space_barrier machine/bus.h:481 [inline] comcnputc(800,32) at comcnputc+0x1ab sys/dev/ic/com.c:1263 cnputc(32) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(32) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff830935d6) at db_printf+0x9b fault(ffffffff8303dba4) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80002a069930,ffff8000279220a0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80002a069930) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b ffs2_balloc(fffffd806e4d8228,81b30,68,fffffd807f7d3a90,1,ffff80002a069ba8) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a069c30) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806e293710,ffff80002a069e50,3,fffffd807f7d3a90) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_write(fffffd806f8a64c0,ffff80002a069e50,0) at vn_write+0x1d1 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000ffffdbe8,e,ffff80002a069e50,0,ffff80002a069f10) at dofilewritev+0x23c sys/kern/sys_generic.c:380 sys_writev(ffff8000ffffdbe8,ffff80002a069fc0,ffff80002a069f10) at sys_writev+0xd8 sys/kern/sys_generic.c:327 syscall(ffff80002a069fc0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a069fc0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a35098d1640, count: -21 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x680 savectx() at savectx+0xae end of kernel end trace frame: 0x7f7c89b6dae0, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x7f7c89b6dae0, count: -1