uvm_fault(0xffffffff8263e320, 0xfffffd0000000018, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      tun_dev_read+0x138:     movl    0x18(%rbx),%r12d
ddb{1}> 
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
kernel page fault
uvm_fault(0xffffffff8263e320, 0xfffffd0000000018, 0, 1) -> e
tun_dev_read(5d01,ffff800023fe38c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790
end trace frame: 0xffff800023fe3700, count: 0
ddb{1}> trace
tun_dev_read(5d01,ffff800023fe38c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790
spec_read(ffff800023fe3710) at spec_read+0xf1 sys/kern/spec_vnops.c:222
VOP_READ(fffffd807b582008,ffff800023fe38c8,10,fffffd807f7bfb40) at VOP_READ+0xbf sys/kern/vfs_vops.c:247
vn_read(fffffd8067080a30,ffff800023fe38c8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375
dofilereadv(ffff800020ece9d8,f0,ffff800023fe38c8,0,ffff800023fe39b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237
sys_read(ffff800020ece9d8,ffff800023fe3960,ffff800023fe39b0) at sys_read+0x83 sys/kern/sys_generic.c:157
syscall(ffff800023fe3a30) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023fe3a30) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc6af40bc1f0, count: -8
ddb{1}> show registers
rdi                                0
rsi                            0x3da
rbp               0xffff800023fe3650
rbx               0xfffffd0000000000
rdx                            0x152
rcx               0xffff8000009d77c0
rax               0xffffffff82194303    tun_dev_read+0x133
r8                    0x7f7fffffc000
r9                               0x5
r10               0x3b3b29154fba4fcf
r11               0x787b82bed5eb75ea
r12                                0
r13                            0x3da
r14               0xffff800000a23e60
r15               0xffff800023fe38c8
rip               0xffffffff82194308    tun_dev_read+0x138
cs                               0x8
rflags                       0x10202    __ALIGN_SIZE+0xf202
rsp               0xffff800023fe35f0
ss                              0x10
tun_dev_read+0x138:     movl    0x18(%rbx),%r12d
ddb{1}> show proc
PROC (syz-executor.1) pid=486127 stat=onproc
    flags process=0 proc=4000000<THREAD>
    pri=32, usrpri=86, nice=20
    forw=0xffffffffffffffff, list=0xffff800020ece768,0xffffffff82693af8
    process=0xffff800020ed9b10 user=0xffff800023fde000, vmspace=0xfffffd8068d8e8b0
    estcpu=36, cpticks=1, pctcpu=0.0
    user=0, sys=1, intr=0
ddb{1}> ps
   PID     TID   PPID    UID  S       FLAGS  WAIT          COMMAND
 17837  148373  60974      0  7           0                syz-executor.1
 17837   62721  60974      0  2   0x4000000                syz-executor.1
*17837  486127  60974      0  7   0x4000000                syz-executor.1
 23412  190840  83211      0  3        0x80  nanosleep     syz-executor.0
 23412  408196  83211      0  3   0x4000080  fsleep        syz-executor.0
 23412  144416  83211      0  3   0x4000080  fsleep        syz-executor.0
 23412  163544  83211      0  3   0x4000080  fsleep        syz-executor.0
 73657  302107      1      0  3    0x100083  ttyin         getty
 23831  417225      0      0  3     0x14200  acct          acct
 25501  395718      0      0  3     0x14200  bored         sosplice
 60974  146163  66524      0  3        0x82  nanosleep     syz-executor.1
 83211  118037  66524      0  3        0x82  nanosleep     syz-executor.0
 66524  486863  97414      0  3        0x82  thrsleep      syz-fuzzer
 66524  347489  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  364013  97414      0  3   0x4000082  kqread        syz-fuzzer
 66524  510507  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  213690  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  106162  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  424282  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  194543  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524  370381  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 66524   72230  97414      0  3   0x4000082  thrsleep      syz-fuzzer
 97414  410410  96869      0  3    0x10008a  pause         ksh
 96869  475960  56329      0  3        0x92  select        sshd
 56329  272565      1      0  3        0x80  select        sshd
  9077  283256  50902     74  3    0x100092  bpf           pflogd
 50902  477369      1      0  3        0x80  netio         pflogd
 50342  338152  50330     73  3    0x100090  kqread        syslogd
 50330   94359      1      0  3    0x100082  netio         syslogd
 44393   20153      1     77  3    0x100090  poll          dhclient
 53364  427859      1      0  3        0x80  poll          dhclient
 14678  397779      0      0  3     0x14200  bored         smr
 94305  336430      0      0  3     0x14200  pgzero        zerothread
 36439  140268      0      0  3     0x14200  aiodoned      aiodoned
 60805  400783      0      0  3     0x14200  syncer        update
 52698  337734      0      0  3     0x14200  cleaner       cleaner
 93138  514266      0      0  3     0x14200  reaper        reaper
  8962   25478      0      0  3     0x14200  pgdaemon      pagedaemon
 49128  429235      0      0  3     0x14200  bored         crynlk
 85983   91766      0      0  3     0x14200  bored         crypto
 40078  138404      0      0  3  0x40014200  acpi0         acpi0
 60487  300024      0      0  3  0x40014200                idle1
 39497  455015      0      0  3     0x14200  bored         softnet
 97145  369486      0      0  3     0x14200  bored         systqmp
 21136   67811      0      0  3     0x14200  bored         systq
 89195  494953      0      0  3  0x40014200  bored         softclock
 20263   38932      0      0  3  0x40014200                idle0
     1  332417      0      0  3        0x82  wait          init
     0       0     -1      0  3     0x10200  scheduler     swapper
ddb{1}> show all locks
Process 17837 (syz-executor.1) thread 0xffff800020ece9d8 (486127)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82640b58)
#0  witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0  witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1  vn_read+0x45 sys/kern/vfs_vnops.c:357
#2  dofilereadv+0x1a1 sys/kern/sys_generic.c:237
#3  sys_read+0x83 sys/kern/sys_generic.c:157
#4  syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#4  syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
#5  Xsyscall+0x128
ddb{1}> show malloc
           Type InUse  MemUse  HighUse   Limit  Requests Type Lim
         devbuf  9528   6430K    6947K  78643K     12267        0
            pcb    13      8K       8K  78643K       151        0
         rtable    79      3K       4K  78643K       444        0
         ifaddr    83     16K      17K  78643K       210        0
       counters    43     33K      34K  78643K        89        0
       ioctlops     0      0K       4K  78643K      1512        0
            iov     0      0K      18K  78643K       122        0
          mount     1      1K       1K  78643K         1        0
         vnodes  1219     77K      77K  78643K      1686        0
      UFS quota     1     32K      32K  78643K         1        0
      UFS mount     5     36K      36K  78643K         5        0
            shm     2      1K       5K  78643K        14        0
         VM map     2      1K       1K  78643K         2        0
            sem    12      0K       0K  78643K       201        0
        dirhash    12      2K       2K  78643K        12        0
           ACPI  1824    197K     290K  78643K     13058        0
      file desc     6     17K      25K  78643K       683        0
          sigio     0      0K       0K  78643K         6        0
           proc    61     63K      95K  78643K       502        0
        subproc    32      2K       2K  78643K        34        0
    NFS srvsock     1      0K       0K  78643K         1        0
     NFS daemon     1     16K      16K  78643K         1        0
    ip_moptions     0      0K       0K  78643K        72        0
       in_multi    57      2K       3K  78643K       150        0
    ether_multi     1      0K       0K  78643K        21        0
            mrt     1      0K       0K  78643K         5        0
    ISOFS mount     1     32K      32K  78643K         1        0
  MSDOSFS mount     1     16K      16K  78643K         1        0
           ttys    55    254K     254K  78643K        55        0
           exec     0      0K       1K  78643K       278        0
        pagedep     1      8K       8K  78643K         1        0
       inodedep     1     32K      32K  78643K         1        0
         newblk     1      0K       0K  78643K         1        0
        VM swap     7     26K      26K  78643K         7        0
       UVM amap   135     88K      90K  78643K      3293        0
       UVM aobj    28      7K       7K  78643K        32        0
        memdesc     1      4K       4K  78643K         1        0
    crypto data     1      1K       1K  78643K         1        0
    ip6_options     0      0K       0K  78643K        98        0
            NDP    13      0K       0K  78643K        44        0
           temp   136   3046K    3111K  78643K      8543        0
         kqueue     3      4K      10K  78643K        39        0
      SYN cache     2     16K      16K  78643K         2        0
ddb{1}> show all pools
Name      Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp         64        8    0        2     1     0     1     1     0     8    0
plcache    128       20    0        0     1     0     1     1     0     8    0
rtpcb       80       55    0       53     1     0     1     1     0     8    0
rtentry    112       69    0       41     2     0     2     2     0     8    0
unpcb      120      326    0      316     1     0     1     1     0     8    0
syncache   264       13    0       13     4     4     0     1     0     8    0
tcpqe       32      480    0      480     2     2     0     1     0     8    0
tcpcb      544      546    0      542     1     0     1     1     0     8    0
inpcb      280     1696    0     1687     3     1     2     2     0     8    1
rttmr       72        1    0        1     1     1     0     1     0     8    0
nd6         48       10    0        8     1     0     1     1     0     8    0
pkpcb       40        6    0        6     2     2     0     1     0     8    0
ppxss      1128       2    0        2     1     1     0     1     0     8    0
pffrag     232        8    0        8     4     4     0     1     0   482    0
pffrnode    88        8    0        8     4     4     0     1     0     8    0
pffrent     40      145    0      145     4     4     0     1     0     8    0
pfosfp      40      846    0      423     5     0     5     5     0     8    0
pfosfpen   112     1428    0      714    21     0    21    21     0     8    0
pfstitem    24       94    0       42     1     0     1     1     0     8    0
pfstkey    112       94    0       42     2     0     2     2     0     8    0
pfstate    328       94    0       42     5     0     5     5     0     8    0
pfrule     1360      21    0       16     2     1     1     2     0     8    0
art_heap8  4096       1    0        0     1     0     1     1     0     8    0
art_heap4  256      360    0      232    12     2    10    12     0     8    0
art_table   32      361    0      232     2     0     2     2     0     8    0
art_node    16       68    0       45     1     0     1     1     0     8    0
sysvmsgpl   40       30    0       18     2     1     1     1     0     8    0
semapl     112      199    0      189     1     0     1     1     0     8    0
shmpl      112       30    0        4     1     0     1     1     0     8    0
dirhash    1024      17    0        0     3     0     3     3     0     8    0
dino2pl    256     2370    0      963    90     1    89    89     0     8    0
ffsino     272     2370    0      963    95     0    95    95     0     8    0
nchpl      144     3515    0     1912    60     0    60    60     0     8    0
uvmvnodes   72     2773    0        0    51     0    51    51     0     8    0
vnodes     208     2773    0        0   146     0   146   146     0     8    0
namei      1024    9808    0     9808     3     2     1     1     0     8    1
percpumem   16       55    0       23     1     0     1     1     0     8    0
vcpupl     1984       7    0        0     1     0     1     1     0     8    0
vmpool     560       15    0        8     3     2     1     1     0     8    0
scxspl     192    10767    0    10767    15    14     1     6     0     8    1
plimitpl   152       78    0       70     1     0     1     1     0     8    0
sigapl     424      901    0      867     4     0     4     4     0     8    0
futexpl     56    11977    0    11974     3     2     1     1     0     8    0
knotepl    112      100    0       81     1     0     1     1     0     8    0
kqueuepl   144      134    0      132     1     0     1     1     0     8    0
pipelkpl    48      166    0      156     1     0     1     1     0     8    0
pipepl     120      332    0      313     1     0     1     1     0     8    0
fdescpl    496      884    0      867     3     0     3     3     0     8    0
filepl     152     5816    0     5714     6     1     5     6     0     8    0
lockfpl    104      164    0      163     1     0     1     1     0     8    0
lockfspl    48       47    0       46     1     0     1     1     0     8    0
sessionpl  112       19    0        8     1     0     1     1     0     8    0
pgrppl      48       25    0       14     1     0     1     1     0     8    0
ucredpl     96      478    0      469     1     0     1     1     0     8    0
zombiepl   144      867    0      867     2     1     1     1     0     8    1
processpl  984      901    0      867     6     1     5     5     0     8    0
procpl     624     2464    0     2416     4     0     4     4     0     8    0
sosppl     128       12    0       12     4     4     0     1     0     8    0
sockpl     400     2083    0     2062     9     5     4     4     0     8    1
mcl64k     65536     11    0        0     2     0     2     2     0     8    0
mcl16k     16384      3    0        0     1     0     1     1     0     8    0
mcl12k     12288     10    0        0     1     0     1     1     0     8    0
mcl9k      9216       2    0        0     1     0     1     1     0     8    0
mcl8k      8192      12    0        0     2     0     2     2     0     8    0
mcl4k      4096      16    0        0     2     0     2     2     0     8    0
mcl2k2     2112       5    0        0     1     0     1     1     0     8    0
mcl2k      2048     235    0        0    29     0    29    29     0     8    0
mtagpl      80      128    0        0     3     0     3     3     0     8    0
mbufpl     256      752    0        0    42     0    42    42     0     8    0
bufpl      280     4919    0      143   342     0   342   342     0     8    0
anonpl      16   101394    0    86087    98    34    64    75     0   124    0
amapchunkpl 152    5459    0     5310    26    20     6    19     0   158    0
amappl16   192     4871    0     4044    74    32    42    52     0     8    0
amappl15   184        1    0        0     1     0     1     1     0     8    0
amappl14   176       25    0       20     1     0     1     1     0     8    0
amappl13   168       33    0       31     1     0     1     1     0     8    0
amappl12   160      330    0      323     1     0     1     1     0     8    0
amappl11   152       63    0       47     1     0     1     1     0     8    0
amappl10   144      351    0      346     1     0     1     1     0     8    0
amappl9    136      389    0      388     1     0     1     1     0     8    0
amappl8    128      353    0      320     2     0     2     2     0     8    0
amappl7    120      449    0      437     1     0     1     1     0     8    0
amappl6    112       25    0       21     1     0     1     1     0     8    0
amappl5    104     1101    0     1082     1     0     1     1     0     8    0
amappl4     96      509    0      477     1     0     1     1     0     8    0
amappl3     88      121    0      115     1     0     1     1     0     8    0
amappl2     80     6111    0     6032     2     0     2     2     0     8    0
amappl1     72    29083    0    28605    23    13    10    18     0     8    0
amappl      80     2732    0     2680     2     0     2     2     0    84    0
dma4096    4096       1    0        1     1     1     0     1     0     8    0
dma256     256        6    0        6     1     1     0     1     0     8    0
dma128     128      253    0      253     1     1     0     1     0     8    0
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       18    0       17     1     0     1     1     0     8    0
aobjpl      64       31    0        4     1     0     1     1     0     8    0
uaddrrnd    24      899    0      875     1     0     1     1     0     8    0
uaddrbest   32        2    0        0     1     0     1     1     0     8    0
uaddr       24      899    0      875     1     0     1     1     0     8    0
vmmpekpl   168    10991    0    10958     2     0     2     2     0     8    0
vmmpepl    168   116165    0   114040   134    41    93   105     0   357    0
vmsppl     368      898    0      875     3     0     3     3     0     8    0
pdppl      4096    1806    0     1757     7     0     7     7     0     8    0
pvpl        32   306467    0   288666   213    49   164   180     0   265   18
pmappl     232      898    0      875     4     2     2     2     0     8    0
extentpl    40       53    0       36     1     0     1     1     0     8    0
phpool     112      310    0       13     9     0     9     9     0     8    0
ddb{1}> machine ddbcpu 0
Stopped at      x86_ipi_db+0x1a:        addq    $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff8251cff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352
x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff82640950) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82640950) at __mp_lock+0x127 sys/kern/kern_lock.c:147
softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89
Xsoftclock() at Xsoftclock+0x1f
__mp_lock(ffffffff82640950) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82640950) at __mp_lock+0x127 sys/kern/kern_lock.c:147
syscall(ffff80002318fae0) at syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline]
syscall(ffff80002318fae0) at syscall+0x400 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffe7680, count: -9
ddb{0}> machine ddbcpu 1
Stopped at      tun_dev_read+0x138:     movl    0x18(%rbx),%r12d
ddb{1}> trace
tun_dev_read(5d01,ffff800023fe38c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790
spec_read(ffff800023fe3710) at spec_read+0xf1 sys/kern/spec_vnops.c:222
VOP_READ(fffffd807b582008,ffff800023fe38c8,10,fffffd807f7bfb40) at VOP_READ+0xbf sys/kern/vfs_vops.c:247
vn_read(fffffd8067080a30,ffff800023fe38c8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375
dofilereadv(ffff800020ece9d8,f0,ffff800023fe38c8,0,ffff800023fe39b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237
sys_read(ffff800020ece9d8,ffff800023fe3960,ffff800023fe39b0) at sys_read+0x83 sys/kern/sys_generic.c:157
syscall(ffff800023fe3a30) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023fe3a30) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc6af40bc1f0, count: -8