*cpu1: uvm_fault(0xffffffff835c9480, 0xffff80002a0c5000, 0, 1) -> e
ddb{0}> trace
savectx() at savectx+0xae
end of kernel
end trace frame: 0x76c4bee3f20, count: -1
ddb{0}> show registers
rdi                                0
rsi                                0
rbp               0xffff80002a08e810
rbx                                0
rdx                                0
rcx               0xffff8000ffff2020
rax                             0x32
r8                0xffff80002a08e740
r9                0x8080808080808080
r10               0xde0a65e555f81f2e
r11               0x808e1fb6f11ab8b6
r12                                0
r13                                0
r14               0xffff8000ffff2020
r15                                0
rip               0xffffffff828bc3ee    savectx+0xae
cs                               0x8
rflags                          0x46
rsp               0xffff80002a08e790
ss                              0x10
savectx+0xae:   movl    $0,%gs:0x680
ddb{0}> show proc
PROC (syz-executor) tid=123682 pid=5018 tcnt=4 stat=onproc
    flags process=10<SUGID> proc=4000000<THREAD>
    runpri=50, usrpri=50, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
    forw=0xffffffffffffffff, list=0xffff8000ffff2530,0xffff8000ffff27c8
    process=0xffff8000ffff71f0 user=0xffff80002a089000, vmspace=0xfffffd806bec0dc0
    estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 66221  210534  95989      0  2           0                syz-executor
 66221  465808  95989      0  7   0x4000000                syz-executor
  5018  129387  16098  60928  3        0x90  nanoslp       syz-executor
* 5018  123682  16098  60928  7   0x4000010                syz-executor
  5018   97877  16098  60928  3   0x4000090  fsleep        syz-executor
  5018  179137  16098  60928  3   0x4000090  fsleep        syz-executor
 73156   23116  32603      0  3        0x80  nanoslp       syz-executor
 73156  312802  32603      0  3   0x4000080  kqpoll        syz-executor
 73156  477398  32603      0  3   0x4000080  fsleep        syz-executor
 15009  489531  69698  60928  3        0x90  nanoslp       syz-executor
 15009   87820  69698  60928  3   0x4000090  fsleep        syz-executor
 15009  443318  69698  60928  3   0x4000090  sbwait        syz-executor
 15009  253570  69698  60928  3   0x4000090  fsleep        syz-executor
 72224  145846  29073      0  3        0x80  nanoslp       syz-executor
 72224  362396  29073      0  3   0x4000080  ttyin         syz-executor
 72224  104553  29073      0  3   0x4000080  fsleep        syz-executor
 32103  277875      1      0  3    0x100083  ttyin         getty
 29073   17640  68733      0  3        0x82  nanoslp       syz-executor
 32603  345221  68733      0  3        0x82  nanoslp       syz-executor
 13573  304678  68733      0  3         0x2  biowait       syz-executor
 16098  337288  68733      0  3        0x82  nanoslp       syz-executor
 11106  285470  68733      0  3        0x82  wait          syz-executor
 69698  485226  68733      0  3        0x82  nanoslp       syz-executor
  7296  181989  68733      0  3        0x82  wait          syz-executor
 95989  300263  68733      0  3        0x82  nanoslp       syz-executor
 54991  300840      0      0  3     0x14200  bored         sosplice
 68733  504194  14469      0  3        0x82  kqread        syz-executor
 14469  286089  76928      0  3    0x10008a  sigsusp       ksh
 76928  142542  74178      0  3        0x98  kqread        sshd-session
 74178  259930  43347      0  3        0x92  kqread        sshd-session
 43347  340538      1      0  3        0x88  kqread        sshd
 90600  102367  33590     74  3   0x1100092  bpf           pflogd
 33590   16043      1      0  3        0x80  sbwait        pflogd
 63581  323796  55097     73  3   0x1100090  kqread        syslogd
 55097  348099      1      0  3    0x100082  sbwait        syslogd
 27172  516828      1      0  3    0x100080  kqread        resolvd
 84091  181911  45678     77  3    0x100092  kqread        dhcpleased
 99001  487541  45678     77  3    0x100092  kqread        dhcpleased
 45678  228752      1      0  3        0x80  kqread        dhcpleased
 34423  200177      0      0  3     0x14200  bored         smr
 77620  445393      0      0  2     0x14200                zerothread
 86610  356213      0      0  3     0x14200  aiodoned      aiodoned
 34038  509950      0      0  3     0x14200  syncer        update
 83939  103571      0      0  3     0x14200  cleaner       cleaner
 56923  268296      0      0  3     0x14200  reaper        reaper
 74091  286143      0      0  3     0x14200  pgdaemon      pagedaemon
 81929  516119      0      0  3     0x14200  bored         viomb
 69999  145385      0      0  3  0x40014200  acpi0         acpi0
 67121  351135      0      0  3  0x40014200                idle1
 24742  427022      0      0  3     0x14200  bored         softnet3
 44495   55316      0      0  3     0x14200  bored         softnet2
 72337   93063      0      0  3     0x14200  bored         softnet1
 94599  326034      0      0  3     0x14200  bored         softnet0
 59032  335767      0      0  3     0x14200  bored         systqmp
 18311  439274      0      0  3     0x14200  bored         systq
   826   28536      0      0  3     0x14200  tmoslp        softclockmp
 65821  381147      0      0  3  0x40014200  tmoslp        softclock
 35921  167035      0      0  3  0x40014200                idle0
     1  240351      0      0  3     0x80082  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{0}> show all locks
