*cpu0: uvm_fault(0xfffffd806233a5c8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xe52df915c60, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c431900 rbx 0 rdx 0xffff80000145fb80 rcx 0xffff8000ffff07d0 rax 0x3b r8 0xffff80003c431830 r9 0x1 r10 0xab3a6a99bec64cb4 r11 0x79c8ff30eaba5d7a r12 0 r13 0 r14 0xffff8000ffff07d0 r15 0 rip 0xffffffff820c93ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c431880 ss 0x10 savectx+0xae: movl $0,%gs:0x680 ddb{1}> show proc PROC (syz-executor) tid=39377 pid=50119 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff1c50,0xffff8000ffff1740 process=0xffff80003b403800 user=0xffff80003c42c000, vmspace=0xfffffd806233ad48 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 13801 242363 83349 0 2 0 syz-executor 13801 309048 83349 0 2 0x4000080 syz-executor 58336 206574 22115 0 3 0x80 nanoslp syz-executor 58336 345339 22115 0 3 0x4000080 fsleep syz-executor 58336 354130 22115 0 3 0x4000080 fsleep syz-executor 58336 201886 22115 0 3 0x4000080 fsleep syz-executor 21363 89756 85086 0 3 0x80 nanoslp syz-executor 21363 107161 85086 0 3 0x4000000 smrbar syz-executor 21363 175630 85086 0 3 0x4000080 fsleep syz-executor 82080 447528 69426 0 2 0 syz-executor 82080 288186 69426 0 3 0x4000080 fsleep syz-executor 82080 506964 69426 0 3 0x4000080 fsleep syz-executor 53018 345552 81781 0 3 0x80 nanoslp syz-executor 53018 520919 81781 0 3 0x4000080 ttyout syz-executor 53018 206399 81781 0 3 0x4000080 fsleep syz-executor 50119 252438 23535 0 2 0 syz-executor *50119 39377 23535 0 7 0x4000000 syz-executor 2987 206967 81610 0 3 0x82 nanoslp syz-executor 28266 324431 0 0 3 0x14280 nfsidl nfsio 16969 496507 0 0 3 0x14280 nfsidl nfsio 4656 277341 0 0 3 0x14280 nfsidl nfsio 23595 319358 0 0 3 0x14280 nfsidl nfsio 6358 429275 0 0 3 0x14280 nfsidl nfsio 63700 391182 0 0 3 0x14280 nfsidl nfsio 672 490152 0 0 3 0x14280 nfsidl nfsio 45383 146773 0 0 3 0x14280 nfsidl nfsio 60120 413666 0 0 3 0x14280 nfsidl nfsio 84098 156710 0 0 3 0x14280 nfsidl nfsio 67215 316667 0 0 3 0x14280 nfsidl nfsio 72201 106832 0 0 3 0x14280 nfsidl nfsio 93950 101061 0 0 3 0x14280 nfsidl nfsio 27608 386515 0 0 3 0x14280 nfsidl nfsio 98802 33983 0 0 3 0x14280 nfsidl nfsio 92522 377647 0 0 3 0x14280 nfsidl nfsio 37684 440385 0 0 3 0x14280 nfsidl nfsio 70996 73753 0 0 3 0x14280 nfsidl nfsio 55588 172157 0 0 3 0x14280 nfsidl nfsio 82163 124082 0 0 3 0x14280 nfsidl nfsio 93073 66545 0 0 3 0x14200 bored sosplice 21161 329883 81610 0 3 0x82 nanoslp syz-executor 69426 71442 81610 0 3 0x82 nanoslp syz-executor 81781 495680 81610 0 3 0x82 nanoslp syz-executor 22115 225595 81610 0 3 0x82 nanoslp syz-executor 83349 415212 81610 0 3 0x82 nanoslp syz-executor 23535 204006 81610 0 3 0x82 nanoslp syz-executor 85086 233424 81610 0 3 0x82 nanoslp syz-executor 81610 229311 90198 0 3 0x82 kqread syz-executor 90198 425286 92964 0 3 0x10008a sigsusp ksh 92964 415735 53781 0 3 0x98 kqread sshd-session 53781 171353 53306 0 3 0x92 kqread sshd-session 40108 112735 1 0 3 0x100083 ttyin getty 53306 316780 1 0 3 0x88 kqread sshd 7633 22266 47471 74 3 0x1100092 bpf pflogd 47471 59790 1 0 3 0x80 sbwait pflogd 31527 388178 67419 73 3 0x1100090 kqread syslogd 67419 124077 1 0 3 0x100082 sbwait syslogd 64110 436801 1 0 3 0x100080 kqread resolvd 47938 39913 18542 77 3 0x100092 kqread dhcpleased 53124 69757 18542 77 3 0x100092 kqread dhcpleased 18542 318979 1 0 3 0x80 kqread dhcpleased 5322 40115 0 0 3 0x14200 bored smr 66958 149809 0 0 2 0x14200 zerothread 1010 362786 0 0 3 0x14200 aiodoned aiodoned 21386 153255 0 0 3 0x14200 syncer update 12793 185806 0 0 3 0x14200 cleaner cleaner 77705 12037 0 0 2 0x14200 reaper 49492 398864 0 0 3 0x14200 pgdaemon pagedaemon 76682 38913 0 0 3 0x14200 bored viomb 72255 122510 0 0 3 0x40014200 acpi0 acpi0 60552 20015 0 0 3 0x40014200 idle1 26085 273870 0 0 3 0x14200 bored softnet3 58370 28131 0 0 3 0x14200 bored softnet2 53282 250645 0 0 3 0x14200 bored softnet1 39138 48040 0 0 3 0x14200 bored softnet0 50379 493560 0 0 3 0x14200 bored systqmp 91158 18983 0 0 3 0x14200 bored systq 92003 98055 0 0 3 0x14200 tmoslp softclockmp 86813 109334 0 0 3 0x40014200 tmoslp softclock 5713 32989 0 0 3 0x40014200 idle0 1 382776 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 (0xffffffff838f2988) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 mtx_enter_try+0x178 sys/kern/kern_lock.c:-1 #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:252 [inline] #4 ast+0x165 sys/arch/amd64/amd64/trap.c:541 #5 Xsyscall+0x156 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10227 11177K 11918K 166960K 11898 0 pcb 18 12K 12K 166960K 60 0 rtable 226 7K 7K 166960K 405 0 pf 39 18K 18K 166960K 67 0 ifaddr 45 7K 7K 166960K 63 0 ifgroup 64 2K 2K 166960K 87 0 sysctl 4 1K 1K 166960K 4 0 counters 70 37K 37K 166960K 94 0 ioctlops 0 0K 4K 166960K 1511 0 iov 0 0K 12K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1436 90K 90K 166960K 1731 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 345 0 sigio 0 0K 0K 166960K 2 0 proc 72 91K 128K 166960K 571 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 31 0 in_multi 89 6K 7K 166960K 117 0 ether_multi 1 0K 0K 166960K 1 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 391 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 252 165K 172K 166960K 4691 0 UVM aobj 5 2K 2K 166960K 6 0 pinsyscall 43 86K 106K 166960K 1459 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 53 0 NDP 14 0K 2K 166960K 40 0 temp 39 8679K 8744K 166960K 10955 0 kqueue 16 24K 30K 166960K 67 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 47 0 44 1 0 1 1 0 8 0 rtentry 176 125 0 23 6 0 6 6 0 8 0 unpcb 144 275 0 253 2 0 2 2 0 8 1 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 156 0 152 7 0 7 7 0 8 6 arp 128 21 0 4 1 0 1 1 0 8 0 inpcb 384 436 0 425 9 1 8 8 0 8 6 nd6 144 28 0 6 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1192 10 0 9 1 0 1 1 0 8 0 pppxif 1504 1 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 0 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 5 0 1 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 pfstitem 24 36 0 0 1 0 1 1 0 8 0 pfstkey 128 36 0 0 2 0 2 2 0 8 0 pfstate 384 36 0 0 4 0 4 4 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 508 0 88 29 0 29 29 0 8 2 art_table 32 509 0 88 4 0 4 4 0 8 0 art_node 16 124 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 9 0 2 1 0 1 1 0 8 0 shmpl 112 3 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1988 0 476 95 0 95 95 0 8 0 ffsino 288 1988 0 476 109 0 109 109 0 8 0 nchpl 144 2439 0 738 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2305 0 0 48 0 48 48 0 8 0 vnodes 216 2305 0 0 129 0 129 129 0 8 0 namei 1024 8451 0 8451 3 2 1 2 0 8 1 percpumem 16 62 0 12 1 0 1 1 0 8 0 kstatmem 264 44 0 16 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7787 0 7787 10 2 8 8 1 8 8 plimitpl 152 123 0 104 1 0 1 1 0 8 0 sigapl 424 665 0 594 10 1 9 9 0 8 0 futexpl 64 3233 0 3226 1 0 1 1 0 8 0 knotepl 120 535 0 0 17 0 17 17 0 8 0 kqueuepl 224 121 0 108 3 0 3 3 0 8 2 pipepl 336 125 0 98 3 0 3 3 0 8 0 fdescpl 520 626 0 594 3 0 3 3 0 8 0 filepl 160 3511 0 3271 14 0 14 14 0 8 2 lockfpl 104 146 0 144 2 0 2 2 0 8 1 lockfspl 48 33 0 31 1 0 1 1 0 8 0 sessionpl 144 23 0 14 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 467 0 454 1 0 1 1 0 8 0 zombiepl 144 596 0 594 2 1 1 1 0 8 0 processpl 1192 665 0 594 6 0 6 6 0 8 0 procpl 656 1017 0 934 8 0 8 8 0 8 0 srpgc 96 4 0 4 1 0 1 1 0 8 1 sockpl 728 770 0 735 11 1 10 10 0 8 5 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 109 0 0 14 0 14 14 0 8 0 mcl2k 2048 30 0 0 4 0 4 4 0 8 0 mtagpl 96 41 0 0 1 0 1 1 0 8 0 mbufpl 256 161 0 0 11 0 11 11 0 8 0 bufpl 280 2631 0 122 180 0 180 180 0 8 0 anonpl 32 5394 0 0 44 0 44 44 0 246 0 amapchunkpl 152 14099 0 13575 25 1 24 24 0 158 3 amappl16 200 2010 0 1982 6 3 3 5 0 8 1 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 113 0 100 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1288 0 1256 4 1 3 3 0 8 0 amappl11 160 51 0 37 1 0 1 1 0 8 0 amappl10 152 24 0 24 1 1 0 1 0 8 0 amappl9 144 302 0 302 1 1 0 1 0 8 0 amappl8 136 25 0 23 1 0 1 1 0 8 0 amappl7 128 127 0 115 1 0 1 1 0 8 0 amappl6 120 189 0 185 1 0 1 1 0 8 0 amappl5 112 139 0 130 1 0 1 1 0 8 0 amappl4 104 317 0 295 1 0 1 1 0 8 0 amappl3 96 2613 0 2493 4 0 4 4 0 8 0 amappl2 88 647 0 585 2 0 2 2 0 8 0 amappl1 80 9128 0 8523 15 1 14 15 0 8 1 amappl 88 3952 0 3774 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 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 1 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 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 5 0 1 1 0 1 1 0 8 0 uaddrrnd 24 626 0 594 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 626 0 594 1 0 1 1 0 8 0 vmmpekpl 168 6658 0 6610 3 0 3 3 0 8 0 vmmpepl 168 45659 0 43627 94 5 89 90 0 357 0 vmsppl 480 625 0 594 6 1 5 5 0 8 0 rwobjpl 72 16912 0 13662 60 0 60 60 0 8 0 pdppl 4096 1260 0 1188 104 32 72 86 0 8 0 pvpl 32 11459 0 0 93 0 93 93 0 265 0 pmappl 256 625 0 594 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 392 0 37 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837f8ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838e3b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838e3b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 db_putchar(a) at db_putchar+0x774 sys/ddb/db_output.c:168 kprintf() at kprintf+0x843 sys/kern/subr_prf.c:-1 db_printf(ffffffff833fd211) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff8339f0fa) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80002efe5e90,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80002efe5e90) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 end trace frame: 0xffff80002efe5fc0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837f8ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838e3b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff838e3b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 db_putchar(a) at db_putchar+0x774 sys/ddb/db_output.c:168 kprintf() at kprintf+0x843 sys/kern/subr_prf.c:-1 db_printf(ffffffff833fd211) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff8339f0fa) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80002efe5e90,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80002efe5e90) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001487000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff8000ffff0020) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000ffff0020) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002efe6040) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072240ea8,81,fffffd807f7d2750,ffff8000ffff0020) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806beda218,ffff8000ffff0020) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806beda218,ffff8000ffff0020) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806beda218,ffff8000ffff0020) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806beda218,ffff8000ffff0020) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff8000ffff0020) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff8000ffff0020,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff8000ffff0020,ffff80002efe63b0,ffff80002efe6300) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002efe63b0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002efe63b0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d8e7a1d6cd0, count: -25 ddb{0}> machine ddbcpu 1 Stopped at savectx+0xae: movl $0,%gs:0x680 savectx() at savectx+0xae end of kernel end trace frame: 0xe52df915c60, count: 14 ddb{1}> trace savectx() at savectx+0xae end of kernel end trace frame: 0xe52df915c60, count: -1