uvm_fault(0xffffffff828b8cf0, 0xfffffd0000000018, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
kernel page fault
uvm_fault(0xffffffff828b8cf0, 0xfffffd0000000018, 0, 1) -> e
tun_dev_read(5d00,ffff800023f865d8,10) at tun_dev_read+0x138 sys/net/if_tun.c:787
end trace frame: 0xffff800023f86410, count: 0
ddb{0}> trace
tun_dev_read(5d00,ffff800023f865d8,10) at tun_dev_read+0x138 sys/net/if_tun.c:787
spec_read(ffff800023f86420) at spec_read+0xf1 sys/kern/spec_vnops.c:222
VOP_READ(fffffd807394f1a8,ffff800023f865d8,10,fffffd807f7bf840) at VOP_READ+0xbf sys/kern/vfs_vops.c:247
vn_read(fffffd806ca21730,ffff800023f865d8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375
dofilereadv(ffff800020e0a608,f0,ffff800023f865d8,0,ffff800023f866c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237
sys_read(ffff800020e0a608,ffff800023f86670,ffff800023f866c0) at sys_read+0x83 sys/kern/sys_generic.c:157
syscall(ffff800023f86740) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023f86740) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7dc70858e60, count: -8
ddb{0}> show registers
rdi 0
rsi 0x3da
rbp 0xffff800023f86360
rbx 0xfffffd0000000000
rdx 0x486
rcx 0xffff800000ad9d40
rax 0xffffffff81d6c6e3 tun_dev_read+0x133
r8 0x7f7fffffc000
r9 0x5
r10 0x7d5c9f120c2acab4
r11 0xc7fba5238ad3a50f
r12 0
r13 0x3da
r14 0xffff800000afa678
r15 0xffff800023f865d8
rip 0xffffffff81d6c6e8 tun_dev_read+0x138
cs 0x8
rflags 0x10202 __ALIGN_SIZE+0xf202
rsp 0xffff800023f86300
ss 0x10
tun_dev_read+0x138: movl 0x18(%rbx),%r12d
ddb{0}> show proc
PROC (syz-executor.0) pid=86706 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff800020e094f8,0xffffffff82928bc8
process=0xffff800021edcfa8 user=0xffff800023f81000, vmspace=0xfffffd8064e83b90
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
62380 396151 78634 0 2 0 syz-executor.0
*62380 86706 78634 0 7 0x4000000 syz-executor.0
83609 405083 53868 0 2 0x2 syz-executor.1
72120 156183 0 0 3 0x14280 nfsidl nfsio
51239 416944 0 0 3 0x14280 nfsidl nfsio
85805 225854 0 0 3 0x14280 nfsidl nfsio
64467 404731 0 0 3 0x14280 nfsidl nfsio
81167 122823 0 0 3 0x14280 nfsidl nfsio
64660 383706 0 0 3 0x14280 nfsidl nfsio
86244 187057 0 0 3 0x14280 nfsidl nfsio
76674 73134 0 0 3 0x14280 nfsidl nfsio
28840 109260 0 0 3 0x14280 nfsidl nfsio
57030 49291 0 0 3 0x14280 nfsidl nfsio
55043 428523 0 0 3 0x14280 nfsidl nfsio
6795 221536 0 0 3 0x14280 nfsidl nfsio
60578 371157 0 0 3 0x14280 nfsidl nfsio
93773 469869 0 0 3 0x14280 nfsidl nfsio
44351 431927 0 0 3 0x14280 nfsidl nfsio
88873 439792 0 0 3 0x14280 nfsidl nfsio
70867 381382 0 0 3 0x14280 nfsidl nfsio
22924 325797 0 0 3 0x14280 nfsidl nfsio
3440 431532 0 0 3 0x14280 nfsidl nfsio
98912 33671 0 0 3 0x14280 nfsidl nfsio
78634 362853 53868 0 3 0x82 nanosleep syz-executor.0
6663 165739 0 0 3 0x14200 bored sosplice
93334 366938 1 0 3 0x100083 ttyin getty
53868 7169 54235 0 3 0x82 thrsleep syz-fuzzer
53868 362542 54235 0 7 0x4000482 syz-fuzzer
53868 101003 54235 0 3 0x4000082 thrsleep syz-fuzzer
53868 41246 54235 0 3 0x4000082 thrsleep syz-fuzzer
53868 30909 54235 0 3 0x4000082 nanosleep syz-fuzzer
53868 414241 54235 0 3 0x4000082 kqread syz-fuzzer
53868 104242 54235 0 3 0x4000082 thrsleep syz-fuzzer
53868 219570 54235 0 3 0x4000082 thrsleep syz-fuzzer
53868 3549 54235 0 3 0x4000082 thrsleep syz-fuzzer
53868 484089 54235 0 3 0x4000082 thrsleep syz-fuzzer
54235 388273 63475 0 3 0x10008a pause ksh
63475 342766 48237 0 3 0x92 select sshd
48237 385968 1 0 3 0x80 select sshd
70536 338502 38374 74 3 0x100092 bpf pflogd
38374 87214 1 0 3 0x80 netio pflogd
18131 501787 72186 73 3 0x100090 kqread syslogd
72186 469538 1 0 3 0x100082 netio syslogd
6022 402536 1 77 3 0x100090 poll dhclient
60892 17644 1 0 3 0x80 poll dhclient
43677 360046 0 0 3 0x14200 bored smr
66905 377512 0 0 3 0x14200 pgzero zerothread
9432 192797 0 0 3 0x14200 aiodoned aiodoned
67240 186520 0 0 3 0x14200 syncer update
62439 1727 0 0 3 0x14200 cleaner cleaner
60341 214045 0 0 3 0x14200 reaper reaper
44318 167460 0 0 3 0x14200 pgdaemon pagedaemon
83795 488692 0 0 3 0x14200 bored crynlk
32867 448363 0 0 3 0x14200 bored crypto
13527 15869 0 0 3 0x40014200 acpi0 acpi0
28020 131029 0 0 3 0x40014200 idle1
96674 429807 0 0 3 0x14200 bored softnet
76024 415258 0 0 3 0x14200 bored systqmp
16999 177697 0 0 3 0x14200 bored systq
36768 164119 0 0 3 0x40014200 bored softclock
58343 496078 0 0 3 0x40014200 idle0
1 411520 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 62380 (syz-executor.0) thread 0xffff800020e0a608 (86706)
exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8292f068)
#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
Process 83609 (syz-executor.1) thread 0xffff800020e0a398 (405083)
exclusive rrwlock inode r = 0 (0xfffffd806e2893c8)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:311
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462
#3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140
#4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1358
#5 ffs_inode_alloc+0x1e2 sys/ufs/ffs/ffs_alloc.c:394
#6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162
#7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450
#8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3051
#9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
#10 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806435dd60)
#0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline]
#0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:311
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462
#3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:575
#5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419
#6 namei+0x63c sys/kern/vfs_lookup.c:249
#7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3036
#8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
#8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
#9 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9521 6431K 6880K 78643K 11680 0
pcb 13 8K 8K 78643K 143 0
rtable 111 4K 9K 78643K 600 0
ifaddr 72 14K 16K 78643K 190 0
sysctl 2 0K 0K 78643K 2 0
counters 43 33K 34K 78643K 73 0
ioctlops 0 0K 4K 78643K 1656 0
iov 0 0K 16K 78643K 51 0
mount 1 1K 1K 78643K 1 0
vnodes 1221 77K 77K 78643K 1630 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 15 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 0K 78643K 97 0
dirhash 9 1K 2K 78643K 12 0
ACPI 1824 197K 290K 78643K 13058 0
file desc 5 13K 25K 78643K 792 0
proc 61 63K 95K 78643K 630 0
subproc 32 2K 2K 78643K 85 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 50 0
in_multi 52 3K 3K 78643K 195 0
ether_multi 1 0K 0K 78643K 8 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 73 334K 334K 78643K 73 0
exec 0 0K 1K 78643K 288 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 136 88K 104K 78643K 3506 0
UVM aobj 47 7K 7K 78643K 53 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 56 0
NDP 12 0K 0K 78643K 50 0
temp 111 3861K 3932K 78643K 23194 0
kqueue 3 4K 12K 78643K 31 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 64 14 0 8 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 63 0 61 1 0 1 1 0 8 0
rtentry 112 136 0 92 2 0 2 2 0 8 0
unpcb 120 408 0 398 1 0 1 1 0 8 0
syncache 264 12 0 12 4 4 0 1 0 8 0
tcpqe 32 109 0 109 1 1 0 1 0 8 0
tcpcb 544 200 0 188 3 2 1 2 0 8 0
inpcb 296 1012 0 1005 21 19 2 2 0 8 1
nd6 48 40 0 34 1 0 1 1 0 8 0
pkpcb 40 4 0 4 2 2 0 1 0 8 0
ppxss 1136 1 0 1 1 1 0 1 0 8 0
pffrag 232 4 0 4 3 3 0 1 0 482 0
pffrnode 88 4 0 4 3 3 0 1 0 8 0
pffrent 40 98 0 98 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
pfrktable 1344 23 0 23 1 1 0 1 0 8 0
pfstitem 24 12 0 10 1 0 1 1 0 8 0
pfstkey 112 12 0 10 1 0 1 1 0 8 0
pfstate 328 12 0 10 1 0 1 1 0 8 0
pfrule 1360 35 0 34 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 477 0 272 17 4 13 14 0 8 0
art_table 32 478 0 272 2 0 2 2 0 8 0
art_node 16 135 0 95 1 0 1 1 0 8 0
sysvmsgpl 40 30 0 16 1 0 1 1 0 8 0
semupl 112 3 0 3 1 1 0 1 0 8 0
semapl 112 95 0 85 1 0 1 1 0 8 0
shmpl 112 50 0 6 2 0 2 2 0 8 0
dirhash 1024 17 0 10 3 1 2 3 0 8 0
dino2pl 256 2387 0 980 89 0 89 89 0 8 0
ffsino 272 2387 0 980 95 0 95 95 0 8 0
nchpl 144 3605 0 2009 60 0 60 60 0 8 0
uvmvnodes 72 2717 0 0 50 0 50 50 0 8 0
vnodes 208 2717 0 0 143 0 143 143 0 8 0
namei 1024 11693 0 11692 16 15 1 1 0 8 0
percpumem 16 47 0 15 1 0 1 1 0 8 0
vcpupl 1984 7 0 0 1 0 1 1 0 8 0
vmpool 560 9 0 2 2 1 1 1 0 8 0
pfiaddrpl 120 10 0 10 1 1 0 1 0 8 0
scxspl 192 13393 0 13393 19 18 1 7 0 8 1
plimitpl 152 68 0 60 1 0 1 1 0 8 0
sigapl 424 1031 0 979 8 1 7 8 0 8 0
futexpl 56 10135 0 10135 20 19 1 1 0 8 1
knotepl 112 126 0 107 1 0 1 1 0 8 0
kqueuepl 144 71 0 68 1 0 1 1 0 8 0
pipepl 304 187 0 177 6 5 1 2 0 8 0
fdescpl 496 985 0 969 3 0 3 3 0 8 0
filepl 152 6335 0 6235 7 2 5 6 0 8 1
lockfpl 104 120 0 119 1 0 1 1 0 8 0
lockfspl 48 45 0 44 1 0 1 1 0 8 0
sessionpl 112 23 0 12 1 0 1 1 0 8 0
pgrppl 48 29 0 18 1 0 1 1 0 8 0
ucredpl 96 1705 0 1696 1 0 1 1 0 8 0
zombiepl 144 979 0 979 1 0 1 1 0 8 1
processpl 992 1031 0 979 8 0 8 8 0 8 0
procpl 624 2584 0 2522 6 0 6 6 0 8 0
sosppl 128 7 0 7 3 3 0 1 0 8 0
sockpl 400 1487 0 1468 20 17 3 5 0 8 1
mcl64k 65536 11 0 0 2 0 2 2 0 8 0
mcl16k 16384 32 0 0 4 2 2 3 0 8 0
mcl12k 12288 4 0 0 1 0 1 1 0 8 0
mcl9k 9216 3 0 0 1 0 1 1 0 8 0
mcl8k 8192 15 0 0 2 0 2 2 0 8 0
mcl4k 4096 13 0 0 2 0 2 2 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 229 0 0 23 6 17 23 0 8 0
mtagpl 96 29 0 0 1 0 1 1 0 8 0
mbufpl 256 542 0 0 16 0 16 16 0 8 0
bufpl 280 7357 0 1122 446 0 446 446 0 8 0
anonpl 16 120099 0 102933 89 19 70 85 0 124 0
amapchunkpl 152 6807 0 6628 39 31 8 21 0 158 0
amappl16 192 4384 0 3483 59 13 46 57 0 8 0
amappl15 184 566 0 562 1 0 1 1 0 8 0
amappl14 176 123 0 120 1 0 1 1 0 8 0
amappl13 168 50 0 47 1 0 1 1 0 8 0
amappl12 160 4 0 3 1 0 1 1 0 8 0
amappl11 152 167 0 152 1 0 1 1 0 8 0
amappl10 144 202 0 196 1 0 1 1 0 8 0
amappl9 136 386 0 385 1 0 1 1 0 8 0
amappl8 128 436 0 398 2 0 2 2 0 8 0
amappl7 120 330 0 317 1 0 1 1 0 8 0
amappl6 112 129 0 124 1 0 1 1 0 8 0
amappl5 104 828 0 808 1 0 1 1 0 8 0
amappl4 96 713 0 682 1 0 1 1 0 8 0
amappl3 88 129 0 124 1 0 1 1 0 8 0
amappl2 80 7112 0 7040 2 0 2 2 0 8 0
amappl1 72 38202 0 37756 23 13 10 18 0 8 0
amappl 80 2876 0 2823 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 52 0 6 1 0 1 1 0 8 0
uaddrrnd 24 994 0 971 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 994 0 971 1 0 1 1 0 8 0
vmmpekpl 168 12495 0 12447 3 0 3 3 0 8 0
vmmpepl 168 134389 0 132294 238 140 98 132 0 357 1
vmsppl 368 993 0 971 3 0 3 3 0 8 0
pdppl 4096 1995 0 1949 7 0 7 7 0 8 0
pvpl 32 360256 0 339884 240 73 167 207 0 265 0
pmappl 232 993 0 971 6 4 2 2 0 8 0
extentpl 40 53 0 36 1 0 1 1 0 8 0
phpool 112 313 0 50 8 0 8 8 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
tun_dev_read(5d00,ffff800023f865d8,10) at tun_dev_read+0x138 sys/net/if_tun.c:787
spec_read(ffff800023f86420) at spec_read+0xf1 sys/kern/spec_vnops.c:222
VOP_READ(fffffd807394f1a8,ffff800023f865d8,10,fffffd807f7bf840) at VOP_READ+0xbf sys/kern/vfs_vops.c:247
vn_read(fffffd806ca21730,ffff800023f865d8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375
dofilereadv(ffff800020e0a608,f0,ffff800023f865d8,0,ffff800023f866c0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237
sys_read(ffff800020e0a608,ffff800023f86670,ffff800023f866c0) at sys_read+0x83 sys/kern/sys_generic.c:157
syscall(ffff800023f86740) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800023f86740) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7dc70858e60, count: -8
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff800020d70ff0) 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(ffffffff8292ee60) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff8292ee60) at __mp_lock+0x127 sys/kern/kern_lock.c:147
__mp_acquire_count(ffffffff8292ee60,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227
mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435
sleep_finish(ffff800020e7c2b0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418
sleep_finish_all(ffff800020e7c2b0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline]
sleep_finish_all(ffff800020e7c2b0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393
tsleep(ffffffff8288dc04,120,ffffffff823f65d7,2) at tsleep+0x1cc sys/kern/kern_synch.c:155
sys_nanosleep(ffff800020e3f010,ffff800020e7c3e0,ffff800020e7c430) at sys_nanosleep+0x205 sys/kern/kern_time.c:297
syscall(ffff800020e7c4b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline]
syscall(ffff800020e7c4b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc000051f38, count: -12