*cpu1: uvm_fault(0xfffffd806bc263b0, 0x0, 0, 1) -> e ddb{0}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0xfaaf464b4f0, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003acd68b0 rbx 0 rdx 0 rcx 0xffff8000ffff27e0 rax 0x2a r8 0xffff80003acd67e0 r9 0xfaae4993001 r10 0x2c571d47255ad594 r11 0x503235e3af9936e0 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff829ba4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003acd6830 ss 0 proc_trampoline+0xc7: movl $0,%gs:0x680 ddb{0}> show proc PROC (syz-executor) tid=139695 pid=35247 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff3c60,0xffff8000ffff34c0 process=0xffff80003c562980 user=0xffff80003acd1000, vmspace=0xfffffd806eb53560 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 35247 422846 60825 0 2 0 syz-executor *35247 139695 60825 0 7 0x4000000 syz-executor 35247 162669 60825 0 2 0x4000000 syz-executor 35247 91386 60825 0 2 0x4000000 syz-executor 41411 161081 8690 0 2 0 syz-executor 41411 519282 8690 0 2 0x4000000 syz-executor 52942 34803 25186 0 2 0 syz-executor 52942 281019 25186 0 3 0x4000080 fsleep syz-executor 54049 219243 88382 0 2 0 syz-executor 33883 473505 75528 0 2 0 syz-executor 33883 505302 75528 0 2 0x4000000 syz-executor 94860 292838 0 0 3 0x14280 nfsidl nfsio 27541 315279 0 0 3 0x14280 nfsidl nfsio 31160 41717 0 0 3 0x14280 nfsidl nfsio 44310 247159 0 0 3 0x14280 nfsidl nfsio 76389 392858 0 0 3 0x14280 nfsidl nfsio 9250 508649 0 0 3 0x14280 nfsidl nfsio 4486 332069 0 0 3 0x14280 nfsidl nfsio 93183 494520 0 0 3 0x14280 nfsidl nfsio 78330 262819 0 0 3 0x14280 nfsidl nfsio 58476 502579 0 0 3 0x14280 nfsidl nfsio 44112 75467 0 0 3 0x14280 nfsidl nfsio 73039 63154 0 0 3 0x14280 nfsidl nfsio 39148 413951 0 0 3 0x14280 nfsidl nfsio 26466 355383 0 0 3 0x14280 nfsidl nfsio 80981 157634 0 0 3 0x14280 nfsidl nfsio 23730 291690 0 0 3 0x14280 nfsidl nfsio 52296 146121 0 0 3 0x14280 nfsidl nfsio 25646 75662 0 0 3 0x14280 nfsidl nfsio 61287 131113 0 0 3 0x14280 nfsidl nfsio 31511 299018 0 0 3 0x14280 nfsidl nfsio 50673 113904 0 0 3 0x14200 acct acct 75438 463845 1 0 3 0x100083 ttyin getty 77867 518052 0 0 3 0x14200 bored sosplice 8690 496421 50059 0 2 0x2 syz-executor 31 21833 50059 0 3 0x82 nanoslp syz-executor 60825 208803 50059 0 2 0x2 syz-executor 25186 25612 50059 0 3 0x82 nanoslp syz-executor 88382 60160 50059 0 3 0x82 nanoslp syz-executor 60161 170193 50059 0 3 0x82 nanoslp syz-executor 75528 290966 50059 0 3 0x82 nanoslp syz-executor 85978 222867 50059 0 2 0x10000002 syz-executor 50059 411912 78754 0 3 0x82 kqread syz-executor 78754 501591 67071 0 3 0x10008a sigsusp ksh 67071 141087 45830 0 3 0x98 kqread sshd-session 45830 419060 53763 0 3 0x92 kqread sshd-session 53763 222319 1 0 3 0x88 kqread sshd 40104 69017 60396 74 3 0x1100092 bpf pflogd 60396 243422 1 0 3 0x80 sbwait pflogd 38073 235902 41044 73 3 0x1100090 kqread syslogd 41044 81295 1 0 3 0x100082 sbwait syslogd 7499 103752 1 0 3 0x100080 kqread resolvd 58240 217314 70441 77 3 0x100092 kqread dhcpleased 80255 87774 70441 77 3 0x100092 kqread dhcpleased 70441 305975 1 0 3 0x80 kqread dhcpleased 95682 239654 0 0 3 0x14200 bored smr 1134 106251 0 0 2 0x14200 zerothread 8351 250643 0 0 3 0x14200 aiodoned aiodoned 37451 396920 0 0 3 0x14200 syncer update 75025 284900 0 0 3 0x14200 cleaner cleaner 65473 366370 0 0 3 0x14200 reaper reaper 17765 519997 0 0 3 0x14200 pgdaemon pagedaemon 2084 392251 0 0 3 0x14200 bored viomb 8778 362916 0 0 3 0x40014200 acpi0 acpi0 67006 62915 0 0 3 0x40014200 idle1 71958 375927 0 0 3 0x14200 bored softnet3 80382 202750 0 0 3 0x14200 bored softnet2 23696 395655 0 0 3 0x14200 bored softnet1 85085 34070 0 0 3 0x14200 bored softnet0 39449 339029 0 0 3 0x14200 bored systqmp 82013 489434 0 0 3 0x14200 bored systq 16149 497967 0 0 3 0x14200 tmoslp softclockmp 36246 286166 0 0 3 0x40014200 tmoslp softclock 13780 415121 0 0 3 0x40014200 idle0 1 410295 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd806bc256e8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 mtx_enter_try+0x178 sys/kern/kern_lock.c:-1 #2 mtx_enter+0x60 sys/kern/kern_lock.c:239 #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_lower+0x703 sys/uvm/uvm_fault.c:1480 #5 uvm_fault+0x272 sys/uvm/uvm_fault.c:-1 #6 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 Process 35247 (syz-executor) thread 0xffff8000ffff27e0 (139695) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10205 11059K 11549K 166960K 12084 0 pcb 19 16K 18K 166960K 162 0 rtable 201 8K 9K 166960K 410 0 pf 37 18K 19K 166960K 75 0 ifaddr 38 6K 7K 166960K 57 0 ifgroup 51 2K 2K 166960K 75 0 sysctl 4 1K 1K 166960K 6 0 counters 62 36K 37K 166960K 88 0 ioctlops 0 0K 4K 166960K 1525 0 iov 0 0K 12K 166960K 13 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1404 88K 89K 166960K 1704 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 75 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 462 0 sigio 1 0K 0K 166960K 2 0 proc 72 91K 128K 166960K 561 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 42 0 in_multi 84 6K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 416 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 237 168K 177K 166960K 5959 0 UVM aobj 12 2K 2K 166960K 12 0 pinsyscall 42 84K 104K 166960K 1579 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 11 0K 2K 166960K 35 0 temp 50 8681K 8749K 166960K 24983 0 kqueue 13 20K 28K 166960K 68 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> 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 119 0 115 3 0 3 3 0 8 2 rtentry 168 124 0 37 5 0 5 5 0 8 0 unpcb 144 835 0 815 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 103 0 97 4 3 1 4 0 8 0 arp 120 20 0 3 1 0 1 1 0 8 0 inpcb 376 606 0 593 15 7 8 15 0 8 5 nd6 136 25 0 5 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1168 11 0 11 1 0 1 1 0 8 1 pppxif 1480 1 0 1 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 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 3 0 0 1 0 1 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 pfstitem 24 42 0 3 1 0 1 1 0 8 0 pfstkey 128 44 0 5 2 0 2 2 0 8 0 pfstate 376 42 0 3 4 0 4 4 0 8 0 pfrule 1344 27 0 20 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 529 0 133 29 0 29 29 0 8 4 art_table 32 531 0 133 4 0 4 4 0 8 0 art_node 16 122 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 4 1 0 1 1 0 8 0 semapl 112 7 0 4 1 0 1 1 0 8 0 shmpl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 22 0 5 3 0 3 3 0 8 0 dino2pl 256 2161 0 652 95 0 95 95 0 8 0 ffsino 280 2161 0 652 109 0 109 109 0 8 0 nchpl 144 2828 0 1133 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2494 0 0 51 0 51 51 0 8 0 vnodes 216 2494 0 0 139 0 139 139 0 8 0 namei 1024 9058 0 9058 1 0 1 1 0 8 1 percpumem 16 58 0 13 1 0 1 1 0 8 0 kstatmem 264 38 0 16 2 0 2 2 0 8 0 acpiwqpl 32 2 0 2 1 0 1 1 1 8 1 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 8959 0 8959 10 2 8 8 1 8 8 plimitpl 152 67 0 49 1 0 1 1 0 8 0 sigapl 424 793 0 721 10 1 9 9 0 8 0 futexpl 64 5574 0 5573 1 0 1 1 0 8 0 knotepl 120 398 0 0 13 0 13 13 0 8 0 kqueuepl 216 183 0 174 5 4 1 5 0 8 0 pipepl 328 128 0 101 3 0 3 3 0 8 0 fdescpl 504 753 0 722 5 0 5 5 0 8 0 filepl 152 4535 0 4313 15 0 15 15 0 8 5 lockfpl 104 107 0 105 1 0 1 1 0 8 0 lockfspl 48 47 0 45 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 38 0 21 1 0 1 1 0 8 0 ucredpl 104 351 0 337 1 0 1 1 0 8 0 zombiepl 144 724 0 721 1 0 1 1 0 8 0 processpl 1176 793 0 721 6 0 6 6 0 8 0 procpl 656 1365 0 1287 8 0 8 8 0 8 0 srpgc 96 2 0 2 1 0 1 1 0 8 1 sosppl 168 3 0 3 1 0 1 1 0 8 1 sockpl 688 1569 0 1533 25 13 12 17 0 8 8 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 115 0 0 15 0 15 15 0 8 0 mcl2k 2048 23 0 0 3 0 3 3 0 8 0 mtagpl 96 52 0 0 2 0 2 2 0 8 0 mbufpl 256 268 0 0 17 0 17 17 0 8 0 bufpl 280 2953 0 119 203 0 203 203 0 8 0 anonpl 24 125113 0 121760 36 2 34 34 0 184 10 amapchunkpl 152 18451 0 17967 26 0 26 26 0 158 6 amappl16 200 2104 0 2070 5 3 2 5 0 8 0 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 117 0 105 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1409 0 1378 3 1 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 257 0 257 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 115 0 102 1 0 1 1 0 8 0 amappl6 120 177 0 174 1 0 1 1 0 8 0 amappl5 112 125 0 113 1 0 1 1 0 8 0 amappl4 104 326 0 307 1 0 1 1 0 8 0 amappl3 96 3438 0 3323 5 1 4 4 0 8 0 amappl2 88 655 0 593 2 0 2 2 0 8 0 amappl1 80 9860 0 9257 15 0 15 15 0 8 0 amappl 88 5191 0 5027 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 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 753 0 722 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 753 0 722 1 0 1 1 0 8 0 vmmpekpl 168 7791 0 7752 3 0 3 3 0 8 0 vmmpepl 168 53120 0 51116 94 0 94 94 0 357 4 vmsppl 456 752 0 722 5 0 5 5 0 8 0 rwobjpl 64 18728 0 15282 56 0 56 56 0 8 0 pdppl 4096 1513 0 1444 105 34 71 85 0 8 2 pvpl 32 12498 0 0 101 0 101 101 0 265 0 pmappl 248 752 0 722 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 287 0 39 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace proc_trampoline() at proc_trampoline+0xc7 end of kernel end trace frame: 0xfaaf464b4f0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029a9bff0) 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,20) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,20) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(20) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x524 db_force_whitespace sys/ddb/db_output.c:102 [inline] db_putchar(65) at db_putchar+0x524 sys/ddb/db_output.c:153 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff833eed91) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833941b7) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80003a4ca8e0,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80003a4ca8e0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 end trace frame: 0xffff80003a4caa10, count: 0 ddb{1}> trace x86_ipi_db(ffff800029a9bff0) 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,20) at comcnputc+0xd0 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,20) at comcnputc+0xd0 sys/dev/ic/com.c:1259 cnputc(20) at cnputc+0x61 sys/dev/cons.c:218 db_putchar(65) at db_putchar+0x524 db_force_whitespace sys/ddb/db_output.c:102 [inline] db_putchar(65) at db_putchar+0x524 sys/ddb/db_output.c:153 kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065 db_printf(ffffffff833eed91) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833941b7) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157 kpageflttrap(ffff80003a4ca8e0,0) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290 kerntrap(ffff80003a4ca8e0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff800001495000) at dt_ioctl_record_stop+0xf0 sys/dev/dt/dt_dev.c:579 dtclose(11e5f,81,2000,ffff80003c5834b8) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c5834b8) at dtclose+0x105 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003a4caa90) at spec_close+0x45f sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8066ab5e90,81,fffffd807f7d35b0,ffff80003c5834b8) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806bbd0ef0,ffff80003c5834b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806bbd0ef0,ffff80003c5834b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806bbd0ef0,ffff80003c5834b8) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd806bbd0ef0,ffff80003c5834b8) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff80003c5834b8) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff80003c5834b8,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff80003c5834b8,ffff80003a4cae00,ffff80003a4cad50) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003a4cae00) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003a4cae00) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x750fe775c940, count: -25