*cpu0: uvm_fault(0xfffffd806c0899a8, 0x0, 0, 1) -> e ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x70ea01b0ad0, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 18446603336929750848 rbx 0 rdx 0 rcx 18446603340516064432 rax 54 r8 18446603336929750640 r9 18446603336929749360 r10 4131800492849170659 r11 4501685768487008472 r12 0 r13 0 r14 18446603340516064432 r15 0 rip 18446744071605380078 savectx+174 cs 8 rflags 70 rsp 18446603336929750720 ss 16 savectx+174: movl $0,%gs:1672 ddb{1}> show proc PROC (syz-executor) tid=456893 pid=50865 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800031be3778,0xffffffff8393b2a8 process=0xffff8000fffece88 user=0xffff80002a3b5000, vmspace=0xfffffd806c0899a8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50865 384694 79341 0 3 0x80 fsleep syz-executor 50865 389651 79341 0 7 0x4000000 syz-executor 50865 111357 79341 0 2 0x4000000 syz-executor *50865 456893 79341 0 7 0x4000000 syz-executor 34943 320144 91558 0 3 0x80 fsleep syz-executor 34943 326074 91558 0 3 0x4000080 ttyin syz-executor 7700 127488 45319 0 3 0x80 fsleep syz-executor 7700 503919 45319 0 3 0x4000080 piperd syz-executor 7700 163025 45319 0 3 0x4000080 fsleep syz-executor 53107 516775 41267 0 3 0x80 fsleep syz-executor 53107 448689 41267 0 3 0x4000080 lockf syz-executor 53107 249921 41267 0 3 0x4000080 fsleep syz-executor 73896 374083 86438 0 3 0x80 fsleep syz-executor 73896 57008 86438 0 3 0x4000080 fifor syz-executor 74747 306006 24365 60929 3 0x90 fsleep syz-executor 74747 282624 24365 60929 3 0x4000090 kqread syz-executor 22513 50799 70583 0 3 0x80 fsleep syz-executor 22513 439500 70583 0 3 0x4000080 lockf syz-executor 40155 111316 0 0 3 0x14280 nfsidl nfsio 79193 202860 0 0 3 0x14280 nfsidl nfsio 31567 316541 0 0 3 0x14280 nfsidl nfsio 11170 176040 0 0 3 0x14280 nfsidl nfsio 45319 197708 68162 0 3 0x82 nanoslp syz-executor 8668 448643 0 0 3 0x14200 acct acct 41267 448644 68162 0 3 0x82 nanoslp syz-executor 79341 313247 68162 0 3 0x82 nanoslp syz-executor 91558 56322 68162 0 3 0x82 nanoslp syz-executor 70583 404106 68162 0 3 0x82 nanoslp syz-executor 45595 447901 49397 0 3 0x100082 sbwait ndp 49397 439660 1 0 3 0x10008a sigsusp sh 92045 289615 68162 0 3 0x2 biowait syz-executor 86438 166956 68162 0 3 0x82 nanoslp syz-executor 24365 244965 68162 0 3 0x82 nanoslp syz-executor 68162 243218 65271 0 3 0x82 kqread syz-executor 65271 148559 27451 0 3 0x10008a sigsusp ksh 27451 181832 34659 0 3 0x98 kqread sshd-session 34659 486412 40786 0 3 0x92 kqread sshd-session 82758 32539 1 0 3 0x100083 ttyin getty 40786 322924 1 0 3 0x88 kqread sshd 33193 344536 44706 74 3 0x1100092 bpf pflogd 44706 495635 1 0 3 0x80 sbwait pflogd 77060 201561 67746 73 3 0x1100090 kqread syslogd 67746 3837 1 0 3 0x100082 sbwait syslogd 37196 78264 1 0 3 0x100080 kqread resolvd 25386 166429 24727 77 3 0x100092 kqread dhcpleased 70654 413281 24727 77 3 0x100092 kqread dhcpleased 24727 210374 1 0 3 0x80 kqread dhcpleased 86072 340899 0 0 3 0x14200 bored smr 67931 420301 0 0 3 0x14200 pgzero zerothread 24885 10968 0 0 3 0x14200 aiodoned aiodoned 22290 110221 0 0 3 0x14200 syncer update 17883 306384 0 0 3 0x14200 cleaner cleaner 1356 150118 0 0 3 0x14200 reaper reaper 92874 458072 0 0 3 0x14200 pgdaemon pagedaemon 86911 65163 0 0 3 0x14200 bored viomb 72908 405556 0 0 3 0x40014200 acpi0 acpi0 85859 448073 0 0 3 0x40014200 idle1 89878 230564 0 0 3 0x14200 bored softnet1 23464 137918 0 0 3 0x14200 bored softnet0 96241 232531 0 0 3 0x14200 bored systqmp 2596 390109 0 0 3 0x14200 bored systq 25059 145222 0 0 3 0x14200 tmoslp softclockmp 33055 328400 0 0 3 0x40014200 tmoslp softclock 12364 204438 0 0 3 0x40014200 idle0 1 58223 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex tcpcb r = 0 (0xffffffff838c88f0) #0 witness_lock+1521 #1 mtx_enter+1204 #2 pool_get+292 #3 tcp_newtcpcb+99 #4 tcp_attach+543 #5 socreate+568 #6 sys_socket+292 #7 syscall+3028 #8 Xsyscall+296 Process 50865 (syz-executor) thread 0xffff800031be3248 (389651) Process 50865 (syz-executor) thread 0xffff800031be3778 (111357) Process 92045 (syz-executor) thread 0xffff80002a28afa8 (289615) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 11088K 11718K 166960K 14076 0 pcb 17 16K 18K 166960K 939 0 rtable 257 14K 14K 166960K 1006 0 pf 43 19K 67486K 166960K 465 0 ifaddr 43 9K 10K 166960K 270 0 ifgroup 64 2K 3K 166960K 505 0 sysctl 4 1K 9K 166960K 75 0 counters 72 37K 38K 166960K 698 0 ioctlops 0 0K 4K 166960K 2284 0 iov 1 12K 24K 166960K 187 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1399 88K 89K 166960K 3933 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 17K 166960K 44 0 VM map 2 1K 1K 166960K 2 0 sem 47 35K 35K 166960K 160 0 dirhash 12 2K 2K 166960K 90 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 19 69K 248K 166960K 3639 0 sigio 0 0K 0K 166960K 191 0 proc 73 115K 148K 166960K 1159 0 subproc 81 5K 5K 166960K 137 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 609 0 in_multi 78 5K 7K 166960K 359 0 ether_multi 1 0K 0K 166960K 57 0 mrt 1 0K 0K 166960K 39 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 145 652K 652K 166960K 145 0 exec 0 0K 1K 166960K 911 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 260 161K 179K 166960K 36151 0 UVM aobj 94 3K 5K 166960K 98 0 pinsyscall 45 90K 104K 166960K 4970 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 237 0 NDP 14 0K 2K 166960K 196 0 temp 85 8660K 8788K 166960K 196543 0 kqueue 14 22K 32K 166960K 798 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 637 0 633 10 9 1 3 0 8 0 rtentry 176 277 0 180 7 2 5 6 0 8 0 unpcb 144 2933 0 2912 35 31 4 6 0 8 3 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 736 1181 0 1172 24 23 1 7 0 8 0 arp 136 40 0 21 1 0 1 1 0 8 0 inpcb 328 3987 0 3974 41 39 2 7 0 8 0 nd6 152 51 0 30 1 0 1 1 0 8 0 pkpcb 40 160 0 160 9 8 1 1 0 8 1 kcovpl 48 15 0 6 1 0 1 1 0 8 0 mppekey 1024 6 0 6 5 4 1 1 0 8 1 ppxss 1192 263 0 263 5 4 1 1 0 8 1 pppxif 1504 26 0 26 8 7 1 1 0 8 1 pfstscr 40 4 0 3 2 1 1 1 0 8 0 pffrag 232 37 0 30 1 0 1 1 0 482 0 pffrnode 88 33 0 26 1 0 1 1 0 8 0 pffrent 40 92 0 85 1 0 1 1 0 8 0 pfosfp 40 1464 0 1037 5 0 5 5 0 8 0 pfosfpen 112 1464 0 714 22 0 22 22 0 8 0 pfrktable 1344 5 0 5 4 4 0 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstitem 24 264 0 204 1 0 1 1 0 8 0 pfstkey 128 269 0 209 3 0 3 3 0 8 0 pfstate 384 265 0 207 9 0 9 9 0 8 0 pfrule 1344 35 0 30 2 1 1 2 0 8 0 rttmr 136 7 0 7 6 5 1 1 0 8 1 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1478 0 1089 40 13 27 31 0 8 1 art_table 40 1482 0 1089 6 1 5 5 0 8 0 art_node 32 275 0 189 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 11 1 0 1 1 0 8 0 semupl 112 8 0 8 3 3 0 1 0 8 0 semapl 112 148 0 103 2 0 2 2 0 8 0 shmpl 112 95 0 4 3 0 3 3 0 8 0 dirhash 1024 69 0 52 3 0 3 3 0 8 0 dino2pl 256 8542 0 7025 96 0 96 96 0 8 0 ffsino 296 8542 0 7025 118 0 118 118 0 8 0 nchpl 144 13539 0 11817 65 0 65 65 0 8 0 rtmask 32 36 0 36 6 5 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 48183 0 48183 2 1 1 1 0 8 1 percpumem 16 364 0 313 1 0 1 1 0 8 0 kstatmem 264 334 0 302 6 3 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 21 0 21 11 10 1 1 0 8 1 scxspl 216 78213 0 78212 20 18 2 7 1 8 1 plimitpl 152 804 0 785 1 0 1 1 0 8 0 sigapl 424 3956 0 3902 7 0 7 7 0 8 0 knotepl 120 873 0 0 25 0 25 25 0 8 0 kqueuepl 224 1704 0 1691 17 15 2 5 0 8 1 pipepl 344 562 0 531 11 7 4 9 0 8 0 fdescpl 528 3915 0 3882 3 0 3 3 0 8 0 filepl 160 27628 0 27379 51 37 14 21 0 8 2 lockfpl 104 1692 0 1680 4 3 1 2 0 8 0 lockfspl 48 472 0 463 1 0 1 1 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 85 0 67 1 0 1 1 0 8 0 ucredpl 104 4447 0 4433 1 0 1 1 0 8 0 zombiepl 144 5147 0 5147 2 1 1 1 0 8 1 processpl 1232 3956 0 3902 5 0 5 5 0 8 0 procpl 664 10047 0 9982 9 3 6 7 0 8 0 sosppl 176 35 0 35 8 8 0 1 0 8 0 sockpl 752 7821 0 7783 101 90 11 22 0 8 7 mcl64k 65536 22 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 138 0 0 16 1 15 16 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 103 0 0 9 3 6 9 0 8 0 mtagpl 96 6 0 0 1 0 1 1 0 8 0 mbufpl 256 5795 0 0 361 0 361 361 0 8 0 bufpl 280 28905 0 22768 439 0 439 439 0 8 0 anonpl 32 11507 0 0 94 1 93 93 0 246 0 amapchunkpl 152 124015 0 123479 67 39 28 34 0 158 4 amappl16 200 11323 0 11282 94 83 11 25 0 8 4 amappl15 192 13 0 13 2 2 0 1 0 8 0 amappl14 184 8 0 8 2 1 1 1 0 8 1 amappl13 176 515 0 512 1 0 1 1 0 8 0 amappl12 168 4334 0 4288 3 0 3 3 0 8 0 amappl11 160 4 0 4 1 1 0 1 0 8 0 amappl10 152 53 0 39 1 0 1 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 23 0 20 1 0 1 1 0 8 0 amappl7 128 114 0 113 1 0 1 1 0 8 0 amappl6 120 362 0 346 1 0 1 1 0 8 0 amappl5 112 77 0 66 1 0 1 1 0 8 0 amappl4 104 465 0 432 1 0 1 1 0 8 0 amappl3 96 21732 0 21632 4 1 3 3 0 8 0 amappl2 88 4018 0 3938 2 0 2 2 0 8 0 amappl1 80 24009 0 23385 16 1 15 15 0 8 0 amappl 88 34690 0 34512 5 0 5 5 0 92 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 dma65536 65536 3 0 3 3 3 0 1 0 8 0 dma32768 32768 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 1 0 0 1 0 1 1 0 8 0 dma256 256 10 0 10 4 4 0 1 0 8 0 dma128 128 259 0 259 6 5 1 1 0 8 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 97 0 4 2 0 2 2 0 8 0 uaddrrnd 24 3915 0 3882 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3915 0 3882 1 0 1 1 0 8 0 vmmpekpl 168 31048 0 31000 3 0 3 3 0 8 0 vmmpepl 168 246165 0 244119 154 55 99 111 0 357 4 vmsppl 488 3914 0 3882 5 0 5 5 0 8 0 rwobjpl 80 66857 0 59838 150 1 149 149 0 8 0 pdppl 4096 7838 0 7764 130 54 76 88 0 8 2 pvpl 32 21313 0 0 171 0 171 171 0 265 0 pmappl 256 3914 0 3882 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 712 0 112 18 0 18 18 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+39: addq $8,%rsp x86_ipi_db(ffffffff837d6ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 intr_handler(ffff80003e8991b0,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 Xspllower() at Xspllower+29 cnputc(5f) at cnputc+103 db_putchar(5f) at db_putchar+877 kprintf() at kprintf+10693 db_printf(ffffffff83338199) at db_printf+155 fault(ffffffff833fde08) at fault+167 kpageflttrap(ffff80003e899660,0) at kpageflttrap+893 kerntrap(ffff80003e899660) at kerntrap+412 end trace frame: 0xffff80003e8996e0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff837d6ff0) at x86_ipi_db+39 x86_ipi_handler() at x86_ipi_handler+217 Xresume_lapic_ipi() at Xresume_lapic_ipi+39 __mp_lock(ffffffff839de8c0) at __mp_lock+402 intr_handler(ffff80003e8991b0,ffff80000007aa80) at intr_handler+233 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+399 Xspllower() at Xspllower+29 cnputc(5f) at cnputc+103 db_putchar(5f) at db_putchar+877 kprintf() at kprintf+10693 db_printf(ffffffff83338199) at db_printf+155 fault(ffffffff833fde08) at fault+167 kpageflttrap(ffff80003e899660,0) at kpageflttrap+893 kerntrap(ffff80003e899660) at kerntrap+412 alltraps_kern_meltdown() at alltraps_kern_meltdown+123 dt_ioctl_record_stop(ffff800001557000) at dt_ioctl_record_stop+264 dtclose(21e5f,81,2000,ffff800031be3248) at dtclose+265 spec_close(ffff80003e899810) at spec_close+1126 VOP_CLOSE(fffffd805d3a2e70,81,fffffd80097fb618,ffff800031be3248) at VOP_CLOSE+306 vn_closefile(fffffd806aabf8d8,ffff800031be3248) at vn_closefile+299 fdrop(fffffd806aabf8d8,ffff800031be3248) at fdrop+289 closef(fffffd806aabf8d8,ffff800031be3248) at closef+402 syscall(ffff80003e899a70) at syscall+3028 Xsyscall() at Xsyscall+296 end of kernel end trace frame: 0x70e7a1441c0, count: -24 ddb{0}> machine ddbcpu 1 Stopped at savectx+174: movl $0,%gs:1672 savectx() at savectx+174 end of kernel end trace frame: 0x70ea01b0ad0, count: 14 ddb{1}> trace savectx() at savectx+174 end of kernel end trace frame: 0x70ea01b0ad0, count: -1