*cpu1: uvm_fault(0xfffffd806e3d1010, 0x0, 0, 1) -> e ddb{0}> trace proc_trampoline() at proc_trampoline+0xc7 end trace frame: 0x0, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c439cf0 rbx 0 rdx 0 rcx 0xffff80003c433788 rax 0x2a r8 0xffff80003c439c20 r9 0 r10 0xcfb5298f9d030e75 r11 0x61b7e65a94126548 r12 0 r13 0 r14 0 r15 0 rip 0xffffffff8202d4c7 proc_trampoline+0xc7 cs 0x8 rflags 0x246 rsp 0xffff80003c439c70 ss 0x10 proc_trampoline+0xc7: movl $0,%gs:0x688 ddb{0}> show proc PROC (syz-executor) tid=365426 pid=85780 tcnt=2 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=0xffff80003c433cb8,0xffff80003c433a30 process=0xffff80003affd830 user=0xffff80003c434000, vmspace=0xfffffd805e4ec5e0 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84412 281460 79258 0 2 0 syz-executor 85780 500029 88086 0 2 0 syz-executor *85780 365426 88086 0 7 0x4000000 syz-executor 41912 259311 46223 0 2 0 syz-executor 41912 361685 46223 0 2 0x4000000 syz-executor 10442 326475 89837 0 3 0x80 nanoslp syz-executor 10442 265100 89837 0 3 0x4000080 fsleep syz-executor 10442 480842 89837 0 3 0x4000080 ttyretype syz-executor 10442 3296 89837 0 3 0x4000080 fsleep syz-executor 44425 480412 26333 0 2 0 syz-executor 44425 203416 26333 0 3 0x4000080 fsleep syz-executor 44425 148745 26333 0 3 0x4000080 fsleep syz-executor 67539 168860 63078 0 2 0 syz-executor 67539 63129 63078 0 3 0x4000080 kqsel syz-executor 67539 111291 63078 0 3 0x4000080 fsleep syz-executor 66845 517337 0 0 3 0x14200 acct acct 17616 300384 1 0 3 0x100083 ttyin getty 26333 375159 23918 0 3 0x82 nanoslp syz-executor 17745 315681 0 0 3 0x14280 nfsidl nfsio 18069 238232 0 0 3 0x14280 nfsidl nfsio 7495 294556 0 0 3 0x14280 nfsidl nfsio 84973 269170 0 0 3 0x14280 nfsidl nfsio 90717 511444 0 0 3 0x14280 nfsidl nfsio 76898 293649 0 0 3 0x14280 nfsidl nfsio 12372 465350 0 0 3 0x14280 nfsidl nfsio 32319 90507 0 0 3 0x14280 nfsidl nfsio 13233 330225 0 0 3 0x14280 nfsidl nfsio 31247 515655 0 0 3 0x14280 nfsidl nfsio 65181 221013 0 0 3 0x14280 nfsidl nfsio 48979 252801 0 0 3 0x14280 nfsidl nfsio 81741 265858 0 0 3 0x14280 nfsidl nfsio 15719 35837 0 0 3 0x14280 nfsidl nfsio 85615 190334 0 0 3 0x14280 nfsidl nfsio 58002 506259 0 0 3 0x14280 nfsidl nfsio 47820 395483 0 0 3 0x14280 nfsidl nfsio 26226 519691 0 0 3 0x14280 nfsidl nfsio 72199 130516 0 0 3 0x14280 nfsidl nfsio 49843 130624 0 0 3 0x14280 nfsidl nfsio 79258 359676 23918 0 3 0x82 nanoslp syz-executor 55924 135379 0 0 3 0x14200 bored sosplice 89837 383173 23918 0 3 0x82 nanoslp syz-executor 46223 490050 23918 0 3 0x82 nanoslp syz-executor 63078 115635 23918 0 3 0x82 nanoslp syz-executor 79749 308978 23918 0 3 0x82 nanoslp syz-executor 88086 5659 23918 0 3 0x82 nanoslp syz-executor 33943 408833 23918 0 2 0x2 syz-executor 23918 327885 10303 0 3 0x82 kqread syz-executor 10303 456103 24278 0 3 0x10008a sigsusp ksh 24278 183759 47887 0 3 0x98 kqread sshd-session 47887 314256 80226 0 3 0x92 kqread sshd-session 80226 37160 1 0 3 0x88 kqread sshd 39513 296888 60056 74 3 0x1100092 bpf pflogd 60056 115925 1 0 3 0x80 sbwait pflogd 72172 217477 69466 73 3 0x1100090 kqread syslogd 69466 115266 1 0 3 0x100082 sbwait syslogd 27890 439022 1 0 3 0x100080 kqread resolvd 74541 437384 9879 77 3 0x100092 kqread dhcpleased 49542 446497 9879 77 3 0x100092 kqread dhcpleased 9879 134965 1 0 3 0x80 kqread dhcpleased 46940 208609 0 0 3 0x14200 bored smr 22619 45102 0 0 2 0x14200 zerothread 26200 314189 0 0 3 0x14200 aiodoned aiodoned 11941 424307 0 0 3 0x14200 syncer update 77987 341658 0 0 3 0x14200 cleaner cleaner 56502 358364 0 0 3 0x14200 reaper reaper 63045 59773 0 0 3 0x14200 pgdaemon pagedaemon 63083 365115 0 0 3 0x14200 bored viomb 83761 198918 0 0 3 0x40014200 acpi0 acpi0 67277 517852 0 0 3 0x40014200 idle1 11146 522565 0 0 3 0x14200 bored softnet1 8495 364034 0 0 3 0x14200 bored softnet0 57545 180827 0 0 3 0x14200 smrbar systqmp 67646 113043 0 0 3 0x14200 bored systq 30010 309997 0 0 3 0x14200 tmoslp softclockmp 4134 154531 0 0 3 0x40014200 tmoslp softclock 83379 445628 0 0 3 0x40014200 idle0 1 482591 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex &sched_lock r = 0 (0xffffffff8399b118) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 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 yield+0x35 sys/kern/sched_bsd.c:323 #4 pool_get+0x27e sys/kern/subr_pool.c:591 #5 falloc+0x197 fnew sys/kern/kern_descrip.c:1048 [inline] #5 falloc+0x197 sys/kern/kern_descrip.c:1022 #6 doopenat+0x1a7 sys/kern/vfs_syscalls.c:1106 #7 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #7 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 #8 Xsyscall+0x128 Process 85780 (syz-executor) thread 0xffff80003c433788 (365426) Process 41912 (syz-executor) thread 0xffff80003c4322c8 (361685) Process 33943 (syz-executor) thread 0xffff8000ffffdc90 (408833) Process 57545 (systqmp) thread 0xffff8000ffffea60 (180827) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10234 11078K 12450K 166960K 13383 0 pcb 18 16K 18K 166960K 227 0 rtable 176 7K 8K 166960K 408 0 pf 31 17K 19K 166960K 147 0 ifaddr 36 6K 8K 166960K 105 0 ifgroup 47 2K 2K 166960K 174 0 sysctl 4 1K 9K 166960K 8 0 counters 64 36K 37K 166960K 178 0 ioctlops 0 0K 4K 166960K 1616 0 iov 0 0K 20K 166960K 67 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1499 94K 94K 166960K 2554 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 38 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 240K 166960K 1059 0 sigio 0 0K 0K 166960K 15 0 proc 72 115K 164K 166960K 683 0 subproc 72 4K 6K 166960K 189 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 113 0 in_multi 80 5K 7K 166960K 161 0 ether_multi 1 0K 0K 166960K 9 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 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 636 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 231 161K 172K 166960K 11294 0 UVM aobj 41 4K 4K 166960K 42 0 pinsyscall 43 86K 106K 166960K 2195 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 62 0 NDP 10 0K 1K 166960K 76 0 temp 78 8652K 8908K 166960K 41880 0 kqueue 14 22K 26K 166960K 186 0 SYN cache 2 8K 16K 166960K 3 0 ddb{0}> 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 126 0 123 2 1 1 2 0 8 0 rtentry 176 133 0 62 5 0 5 5 0 8 0 unpcb 144 845 0 827 13 10 3 6 0 8 2 syncache 336 8 0 8 4 3 1 1 0 8 1 tcpqe 32 3 0 3 2 1 1 1 0 8 1 tcpcb 736 381 0 374 14 12 2 7 0 8 1 arp 136 13 0 4 1 0 1 1 0 8 0 inpcb 328 1251 0 1238 10 8 2 7 0 8 0 nd6 152 24 0 11 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1192 43 0 43 2 1 1 1 0 8 1 pppxif 1504 3 0 3 1 1 0 1 0 8 0 pffrag 232 7 0 2 1 0 1 1 0 482 0 pffrnode 88 4 0 0 1 0 1 1 0 8 0 pffrent 40 16 0 11 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 69 0 29 1 0 1 1 0 8 0 pfstkey 128 69 0 29 2 0 2 2 0 8 0 pfstate 384 69 0 29 5 0 5 5 0 8 0 pfrule 1344 23 0 18 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 614 0 265 30 4 26 29 0 8 2 art_table 40 617 0 265 5 0 5 5 0 8 0 art_node 32 132 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 2 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 35 0 25 1 0 1 1 0 8 0 shmpl 112 39 0 1 2 0 2 2 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 3313 0 1806 96 1 95 96 0 8 0 ffsino 296 3313 0 1806 117 0 117 117 0 8 0 nchpl 144 4776 0 3085 64 0 64 64 0 8 0 rtmask 32 6 0 6 2 1 1 1 0 8 1 uvmvnodes 80 4208 0 0 86 0 86 86 0 8 0 vnodes 216 4208 0 0 234 0 234 234 0 8 0 namei 1024 17152 0 17152 4 3 1 2 0 8 1 percpumem 16 104 0 57 1 0 1 1 0 8 0 kstatmem 264 110 0 88 5 2 3 3 0 8 1 scsiplug 72 5 0 5 1 1 0 1 0 8 0 scxspl 216 35720 0 35720 16 14 2 8 1 8 2 plimitpl 152 249 0 231 1 0 1 1 0 8 0 sigapl 424 1357 0 1287 9 1 8 8 0 8 0 knotepl 120 541 0 0 17 0 17 17 0 8 0 kqueuepl 224 476 0 464 6 3 3 4 0 8 2 pipepl 344 305 0 277 9 6 3 9 0 8 0 fdescpl 528 1316 0 1284 3 0 3 3 0 8 0 filepl 160 9023 0 8797 30 12 18 18 0 8 7 lockfpl 104 872 0 870 4 2 2 2 0 8 1 lockfspl 48 312 0 310 1 0 1 1 0 8 0 sessionpl 144 31 0 22 1 0 1 1 0 8 0 pgrppl 48 97 0 80 1 0 1 1 0 8 0 ucredpl 104 1219 0 1205 1 0 1 1 0 8 0 zombiepl 144 1400 0 1399 2 1 1 1 0 8 0 processpl 1232 1357 0 1287 6 0 6 6 0 8 0 procpl 664 2905 0 2826 8 0 8 8 0 8 0 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 752 2261 0 2227 37 29 8 24 0 8 3 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 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 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 122 0 0 16 0 16 16 0 8 0 mcl2k 2048 37 0 0 5 0 5 5 0 8 0 mtagpl 96 14 0 0 1 0 1 1 0 8 0 mbufpl 256 1214 0 0 75 0 75 75 0 8 0 bufpl 280 17844 0 11701 440 0 440 440 0 8 0 anonpl 32 12719 0 0 103 0 103 103 0 246 0 amapchunkpl 152 37012 0 36359 39 13 26 32 0 158 0 amappl16 200 5781 0 5745 39 28 11 28 0 8 0 amappl15 192 7 0 7 2 2 0 1 0 8 0 amappl14 184 123 0 111 1 0 1 1 0 8 0 amappl13 176 6 0 6 2 2 0 1 0 8 0 amappl12 168 1989 0 1959 4 1 3 3 0 8 0 amappl11 160 49 0 35 1 0 1 1 0 8 0 amappl10 152 20 0 20 1 1 0 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 24 0 21 1 0 1 1 0 8 0 amappl7 128 113 0 101 1 0 1 1 0 8 0 amappl6 120 202 0 196 1 0 1 1 0 8 0 amappl5 112 132 0 123 1 0 1 1 0 8 0 amappl4 104 339 0 318 1 0 1 1 0 8 0 amappl3 96 6455 0 6362 3 0 3 3 0 8 0 amappl2 88 1594 0 1514 2 0 2 2 0 8 0 amappl1 80 12974 0 12382 15 0 15 15 0 8 0 amappl 88 10420 0 10260 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 0 1 1 0 8 1 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 258 0 258 3 2 1 1 0 8 1 dma64 64 7 0 7 2 2 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 41 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1316 0 1284 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1316 0 1284 1 0 1 1 0 8 0 vmmpekpl 168 12686 0 12641 3 0 3 3 0 8 0 vmmpepl 168 90127 0 88137 111 11 100 110 0 357 3 vmsppl 488 1315 0 1284 6 1 5 5 0 8 0 rwobjpl 80 30971 0 25799 107 0 107 107 0 8 0 pdppl 4096 2640 0 2568 106 34 72 86 0 8 0 pvpl 32 20995 0 0 170 0 170 170 0 265 0 pmappl 256 1315 0 1284 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 366 0 59 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace proc_trampoline() at proc_trampoline+0xc7 end trace frame: 0x0, count: -1 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) 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_write_1(3f8,0,2c) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:782 comcnputc(800,2c) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,2c) at comcnputc+0x1ab sys/dev/ic/com.c:1263 cnputc(2c) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(2c) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29a5 sys/kern/subr_prf.c:-1 db_printf(ffffffff83311ead) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833d5055) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80003c49b020,0) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff80003c49b020) at kerntrap+0x198 sys/arch/amd64/amd64/trap.c:489 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000146f000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 end trace frame: 0xffff80003c49b150, count: 0 ddb{1}> trace x86_ipi_db(ffff8000299edff0) 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_write_1(3f8,0,2c) at x86_bus_space_io_write_1+0x40 sys/arch/amd64/amd64/bus_space.c:782 comcnputc(800,2c) at comcnputc+0x1ab bus_space_barrier sys/dev/ic/com.c:-1 [inline] comcnputc(800,2c) at comcnputc+0x1ab sys/dev/ic/com.c:1263 cnputc(2c) at cnputc+0x67 sys/dev/cons.c:218 db_putchar(2c) at db_putchar+0x36d sys/ddb/db_output.c:155 kprintf() at kprintf+0x29a5 sys/kern/subr_prf.c:-1 db_printf(ffffffff83311ead) at db_printf+0x9b sys/kern/subr_prf.c:-1 fault(ffffffff833d5055) at fault+0xa7 sys/arch/amd64/amd64/trap.c:161 kpageflttrap(ffff80003c49b020,0) at kpageflttrap+0x37d sys/arch/amd64/amd64/trap.c:296 kerntrap(ffff80003c49b020) at kerntrap+0x198 sys/arch/amd64/amd64/trap.c:489 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000146f000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:586 dtclose(11e5f,81,2000,ffff8000ffffc538) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff8000ffffc538) at dtclose+0x109 sys/dev/dt/dt_dev.c:232 spec_close(ffff80003c49b1d0) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd80657c8498,81,fffffd80097fb548,ffff8000ffffc538) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806b9ace90,ffff8000ffffc538) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806b9ace90,ffff8000ffffc538) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806b9ace90,ffff8000ffffc538) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806b9ace90,ffff8000ffffc538) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff8000ffffc538) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff8000ffffc538,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff8000ffffc538,ffff80003c49b540,ffff80003c49b490) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c49b540) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c49b540) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7581c5ab87f0, count: -25