uvm_fault(0xffffffff82592678, 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(0xffffffff82592678, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d01,ffff800023189768,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff8000231895a0, count: 0 ddb{0}> trace tun_dev_read(5d01,ffff800023189768,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff8000231895b0) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e770348,ffff800023189768,10,fffffd807f7bf9c0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8067e69c90,ffff800023189768,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ec69d8,f0,ffff800023189768,0,ffff800023189850) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ec69d8,ffff800023189800,ffff800023189850) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff8000231898d0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000231898d0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfa85c442690, count: -8 ddb{0}> show registers rdi 0 rsi 0x3da rbp 0xffff8000231894f0 rbx 0xfffffd0000000000 rdx 0x274 rcx 0xffff800000a1c0c0 rax 0xffffffff819d98b3 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0xb158ead6ddb7c96 r11 0x2b49d72ffcd46ac7 r12 0 r13 0x3da r14 0xffff800000a28660 r15 0xffff800023189768 rip 0xffffffff819d98b8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800023189490 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=285824 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec6c48,0xffff800020ec7618 process=0xffff800020e92ba8 user=0xffff800023184000, vmspace=0xfffffd806e99a008 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76607 496715 94464 0 7 0 syz-executor.0 12397 28749 93558 0 2 0 syz-executor.1 *12397 285824 93558 0 7 0x4000000 syz-executor.1 65950 378412 0 0 3 0x14200 acct acct 71179 298592 0 0 3 0x14200 bored sosplice 93558 28970 43210 0 3 0x82 nanosleep syz-executor.1 94464 207955 43210 0 2 0x482 syz-executor.0 43210 198913 74694 0 3 0x82 thrsleep syz-fuzzer 43210 248289 74694 0 3 0x4000082 nanosleep syz-fuzzer 43210 174946 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 192038 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 213128 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 98149 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 18917 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 512122 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 340236 74694 0 3 0x4000082 thrsleep syz-fuzzer 43210 251199 74694 0 3 0x4000082 kqread syz-fuzzer 74694 274519 52763 0 3 0x10008a pause ksh 52763 40904 7989 0 3 0x92 select sshd 85293 294403 1 0 3 0x100083 ttyin getty 7989 507295 1 0 3 0x80 select sshd 20189 405217 70445 74 3 0x100092 bpf pflogd 70445 137930 1 0 3 0x80 netio pflogd 851 69133 31201 73 3 0x100090 kqread syslogd 31201 49268 1 0 3 0x100082 netio syslogd 26154 483862 1 77 3 0x100090 poll dhclient 48019 275613 1 0 3 0x80 poll dhclient 97845 402500 0 0 3 0x14200 bored smr 53198 371507 0 0 2 0x14200 zerothread 20325 435532 0 0 3 0x14200 aiodoned aiodoned 74381 249868 0 0 3 0x14200 syncer update 48679 379173 0 0 3 0x14200 cleaner cleaner 33235 208077 0 0 3 0x14200 reaper reaper 82113 134659 0 0 3 0x14200 pgdaemon pagedaemon 44196 279196 0 0 3 0x14200 bored crynlk 3272 155603 0 0 3 0x14200 bored crypto 51520 481989 0 0 3 0x40014200 acpi0 acpi0 45895 313747 0 0 3 0x40014200 idle1 51043 263968 0 0 3 0x14200 bored softnet 15616 362003 0 0 3 0x14200 bored systqmp 43498 364620 0 0 3 0x14200 bored systq 74162 464540 0 0 3 0x40014200 bored softclock 75932 386495 0 0 3 0x40014200 idle0 1 213700 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 12397 (syz-executor.1) thread 0xffff800020ec69d8 (285824) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff826670d0) #0 witness_lock+0x4c5 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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9530 6607K 6923K 78643K 11019 0 pcb 13 8K 8K 78643K 75 0 rtable 112 3K 4K 78643K 263 0 ifaddr 74 15K 15K 78643K 80 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1477 0 iov 0 0K 16K 78643K 33 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1341 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 63 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 223 0 sigio 0 0K 0K 78643K 2 0 proc 63 63K 95K 78643K 484 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 218 0 in_multi 62 3K 3K 78643K 80 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 238 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 101 37K 39K 78643K 1663 0 UVM aobj 8 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 37 0 NDP 11 0K 0K 78643K 15 0 temp 94 3038K 3102K 78643K 3375 0 kqueue 3 4K 8K 78643K 11 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 10 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 57 0 11 2 0 2 2 0 8 0 unpcb 120 237 0 227 1 0 1 1 0 8 0 syncache 264 8 0 8 3 2 1 1 0 8 1 tcpqe 32 69 0 69 1 1 0 1 0 8 0 tcpcb 544 286 0 282 2 0 2 2 0 8 1 inpcb 280 523 0 515 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 7 0 0 1 0 1 1 0 8 0 pffrag 232 6 0 6 2 1 1 1 0 482 1 pffrnode 88 6 0 6 2 1 1 1 0 8 1 pffrent 40 188 0 188 2 1 1 1 0 8 1 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 29 0 3 1 0 1 1 0 8 0 pfstkey 112 29 0 3 1 0 1 1 0 8 0 pfstate 328 29 0 3 3 0 3 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 219 0 4 14 0 14 14 0 8 0 art_table 32 221 0 4 2 0 2 2 0 8 0 art_node 16 54 0 13 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 57 0 47 1 0 1 1 0 8 0 shmpl 112 10 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1703 0 298 46 0 46 46 0 8 0 ffsino 272 1703 0 298 95 0 95 95 0 8 0 nchpl 144 2202 0 580 61 0 61 61 0 8 0 uvmvnodes 72 1839 0 0 34 0 34 34 0 8 0 vnodes 208 1839 0 0 97 0 97 97 0 8 0 namei 1024 5826 0 5826 1 0 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 6 0 4 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6995 0 6995 8 7 1 7 0 8 1 plimitpl 152 29 0 21 1 0 1 1 0 8 0 sigapl 424 440 0 406 4 0 4 4 0 8 0 futexpl 56 3444 0 3444 1 0 1 1 0 8 1 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 144 31 0 29 1 0 1 1 0 8 0 pipelkpl 48 105 0 95 1 0 1 1 0 8 0 pipepl 120 210 0 191 1 0 1 1 0 8 0 fdescpl 496 423 0 406 3 0 3 3 0 8 0 filepl 152 2607 0 2506 5 0 5 5 0 8 1 lockfpl 104 74 0 73 1 0 1 1 0 8 0 lockfspl 48 21 0 20 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 180 0 171 1 0 1 1 0 8 0 zombiepl 144 406 0 406 1 0 1 1 0 8 1 processpl 984 440 0 406 5 0 5 5 0 8 0 procpl 624 914 0 870 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 400 785 0 766 4 0 4 4 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 25 0 25 25 0 8 0 mtagpl 80 18 0 0 1 0 1 1 0 8 0 mbufpl 256 295 0 0 18 0 18 18 0 8 0 bufpl 280 4629 0 175 319 0 319 319 0 8 0 anonpl 16 58702 0 44491 76 2 74 74 0 124 16 amapchunkpl 152 2275 0 2140 8 1 7 8 0 158 1 amappl16 192 2236 0 1473 57 6 51 51 0 8 12 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 5 0 3 2 1 1 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 102 0 99 2 1 1 1 0 8 0 amappl11 152 80 0 60 2 1 1 2 0 8 0 amappl10 144 22 0 15 1 0 1 1 0 8 0 amappl9 136 485 0 480 1 0 1 1 0 8 0 amappl8 128 390 0 374 1 0 1 1 0 8 0 amappl7 120 117 0 106 1 0 1 1 0 8 0 amappl6 112 20 0 19 1 0 1 1 0 8 0 amappl5 104 412 0 394 1 0 1 1 0 8 0 amappl4 96 503 0 469 2 1 1 2 0 8 0 amappl3 88 119 0 112 1 0 1 1 0 8 0 amappl2 80 2416 0 2338 3 1 2 3 0 8 0 amappl1 72 19039 0 18592 25 15 10 20 0 8 0 amappl 80 1159 0 1114 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 11 0 4 1 0 1 1 0 8 0 uaddrrnd 24 429 0 410 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 429 0 410 1 0 1 1 0 8 0 vmmpekpl 168 7210 0 7177 2 0 2 2 0 8 0 vmmpepl 168 58964 0 56968 117 11 106 110 0 357 19 vmsppl 368 428 0 410 2 0 2 2 0 8 0 pdppl 4096 866 0 822 6 0 6 6 0 8 0 pvpl 32 184441 0 166984 185 2 183 183 0 265 42 pmappl 232 428 0 410 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 184 0 3 6 0 6 6 0 8 0