*cpu1: uvm_fault(0xfffffd806ec395c8, 0x0, 0, 1) -> e ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x76248bce4b40, count: -1 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c445780 rbx 0 rdx 0 rcx 0xffff8000fffeb778 rax 0x3b r8 0xffff80003c4456b0 r9 0 r10 0x92251e6bcd52f246 r11 0xbb02b1960bee170c r12 0 r13 0 r14 0xffff8000fffeb778 r15 0 rip 0xffffffff81eee3ee savectx+0xae cs 0x8 rflags 0x46 rsp 0xffff80003c445700 ss 0 savectx+0xae: movl $0,%gs:0x688 ddb{0}> show proc PROC (syz-executor) tid=321883 pid=63400 tcnt=4 stat=onproc flags process=0 proc=0 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4462c8,0xffff80003c446040 process=0xffff80003bc01d10 user=0xffff80003c440000, vmspace=0xfffffd8063b025d8 estcpu=36, cpticks=3, pctcpu=0.0, user=2, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *63400 321883 69324 0 7 0 syz-executor 63400 73481 69324 0 2 0x4000000 syz-executor 63400 491543 69324 0 2 0x4000000 syz-executor 63400 429096 69324 0 2 0x4000000 syz-executor 78486 116881 70453 0 2 0x100002 sh 51872 215782 87691 0 2 0 syz-executor 51872 475577 87691 0 3 0x4000000 biowait syz-executor 94863 141541 14851 -1 2 0x10 syz-executor 94863 478262 14851 -1 3 0x4000090 fsleep syz-executor 93380 301191 63113 0 2 0 syz-executor 93380 462114 63113 0 2 0x4000000 syz-executor 93380 424173 63113 0 3 0x4000080 fsleep syz-executor 93380 407494 63113 0 3 0x4000080 fsleep syz-executor 55025 235143 84722 0 3 0x80 nanoslp syz-executor 55025 242168 84722 0 3 0x4000080 kqsel syz-executor 55025 168674 84722 0 3 0x4000080 fsleep syz-executor 70453 6364 85707 0 3 0x82 wait syz-executor 63113 69175 85707 0 3 0x82 nanoslp syz-executor 91918 517284 0 0 3 0x14200 acct acct 69324 419115 85707 0 3 0x82 nanoslp syz-executor 87691 50780 85707 0 3 0x82 nanoslp syz-executor 14851 17178 85707 0 3 0x82 nanoslp syz-executor 89846 282717 1 0 3 0x100083 ttyopn getty 55467 107634 85707 0 3 0x82 nanoslp syz-executor 84722 245685 85707 0 3 0x82 nanoslp syz-executor 95142 57983 85707 0 3 0x2 getblk syz-executor 85707 125698 61280 0 2 0x2 syz-executor 61280 40187 21465 0 3 0x10008a sigsusp ksh 21465 276857 53026 0 3 0x98 kqread sshd-session 53026 181867 27634 0 3 0x92 kqread sshd-session 27634 44176 1 0 3 0x88 kqread sshd 31888 49386 66976 74 3 0x1100092 bpf pflogd 66976 124894 1 0 3 0x80 sbwait pflogd 12168 39275 95775 73 3 0x1100090 kqread syslogd 95775 345406 1 0 3 0x100082 sbwait syslogd 74025 166679 1 0 3 0x100080 kqread resolvd 27268 343465 0 0 3 0x14200 bored smr 78980 496014 0 0 2 0x14200 zerothread 50427 204344 0 0 3 0x14200 aiodoned aiodoned 40059 368956 0 0 3 0x14200 syncer update 49608 248552 0 0 3 0x14200 cleaner cleaner 47950 495262 0 0 2 0x14200 reaper 10264 142029 0 0 3 0x14200 pgdaemon pagedaemon 34726 147773 0 0 3 0x14200 bored viomb 98510 447490 0 0 3 0x40014200 acpi0 acpi0 44549 11209 0 0 3 0x40014200 idle1 33954 320598 0 0 3 0x14200 bored softnet1 59220 500085 0 0 3 0x14200 bored softnet0 42936 160035 0 0 3 0x14200 bored systqmp 77641 306878 0 0 3 0x14200 bored systq 32198 311540 0 0 3 0x14200 tmoslp softclockmp 67730 469806 0 0 3 0x40014200 tmoslp softclock 45153 452139 0 0 3 0x40014200 idle0 1 139626 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex amapchunkpl r = 0 (0xffffffff838b6248) #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 pool_get+0x124 sys/kern/subr_pool.c:581 #4 amap_alloc1+0x330 sys/uvm/uvm_amap.c:-1 #5 amap_alloc+0xad sys/uvm/uvm_amap.c:-1 #6 amap_copy+0x6ac sys/uvm/uvm_amap.c:569 #7 uvm_fault_check+0x483 sys/uvm/uvm_fault.c:753 #8 uvm_fault+0x106 sys/uvm/uvm_fault.c:633 #9 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:192 #10 usertrap+0x42f sys/arch/amd64/amd64/trap.c:622 #11 recall_trap+0x8 Process 63400 (syz-executor) thread 0xffff80003c446030 (73481) Process 63400 (syz-executor) thread 0xffff8000fffebca8 (429096) Process 51872 (syz-executor) thread 0xffff80003c446560 (475577) Process 93380 (syz-executor) thread 0xffff8000fffeb4e0 (462114) Process 95142 (syz-executor) thread 0xffff8000ffff2548 (57983) Process 47950 (reaper) thread 0xffff8000ffffd9f8 (495262) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10247 11090K 12417K 166960K 15807 0 pcb 18 18K 20K 166960K 1359 0 rtable 238 15K 16K 166960K 1367 0 pf 38 18K 82K 166960K 491 0 ifaddr 36 7K 10K 166960K 315 0 ifgroup 62 2K 3K 166960K 592 0 sysctl 4 1K 9K 166960K 41 0 counters 70 37K 38K 166960K 648 0 ioctlops 0 0K 4K 166960K 2795 0 iov 0 0K 28K 166960K 393 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1523 96K 96K 166960K 5606 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 2K 10K 166960K 69 0 VM map 2 1K 1K 166960K 2 0 sem 20 53K 85K 166960K 68 0 dirhash 12 2K 3K 166960K 102 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 5334 0 sigio 0 0K 0K 166960K 294 0 proc 67 83K 196K 166960K 1400 0 subproc 72 4K 4K 166960K 217 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 1012 0 in_multi 67 5K 7K 166960K 446 0 ether_multi 1 0K 0K 166960K 56 0 mrt 1 0K 0K 166960K 31 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 277 1235K 1235K 166960K 277 0 exec 0 0K 1K 166960K 1798 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 212 127K 170K 166960K 49449 0 UVM aobj 109 25K 25K 166960K 117 0 pinsyscall 36 72K 105K 166960K 6916 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 367 0 NDP 13 0K 2K 166960K 243 0 temp 89 8680K 8936K 166960K 252612 0 kqueue 8 14K 32K 166960K 978 0 SYN cache 2 0K 16K 166960K 4 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 537 0 536 5 3 2 3 0 8 1 rtentry 176 403 0 320 7 1 6 6 0 8 0 unpcb 144 4289 0 4278 24 23 1 7 0 8 0 syncache 336 21 0 21 7 7 0 1 0 8 0 tcpqe 32 5 0 5 3 3 0 1 0 8 0 tcpcb 736 1771 0 1764 32 25 7 7 0 8 5 arp 136 72 0 59 1 0 1 1 0 8 0 inpcb 328 6428 0 6420 44 37 7 12 0 8 5 nd6 152 85 0 65 2 0 2 2 0 8 1 pkpcb 40 35 0 35 4 4 0 1 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 2 0 1 0 8 0 ppxss 1192 228 0 228 4 3 1 1 0 8 1 pppxif 1504 21 0 21 4 4 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 69 0 48 3 1 2 2 0 482 0 pffrnode 88 64 0 45 2 1 1 1 0 8 0 pffrent 40 125 0 104 2 1 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 2 0 2 2 2 0 1 0 8 0 pfstitem 24 285 0 128 1 0 1 1 0 8 0 pfstkey 128 286 0 129 6 0 6 6 0 8 0 pfstate 448 286 0 129 19 0 19 19 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 7 0 2 7 2 5 5 0 8 0 art_heap4 256 1454 0 1137 39 17 22 30 0 8 0 art_table 40 1461 0 1139 5 1 4 5 0 8 0 art_node 32 403 0 332 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 38 1 0 1 1 0 8 0 semupl 112 3 0 3 3 3 0 1 0 8 0 semapl 112 59 0 41 1 0 1 1 0 8 0 shmpl 112 99 0 2 3 0 3 3 0 8 0 dirhash 1024 77 0 60 3 0 3 3 0 8 0 dino2pl 256 11540 0 9998 97 0 97 97 0 8 0 ffsino 296 11541 0 9998 119 0 119 119 0 8 0 nchpl 144 18776 0 17020 66 0 66 66 0 8 0 rtmask 32 54 0 54 5 4 1 1 0 8 1 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 68799 0 68796 6 5 1 2 0 8 0 percpumem 16 339 0 289 1 0 1 1 0 8 0 vcpupl 3968 11 0 2 2 0 2 2 0 8 0 vmpool 840 15 0 6 1 0 1 1 0 8 0 kstatmem 264 398 0 368 4 1 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 19 0 19 5 5 0 1 0 8 0 scxspl 216 112184 0 112183 17 16 1 8 1 8 0 plimitpl 152 1899 0 1881 1 0 1 1 0 8 0 sigapl 424 5599 0 5554 7 1 6 7 0 8 0 knotepl 120 569 0 0 17 0 17 17 0 8 0 kqueuepl 224 1934 0 1926 15 14 1 5 0 8 0 pipepl 344 1169 0 1140 21 17 4 9 0 8 0 fdescpl 528 5562 0 5534 3 0 3 3 0 8 0 filepl 160 42746 0 42534 43 27 16 21 0 8 3 lockfpl 104 2135 0 2134 2 1 1 2 0 8 0 lockfspl 48 743 0 742 1 0 1 1 0 8 0 sessionpl 144 57 0 49 1 0 1 1 0 8 0 pgrppl 48 256 0 239 1 0 1 1 0 8 0 ucredpl 104 7301 0 7288 1 0 1 1 0 8 0 zombiepl 144 6326 0 6325 1 0 1 1 0 8 0 processpl 1232 5599 0 5554 7 2 5 5 0 8 0 procpl 664 14316 0 14260 7 1 6 7 0 8 0 sosppl 176 39 0 39 4 4 0 1 0 8 0 sockpl 752 11444 0 11424 79 67 12 21 0 8 8 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 103 0 0 7 0 7 7 0 8 0 mtagpl 96 117 0 0 3 0 3 3 0 8 1 mbufpl 256 1357 0 0 83 0 83 83 0 8 0 bufpl 280 44681 0 38544 439 0 439 439 0 8 0 anonpl 32 13669 0 0 111 0 111 111 0 246 0 amapchunkpl 152 183461 0 183000 81 55 26 40 0 158 3 amappl16 200 16396 0 16342 122 113 9 33 0 8 0 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 8 0 8 1 1 0 1 0 8 0 amappl13 176 621 0 619 1 0 1 1 0 8 0 amappl12 168 6086 0 6050 3 0 3 3 0 8 0 amappl11 160 8 0 8 1 1 0 1 0 8 0 amappl10 152 47 0 39 1 0 1 1 0 8 0 amappl9 144 284 0 283 2 1 1 1 0 8 0 amappl8 136 57 0 54 1 0 1 1 0 8 0 amappl7 128 147 0 145 1 0 1 1 0 8 0 amappl6 120 482 0 471 1 0 1 1 0 8 0 amappl5 112 124 0 116 1 0 1 1 0 8 0 amappl4 104 588 0 562 1 0 1 1 0 8 0 amappl3 96 31064 0 30980 4 1 3 3 0 8 0 amappl2 88 5763 0 5704 2 0 2 2 0 8 0 amappl1 80 35530 0 35021 17 3 14 15 0 8 0 amappl 88 47507 0 47352 5 0 5 5 0 92 0 uvmvnodes 80 233 0 0 5 0 5 5 0 8 0 dma65536 65536 3 0 3 3 2 1 1 0 8 1 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 2 0 2 1 1 0 1 0 8 0 dma8192 8192 2 0 2 2 2 0 1 0 8 0 dma4096 4096 3 0 3 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 11 0 11 6 6 0 1 0 8 0 dma128 128 260 0 260 5 5 0 1 0 8 0 dma64 64 12 0 12 5 5 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 116 0 8 2 0 2 2 0 8 0 uaddrrnd 24 5562 0 5534 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5562 0 5534 1 0 1 1 0 8 0 vmmpekpl 168 44220 0 44164 4 0 4 4 0 8 0 vmmpepl 168 351557 0 349874 153 64 89 112 0 357 3 vmsppl 488 5561 0 5534 6 1 5 5 0 8 0 rwobjpl 80 88114 0 86950 42 8 34 36 0 8 0 pdppl 4096 11161 0 11089 148 72 76 83 0 8 4 pvpl 32 22236 0 0 180 0 180 180 0 265 0 pmappl 256 5576 0 5540 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 486 0 144 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace savectx() at savectx+0xae end of kernel end trace frame: 0x76248bce4b40, 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_read_1(3f8,5) at x86_bus_space_io_read_1+0x37 sys/arch/amd64/amd64/bus_space.c:670 comcnputc(800,61) at comcnputc+0x250 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,61) at comcnputc+0x250 sys/dev/ic/com.c:1269 cnputc(61) at cnputc+0x67 sys/dev/cons.c:218 kputchar(61,5,0) at kputchar+0x2ed sys/kern/subr_prf.c:367 kprintf() at kprintf+0x29a5 sys/kern/subr_prf.c:-1 printf(ffffffff834570e5) at printf+0x8b sys/kern/subr_prf.c:529 trap_print(ffff80002a3bd960,6) at trap_print+0x70 sys/arch/amd64/amd64/trap.c:643 kerntrap(ffff80002a3bd960) at kerntrap+0x2e6 sys/arch/amd64/amd64/trap.c:506 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000171a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c4462c8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c4462c8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 end trace frame: 0xffff80002a3bdb00, 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_read_1(3f8,5) at x86_bus_space_io_read_1+0x37 sys/arch/amd64/amd64/bus_space.c:670 comcnputc(800,61) at comcnputc+0x250 comcn_read_reg sys/dev/ic/com.c:1655 [inline] comcnputc(800,61) at comcnputc+0x250 sys/dev/ic/com.c:1269 cnputc(61) at cnputc+0x67 sys/dev/cons.c:218 kputchar(61,5,0) at kputchar+0x2ed sys/kern/subr_prf.c:367 kprintf() at kprintf+0x29a5 sys/kern/subr_prf.c:-1 printf(ffffffff834570e5) at printf+0x8b sys/kern/subr_prf.c:529 trap_print(ffff80002a3bd960,6) at trap_print+0x70 sys/arch/amd64/amd64/trap.c:643 kerntrap(ffff80002a3bd960) at kerntrap+0x2e6 sys/arch/amd64/amd64/trap.c:506 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b dt_ioctl_record_stop(ffff80000171a000) at dt_ioctl_record_stop+0x108 sys/dev/dt/dt_dev.c:593 dtclose(11e5f,81,2000,ffff80003c4462c8) at dtclose+0x109 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline] dtclose(11e5f,81,2000,ffff80003c4462c8) at dtclose+0x109 sys/dev/dt/dt_dev.c:239 spec_close(ffff80002a3bdb10) at spec_close+0x466 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8072925da8,81,fffffd80097fd820,ffff80003c4462c8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd807044e500,ffff80003c4462c8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd807044e500,ffff80003c4462c8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd807044e500,ffff80003c4462c8) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd807044e500,ffff80003c4462c8) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff80003c4462c8) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff80003c4462c8,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff80003c4462c8,ffff80002a3bde80,ffff80002a3bddd0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a3bde80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a3bde80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:765 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76fcea2d7d10, count: -24