Process 66221 (syz-executor) thread 0xffff8000367b7200 (465808)
Process 5018 (syz-executor) thread 0xffff8000ffff2020 (123682)
Process 13573 (syz-executor) thread 0xffff8000ffffd960 (304678)
ddb{0}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf 10251  10201K   10705K 166960K     22743        0
            pcb    18     20K      22K 166960K      2041        0
         rtable   283     24K      25K 166960K     10281        0
             pf    61     23K      87K 166960K      1058        0
         ifaddr    48     11K      12K 166960K      1377        0
        ifgroup    80      3K       3K 166960K      1541        0
         sysctl     4      1K       5K 166960K        17        0
       counters    76     37K      38K 166960K       852        0
       ioctlops     0      0K       8K 166960K      2899        0
            iov     0      0K      24K 166960K       723        0
          mount     1      1K       1K 166960K         1        0
            log     0      0K       0K 166960K         4        0
         vnodes  1591    100K     100K 166960K     12831        0
      UFS quota     1     32K      32K 166960K         1        0
      UFS mount     5     36K      36K 166960K         5        0
            shm     2     36K      40K 166960K       101        0
         VM map     2      1K       1K 166960K         2        0
            sem    17     28K      28K 166960K       269        0
        dirhash    15      2K       3K 166960K       168        0
           ACPI  1697    195K     286K 166960K     12548        0
      file desc    17     61K      93K 166960K     11405        0
          sigio     0      0K       0K 166960K       171        0
           proc    74     91K     152K 166960K      9584        0
        subproc   104      6K       7K 166960K      3995        0
    NFS srvsock     1      0K       0K 166960K         1        0
     NFS daemon     1     16K      16K 166960K         1        0
    ip_moptions     0      0K       0K 166960K      1565        0
       in_multi    98      7K       7K 166960K      3684        0
    ether_multi     1      0K       0K 166960K        97        0
            mrt     1      0K       0K 166960K        17        0
    ISOFS mount     1     32K      32K 166960K         1        0
  MSDOSFS mount     1     16K      16K 166960K         1        0
           ttys   295   1314K    1314K 166960K       295        0
           exec     0      0K       1K 166960K      5661        0
     pfkey data     0      0K       0K 166960K        10        0
            tdb     3      0K       0K 166960K         3        0
        VM swap     8     62K      64K 166960K        10        0
       UVM amap   300    249K     259K 166960K     91988        0
       UVM aobj     8      2K       2K 166960K        10        0
     pinsyscall    42     84K     108K 166960K     20288        0
        memdesc     1      4K       4K 166960K         1        0
    crypto data     1      1K       1K 166960K         1        0
    ip6_options     0      0K       0K 166960K       475        0
            NDP    18      0K       2K 166960K      1023        0
           temp    88   6824K    7455K 166960K   1890204        0
         kqueue    13     20K      31K 166960K      1114        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     1674    0     1670    11    10     1     3     0     8    0
