*cpu0: uvm_fault(0xfffffd806ef177a8, 0x0, 0, 1) -> e ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7cdb777f4b50, count: -1 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80003c46df40 rbx 0 rdx 0 rcx 0xffff8000ffff22a0 rax 0x2a r8 0xffff80003c46de70 r9 0x11d59812001 r10 0x8c5bb7ad71a2df30 r11 0x1da04a70780a3b9e r12 0 r13 0 r14 0 r15 0 rip 0xffffffff817e24c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c46dec0 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{1}> show proc PROC (syz-executor) tid=110088 pid=46111 tcnt=1 stat=onproc flags process=0 proc=0 runpri=50, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff2a50,0xffffffff839c43f8 process=0xffff80002a2975b0 user=0xffff80003c468000, vmspace=0xfffffd806ef17990 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *46111 110088 57726 0 7 0 syz-executor 21038 46619 98445 0 3 0x80 nanoslp syz-executor 21038 353942 98445 0 3 0x4000080 kqsel syz-executor 21038 117135 98445 0 3 0x4000080 fsleep syz-executor 21038 8188 98445 0 3 0x4000080 fsleep syz-executor 46862 95170 86266 0 2 0 syz-executor 46862 164353 86266 0 3 0x4000080 fsleep syz-executor 35388 75259 64121 0 3 0x80 nanoslp syz-executor 35388 473092 64121 0 3 0x4000000 smrbar syz-executor 67813 468003 52003 0 4 0x82000 syz-executor 67813 366633 52003 0 4 0x4082000 syz-executor 67813 264501 52003 0 4 0x4082000 syz-executor 67813 333219 52003 0 3 0x4082000 clonelk syz-executor 67813 504640 52003 0 3 0x4002000 suspend syz-executor 40446 449910 22690 0 2 0xc82 syz-executor 81715 494633 22690 0 3 0x82 nanoslp syz-executor 8494 213029 0 0 3 0x14200 acct acct 42110 315174 1 0 3 0x100083 ttyin getty 86266 345161 22690 0 2 0xc82 syz-executor 98445 185268 22690 0 3 0x82 nanoslp syz-executor 57726 381979 22690 0 3 0x82 nanoslp syz-executor 52003 418102 22690 0 3 0x82 nanoslp syz-executor 64121 421423 22690 0 3 0x82 nanoslp syz-executor 84455 112224 0 0 3 0x14200 bored sosplice 10598 174513 22690 0 3 0x82 wait syz-executor 22690 309453 46446 0 3 0x82 kqread syz-executor 46446 326633 23106 0 3 0x10008a sigsusp ksh 23106 37111 88106 0 3 0x98 kqread sshd-session 88106 459682 74858 0 3 0x92 kqread sshd-session 74858 366397 1 0 3 0x88 kqread sshd 88681 476338 10246 74 3 0x1100092 bpf pflogd 10246 253934 1 0 3 0x80 sbwait pflogd 11819 299084 60955 73 3 0x1100090 kqread syslogd 60955 274398 1 0 3 0x100082 sbwait syslogd 31441 454486 1 0 3 0x100080 kqread resolvd 25328 89649 0 0 3 0x14200 bored smr 80169 331045 0 0 2 0x14200 zerothread 92042 479824 0 0 3 0x14200 aiodoned aiodoned 35093 159717 0 0 3 0x14200 syncer update 43724 419792 0 0 3 0x14200 cleaner cleaner 68985 518122 0 0 3 0x14200 reaper reaper 44168 349661 0 0 3 0x14200 pgdaemon pagedaemon 78264 349803 0 0 3 0x14200 bored viomb 66288 469455 0 0 3 0x40014200 acpi0 acpi0 16179 266044 0 0 3 0x40014200 idle1 384 190633 0 0 3 0x14200 bored softnet7 97406 443698 0 0 3 0x14200 bored softnet6 65751 222682 0 0 3 0x14200 bored softnet5 15928 180566 0 0 3 0x14200 bored softnet4 91077 295469 0 0 3 0x14200 bored softnet3 11347 333668 0 0 3 0x14200 bored softnet2 39583 440577 0 0 3 0x14200 bored softnet1 37707 391706 0 0 3 0x14200 bored softnet0 23413 173524 0 0 3 0x14200 smrbar systqmp 46685 212889 0 0 3 0x14200 bored systq 77774 217793 0 0 3 0x14200 tmoslp softclockmp 97006 142386 0 0 2 0x40014200 softclock 2854 343154 0 0 3 0x40014200 idle0 1 493647 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd800b102e10) #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+0x1ad sys/kern/kern_lock.c:311 #2 mtx_enter+0x62 sys/kern/kern_lock.c:261 #3 pmap_enter+0x246 rcr3 machine/cpufunc.h:139 [inline] #3 pmap_enter+0x246 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:437 [inline] #3 pmap_enter+0x246 sys/arch/amd64/amd64/pmap.c:2770 #4 uvm_fault_upper_lookup+0x337 sys/uvm/uvm_fault.c:-1 #5 uvm_fault+0x159 sys/uvm/uvm_fault.c:682 #6 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #7 usertrap+0x403 sys/arch/amd64/amd64/trap.c:605 #8 recall_trap+0x8 Process 46111 (syz-executor) thread 0xffff8000ffff22a0 (110088) Process 35388 (syz-executor) thread 0xffff80002a322050 (473092) Process 23413 (systqmp) thread 0xffff8000ffffe000 (173524) ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10250 11159K 12357K 166960K 15135 0 pcb 19 20K 26K 166960K 1361 0 rtable 219 15K 16K 166960K 1125 0 pf 41 19K 67487K 166960K 588 0 ifaddr 42 9K 9K 166960K 338 0 ifgroup 55 2K 3K 166960K 635 0 sysctl 4 1K 9K 166960K 37 0 counters 68 36K 38K 166960K 812 0 ioctlops 0 0K 8K 166960K 2323 0 iov 0 0K 28K 166960K 453 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1508 95K 95K 166960K 5471 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 76K 166960K 70 0 VM map 2 1K 1K 166960K 2 0 sem 28 48K 96K 166960K 207 0 dirhash 12 2K 3K 166960K 96 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 5066 0 sigio 0 0K 0K 166960K 83 0 proc 66 83K 164K 166960K 1473 0 subproc 72 4K 4K 166960K 194 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1133 0 in_multi 63 4K 7K 166960K 388 0 ether_multi 1 0K 0K 166960K 24 0 mrt 2 0K 0K 166960K 33 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 1367 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 236 136K 177K 166960K 47286 0 UVM aobj 69 7K 7K 166960K 74 0 pinsyscall 37 74K 106K 166960K 6496 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 255 0 NDP 12 0K 2K 166960K 254 0 temp 81 8684K 8940K 166960K 244347 0 kqueue 7 12K 35K 166960K 1083 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 662 0 660 6 4 2 3 0 8 1 rtentry 176 342 0 270 5 0 5 5 0 8 0 unpcb 144 4602 0 4588 25 24 1 6 0 8 0 syncache 336 7 0 7 5 5 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 1763 0 1744 38 35 3 8 0 8 1 arp 128 39 0 28 1 0 1 1 0 8 0 inpcb 328 6396 0 6373 61 56 5 12 0 8 2 nd6 144 62 0 52 1 0 1 1 0 8 0 pkpcb 40 177 0 177 13 11 2 2 0 8 2 kcovpl 48 21 0 13 1 0 1 1 0 8 0 ppxss 1192 303 0 303 10 9 1 1 0 8 1 pppxif 1504 93 0 93 10 9 1 1 0 8 1 pfstscr 40 12 0 10 2 1 1 1 0 8 0 pffrag 232 31 0 24 1 0 1 1 0 482 0 pffrnode 88 28 0 22 1 0 1 1 0 8 0 pffrent 40 79 0 71 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 pfanchor 1288 4 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfqueue 320 2 0 2 2 1 1 1 0 8 1 pfstitem 24 339 0 188 1 0 1 1 0 8 0 pfstkey 128 361 0 208 6 0 6 6 0 8 0 pfstate 384 349 0 199 17 0 17 17 0 8 0 pfrule 1344 41 0 36 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 7 0 3 7 2 5 7 0 8 1 art_heap4 256 1557 0 1190 42 16 26 30 0 8 0 art_table 40 1564 0 1193 5 0 5 5 0 8 0 art_node 32 339 0 279 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 11 1 0 1 1 0 8 0 semupl 112 6 0 6 4 4 0 1 0 8 0 semapl 112 186 0 160 1 0 1 1 0 8 0 shmpl 112 71 0 5 3 1 2 2 0 8 0 dirhash 1024 74 0 57 3 0 3 3 0 8 0 dino2pl 256 11436 0 9898 97 0 97 97 0 8 0 ffsino 296 11436 0 9898 119 0 119 119 0 8 0 nchpl 144 18326 0 17743 65 39 26 65 0 8 0 rtmask 32 50 0 50 10 9 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 67556 0 67556 16 15 1 3 0 8 1 percpumem 16 421 0 372 1 0 1 1 0 8 0 kstatmem 264 428 0 398 6 3 3 3 0 8 0 scsiplug 72 29 0 29 13 12 1 1 0 8 1 scxspl 216 151688 0 151688 26 22 4 8 1 8 4 plimitpl 152 1509 0 1493 1 0 1 1 0 8 0 sigapl 424 5345 0 5292 9 2 7 9 0 8 0 knotepl 120 767 0 0 23 0 23 23 0 8 0 kqueuepl 224 2288 0 2281 20 19 1 5 0 8 0 pipepl 344 836 0 809 15 12 3 9 0 8 0 fdescpl 528 5294 0 5265 3 0 3 3 0 8 0 filepl 160 41271 0 41060 41 27 14 18 0 8 0 lockfpl 104 2287 0 2286 3 2 1 2 0 8 0 lockfspl 48 720 0 719 1 0 1 1 0 8 0 sessionpl 144 45 0 37 1 0 1 1 0 8 0 pgrppl 48 252 0 236 1 0 1 1 0 8 0 ucredpl 104 7164 0 7153 1 0 1 1 0 8 0 zombiepl 144 7290 0 7287 2 1 1 1 0 8 0 processpl 1248 5345 0 5292 6 1 5 6 0 8 0 procpl 656 13751 0 13689 11 4 7 10 0 8 0 sosppl 168 26 0 26 12 11 1 1 0 8 1 sockpl 752 12105 0 12066 124 112 12 21 0 8 8 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 8 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 110 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 123 0 0 9 0 9 9 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 1277 0 0 74 0 74 74 0 8 0 bufpl 280 65718 0 59576 440 0 440 440 0 8 0 anonpl 32 14553 0 0 118 0 118 118 0 246 0 amapchunkpl 152 164724 0 164189 110 82 28 43 0 158 4 amappl16 200 20690 0 20661 169 154 15 36 0 8 2 amappl15 192 48 0 48 1 1 0 1 0 8 0 amappl14 184 152 0 143 1 0 1 1 0 8 0 amappl13 176 8 0 8 3 2 1 1 0 8 1 amappl12 168 6153 0 6125 3 1 2 2 0 8 0 amappl11 160 54 0 46 1 0 1 1 0 8 0 amappl10 152 5 0 5 2 2 0 1 0 8 0 amappl9 144 246 0 245 1 0 1 1 0 8 0 amappl8 136 29 0 25 1 0 1 1 0 8 0 amappl7 128 148 0 138 1 0 1 1 0 8 0 amappl6 120 318 0 314 1 0 1 1 0 8 0 amappl5 112 209 0 200 1 0 1 1 0 8 0 amappl4 104 342 0 322 1 0 1 1 0 8 0 amappl3 96 34523 0 34407 4 0 4 4 0 8 0 amappl2 88 883 0 833 2 0 2 2 0 8 0 amappl1 80 29566 0 29042 16 3 13 15 0 8 0 amappl 88 45437 0 45260 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 dma8192 8192 1 0 1 1 1 0 1 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma2048 2048 2 0 2 2 2 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 8 0 8 3 3 0 1 0 8 0 dma128 128 262 0 262 8 7 1 1 0 8 1 dma64 64 11 0 11 4 4 0 1 0 8 0 dma32 32 8 0 8 2 2 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 73 0 5 2 0 2 2 0 8 0 uaddrrnd 24 5294 0 5265 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5294 0 5265 1 0 1 1 0 8 0 vmmpekpl 168 39241 0 39177 4 0 4 4 0 8 0 vmmpepl 168 336221 0 334434 161 69 92 117 0 357 0 vmsppl 488 5293 0 5265 7 3 4 5 0 8 0 rwobjpl 80 91506 0 84669 158 10 148 152 0 8 0 pdppl 4096 10595 0 10530 145 80 65 87 0 8 0 pvpl 32 24088 0 0 194 0 194 194 0 265 0 pmappl 256 5293 0 5265 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 468 0 163 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83868ff0) 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 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,30) at comcnputc+0x250 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,30) at comcnputc+0x250 sys/dev/ic/com.c:1269 cnputc(30) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(30) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff834104fa) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833b16fc) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80002a31b3c0,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:294 kerntrap(ffff80002a31b3c0) at kerntrap+0x13c sys/arch/amd64/amd64/trap.c:491 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000149a000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 end trace frame: 0xffff80002a31b4f0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff83868ff0) 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 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,30) at comcnputc+0x250 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,30) at comcnputc+0x250 sys/dev/ic/com.c:1269 cnputc(30) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(30) at db_putchar+0x65c sys/ddb/db_output.c:155 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff834104fa) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833b16fc) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80002a31b3c0,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:294 kerntrap(ffff80002a31b3c0) at kerntrap+0x13c sys/arch/amd64/amd64/trap.c:491 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000149a000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:580 dtclose(11e5f,81,2000,ffff8000ffff2530) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000ffff2530) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80002a31b570) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806b94b060,81,fffffd80097fb618,ffff8000ffff2530) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806040b120,ffff8000ffff2530) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806040b120,ffff8000ffff2530) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806040b120,ffff8000ffff2530) at fdrop+0x126 sys/kern/kern_descrip.c:1267 closef(fffffd806040b120,ffff8000ffff2530) at closef+0x192 sys/kern/kern_descrip.c:1251 fdfree(ffff8000ffff2530) at fdfree+0x116 sys/kern/kern_descrip.c:1182 exit1(ffff8000ffff2530,b,0,1) at exit1+0x59c sys/kern/kern_exit.c:215 sys_exit(ffff8000ffff2530,ffff80002a31b8e0,ffff80002a31b830) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a31b8e0) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a31b8e0) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70ebc7afd660, count: -25 ddb{0}> machine ddbcpu 1 Stopped at proc_trampoline+0xc7: movl $0,%gs:0x688 proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7cdb777f4b50, count: 14 ddb{1}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0x7cdb777f4b50, count: -1