rtentry    112     3653    0     3546     7     3     4     4     0     8    0
unpcb      144     7811    0     7792    83    77     6     6     0     8    4
syncache   336        4    0        4     2     2     0     1     0     8    0
tcpcb      808     3818    0     3782   122   114     8     8     0     8    4
arp        120      656    0      638     1     0     1     1     0     8    0
inpcb      336    13871    0    13810   188   179     9    16     0     8    3
nd6        136      967    0      939     1     0     1     1     0     8    0
pkpcb       40       35    0       35    15    14     1     1     0     8    1
kcovpl      48      307    0      299     1     0     1     1     0     8    0
ppxss      1168      56    0       56    29    28     1     1     0     8    1
pfstscr     40       44    0       44     6     6     0     1     0     8    0
pffrag     232       90    0       85     3     2     1     1     0   482    0
pffrnode    88       88    0       83     3     2     1     1     0     8    0
pffrent     40      496    0      491     3     2     1     1     0     8    0
pfosfp      40     1431    0     1005     5     0     5     5     0     8    0
pfosfpen   112     1431    0      714    21     0    21    21     0     8    0
pfrktable  1344      43    0       28     6     4     2     2     0     8    0
pfanchor   1288      12    0        4     1     0     1     1     0     8    0
pftag       88       21    0       11     1     0     1     1     0     8    0
pfqueue    264        2    0        0     1     0     1     1     0     8    0
pfstitem    24      978    0      876     1     0     1     1     0     8    0
pfstkey    128     1073    0      965     4     0     4     4     0     8    0
pfstate    376     1019    0      921    13     3    10    10     0     8    0
pfrule     1344     227    0      156     7     1     6     6     0     8    0
art_heap8  4096       5    0        2     5     2     3     5     0     8    0
art_heap4  256    14395    0    13940    58    29    29    31     0     8    0
art_table   32    14400    0    13942     4     0     4     4     0     8    0
art_node    16     3574    0     3479     1     0     1     1     0     8    0
sysvmsgpl   40       15    0        9     1     0     1     1     0     8    0
semupl     112        1    0        1     1     1     0     1     0     8    0
semapl     112      264    0      249     1     0     1     1     0     8    0
shmpl      112        7    0        2     1     0     1     1     0     8    0
dirhash    1024     125    0      104     4     1     3     4     0     8    0
dino2pl    256    15684    0    13576   133     0   133   133     0     8    0
ffsino     272    15684    0    13576   144     2   142   142     0     8    0
nchpl      144    26396    0    25415    75    38    37    67     0     8    0
uvmvnodes   80     9211    0        0   188     0   188   188     0     8    0
vnodes     216     9211    0        0   512     0   512   512     0     8    0
namei      1024  128816    0   128815    30    29     1     2     0     8    0
percpumem   16      440    0      388     1     0     1     1     0     8    0
vcpupl     3904      35    0        4     4     0     4     4     0     8    0
vmpool     696       56    0       25     4     1     3     3     0     8    0
pfiaddrpl  120       13    0        4     3     2     1     1     0     8    0
kstatmem   264      812    0      776     4     1     3     3     0     8    0
scsiplug    72       21    0       21    13    13     0     1     0     8    0
scxspl     216   230814    0   230813    32    31     1     8     1     8    0
plimitpl   152     2110    0     2092     1     0     1     1     0     8    0
sigapl     424    11146    0    11096    10     3     7     9     0     8    0
futexpl     64   118763    0   118757    26    25     1     1     0     8    0
knotepl    120     1250    0        0    25     3    22    23     0     8    0
kqueuepl   216     2952    0     2877    51    46     5     5     0     8    0
pipepl     320     2121    0     2094    23    20     3     8     0     8    0
fdescpl    496    11097    0    11066    17    12     5     5     0     8    0
filepl     152    78268    0    77910   177   161    16    20     0     8    2
lockfpl    104     3144    0     3141     4     3     1     2     0     8    0
lockfspl    48     1292    0     1289     1     0     1     1     0     8    0
sessionpl  144      331    0      322     1     0     1     1     0     8    0
pgrppl      48      909    0      892     1     0     1     1     0     8    0
ucredpl    104    13396    0    13380     1     0     1     1     0     8    0
zombiepl   144    11098    0    11096     4     3     1     1     0     8    0
processpl  1160   11146    0    11096     8     4     4     6     0     8    0
procpl     648    23254    0    23193    17    11     6     9     0     8    0
srpgc       96       45    0       45    16    16     0     1     0     8    0
sosppl     168       59    0       59    24    23     1     1     0     8    1
sockpl     664    23535    0    23453   249   234    15    23     0     8    8
mcl64k     65536     10    0        0     2     0     2     2     0     8    0
mcl16k     16384      4    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       7    0        0     1     0     1     1     0     8    0
mcl4k      4096       4    0        0     1     0     1     1     0     8    0
mcl2k2     2112       2    0        0     1     0     1     1     0     8    0
mcl2k      2048     462    0        0    28     5    23    28     0     8    0
mtagpl      96       82    0        0     2     0     2     2     0     8    0
mbufpl     256     1992    0        0    97     0    97    97     0     8    0
bufpl      280    33603    0    25283   664    61   603   659     0     8    0
anonpl      24  1358143    0  1353479   134    76    58    83     0   185    0
amapchunkpl 152  294219    0   293617   132   106    26    36     0   158    1
amappl16   200    22652    0    22610   199   187    12    19     0     8    0
amappl15   192       15    0       15     3     3     0     1     0     8    0
amappl14   184      735    0      723     1     0     1     1     0     8    0
amappl13   176       13    0       13     2     2     0     1     0     8    0
amappl12   168    16508    0    16477     3     1     2     2     0     8    0
amappl11   160       59    0       45     1     0     1     1     0     8    0
amappl10   152       10    0       10     1     1     0     1     0     8    0
amappl9    144      150    0      150     1     1     0     1     0     8    0
amappl8    136       28    0       25     1     0     1     1     0     8    0
amappl7    128      711    0      698     1     0     1     1     0     8    0
amappl6    120     3159    0     3157     1     0     1     1     0     8    0
amappl5    112     1340    0     1328     1     0     1     1     0     8    0
amappl4    104     1237    0     1217     1     0     1     1     0     8    0
amappl3     96    58804    0    58677     4     0     4     4     0     8    0
amappl2     88     4882    0     4815     2     0     2     2     0     8    0
amappl1     80    59960    0    59370    18     4    14    15     0     8    0
amappl      88    88880    0    88672     7     1     6     6     0    92    0
dma65536   65536      1    0        1     1     1     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      71    0       70     1     0     1     1     0     8    0
dma512     512        1    0        1     1     1     0     1     0     8    0
dma256     256       16    0       16    10    10     0     1     0     8    0
dma128     128      254    0      254     2     2     0     1     0     8    0
dma64       64        8    0        8     3     3     0     1     0     8    0
dma32       32        8    0        8     2     2     0     1     0     8    0
dma16       16       20    0       19     1     0     1     1     0     8    0
aobjpl      72        9    0        2     1     0     1     1     0     8    0
uaddrrnd    24    11153    0    11091     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24    11153    0    11091     1     0     1     1     0     8    0
vmmpekpl   168    87996    0    87926     4     0     4     4     0     8    0
vmmpepl    168   666417    0   664442   263   170    93   100     0   357    0
vmsppl     440    11152    0    11091    11     3     8     8     0     8    0
rwobjpl     56   178727    0   168495   169    23   146   148     0     8    0
pdppl      4096   22313    0    22213   536   434   102   107     0     8    2
pvpl        32    34775    0        0   278     3   275   275     0   265    0
pmappl     248    11152    0    11091     5     1     4     4     0     8    0
extentpl    40       56    0       38     1     0     1     1     0     8    0
phpool     112     1397    0      840    16     0    16    16     0     8    0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
savectx() at savectx+0xae
end of kernel
end trace frame: 0x76c4bee3f20, count: -1
ddb{0}> machine ddbcpu 1
Stopped at      x86_ipi_db+0x27:        addq    $0x8,%rsp
x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
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_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:666
acpitimer_delay(1) at acpitimer_delay+0x77 acpitimer_read sys/dev/acpi/acpitimer.c:142 [inline]
acpitimer_delay(1) at acpitimer_delay+0x77 sys/dev/acpi/acpitimer.c:120
comcnputc(800,2c) at comcnputc+0x29b sys/dev/ic/com.c:1269
cnputc(2c) at cnputc+0x61 sys/dev/cons.c:218
db_putchar(2c) at db_putchar+0x65c sys/ddb/db_output.c:155
kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065
db_printf(ffffffff8308e045) at db_printf+0x9b
fault(ffffffff8303e84b) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157
kpageflttrap(ffff80002a0c41f0,ffff80002a0c5000) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290
kerntrap(ffff80002a0c41f0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
end trace frame: 0xffff80002a0c4340, count: 0
ddb{1}> trace
x86_ipi_db(ffff800029b7bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
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_4(b008,0) at x86_bus_space_io_read_4+0x37 sys/arch/amd64/amd64/bus_space.c:666
acpitimer_delay(1) at acpitimer_delay+0x77 acpitimer_read sys/dev/acpi/acpitimer.c:142 [inline]
acpitimer_delay(1) at acpitimer_delay+0x77 sys/dev/acpi/acpitimer.c:120
comcnputc(800,2c) at comcnputc+0x29b sys/dev/ic/com.c:1269
cnputc(2c) at cnputc+0x61 sys/dev/cons.c:218
db_putchar(2c) at db_putchar+0x65c sys/ddb/db_output.c:155
kprintf() at kprintf+0x2aba sys/kern/subr_prf.c:1065
db_printf(ffffffff8308e045) at db_printf+0x9b
fault(ffffffff8303e84b) at fault+0xa7 sys/arch/amd64/amd64/trap.c:157
kpageflttrap(ffff80002a0c41f0,ffff80002a0c5000) at kpageflttrap+0x385 sys/arch/amd64/amd64/trap.c:290
kerntrap(ffff80002a0c41f0) at kerntrap+0x14a sys/arch/amd64/amd64/trap.c:332
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
memcpy() at memcpy+0x19
ttwrite(ffff800000a5d800,ffff80002a0c48c0,11) at ttwrite+0x7d7 sys/kern/tty.c:1856
spec_write(ffff80002a0c46a0) at spec_write+0x120 sys/kern/spec_vnops.c:302
VOP_WRITE(fffffd8073bcfca8,ffff80002a0c48c0,11,fffffd807f7d33a8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245
vn_write(fffffd805fc88688,ffff80002a0c48c0,0) at vn_write+0x1d1 sys/kern/vfs_vnops.c:408
dofilewritev(ffff8000367b7200,6,ffff80002a0c48c0,0,ffff80002a0c4980) at dofilewritev+0x23c sys/kern/sys_generic.c:380
sys_writev(ffff8000367b7200,ffff80002a0c4a30,ffff80002a0c4980) at sys_writev+0xd8 sys/kern/sys_generic.c:327
syscall(ffff80002a0c4a30) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline]
syscall(ffff80002a0c4a30) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xd9d10dbef40, count: -23