uvm_fault(0xffffffff825144c0, 0xfffffd0000000018, 0, 1) -> e kernel: page fault trap, code=0 Stopped at tun_dev_read+0x2ab: movl 0x18(%r14),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xffffffff825144c0, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(ffff800000a11000,ffff80001e489708,10) at tun_dev_read+0x2ab sys/net/if_tun.c:826 end trace frame: 0xffff80001e489540, count: 0 ddb> trace tun_dev_read(ffff800000a11000,ffff80001e489708,10) at tun_dev_read+0x2ab sys/net/if_tun.c:826 spec_read(ffff80001e489550) at spec_read+0xe9 sys/kern/spec_vnops.c:222 VOP_READ(fffffd805d602c30,ffff80001e489708,10,fffffd806c3c67e0) at VOP_READ+0xbf sys/kern/vfs_vops.c:248 vn_read(fffffd805d739c38,ffff80001e489708,0) at vn_read+0x11f sys/kern/vfs_vnops.c:375 dofilereadv(ffff80001d404018,f0,ffff80001e489708,0,ffff80001e4897f0) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff80001d404018,ffff80001e4897a0,ffff80001e4897f0) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff80001e489870) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12781af3ee0, count: -8 ddb> show registers rdi 0 rsi 0 rbp 0xffff80001e489490 rbx 0x3da rdx 0x201 rcx 0xffff80001f633000 rax 0xffff8000009fb880 r8 0x7f7fffffc000 r9 0x5 r10 0xb7ea4645e636c9c9 r11 0x81ae0bc0c02d8a37 r12 0xffff80001e489708 r13 0x10 r14 0xfffffd0000000000 r15 0 rip 0xffffffff81387a6b tun_dev_read+0x2ab cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80001e489420 ss 0x10 tun_dev_read+0x2ab: movl 0x18(%r14),%r15d ddb> show proc PROC (syz-executor.1) pid=104335 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80001d405650,0xffffffff8256f188 process=0xffff8000ffff6db0 user=0xffff80001e484000, vmspace=0xfffffd805f7ef670 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38840 398606 42006 0 2 0 syz-executor.1 *38840 104335 42006 0 7 0x4000000 syz-executor.1 42006 496170 3234 0 2 0x482 syz-executor.1 58704 460332 0 0 3 0x14200 bored sosplice 96388 517603 3234 0 2 0x2 syz-executor.0 3234 13649 38954 0 3 0x82 thrsleep syz-fuzzer 3234 342395 38954 0 2 0x4000482 syz-fuzzer 3234 347977 38954 0 3 0x4000082 thrsleep syz-fuzzer 3234 10055 38954 0 3 0x4000082 thrsleep syz-fuzzer 3234 26675 38954 0 3 0x4000082 thrsleep syz-fuzzer 3234 445362 38954 0 3 0x4000082 thrsleep syz-fuzzer 3234 153889 38954 0 3 0x4000082 thrsleep syz-fuzzer 3234 257610 38954 0 3 0x4000082 kqread syz-fuzzer 38954 18200 53114 0 3 0x10008a pause ksh 53114 203993 14619 0 3 0x92 select sshd 14241 390189 1 0 3 0x100083 ttyin getty 14619 204491 1 0 3 0x80 select sshd 76310 522598 13947 73 3 0x100090 kqread syslogd 13947 32613 1 0 3 0x100082 netio syslogd 43910 244174 1 77 3 0x100090 poll dhclient 79884 331343 1 0 3 0x80 poll dhclient 5754 121718 0 0 2 0x14200 zerothread 19915 109849 0 0 3 0x14200 aiodoned aiodoned 99143 69095 0 0 3 0x14200 syncer update 49789 171787 0 0 3 0x14200 cleaner cleaner 27067 197864 0 0 3 0x14200 reaper reaper 23969 213257 0 0 3 0x14200 pgdaemon pagedaemon 179 456755 0 0 3 0x14200 bored crynlk 33663 284374 0 0 3 0x14200 bored crypto 28115 39870 0 0 3 0x40014200 acpi0 acpi0 99291 207555 0 0 3 0x14200 bored softnet 34238 206121 0 0 3 0x14200 bored systqmp 70613 354304 0 0 3 0x14200 bored systq 91247 127910 0 0 3 0x40014200 bored softclock 83991 520734 0 0 3 0x40014200 idle0 35145 58920 0 0 3 0x14200 bored smr 1 18948 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9545 7137K 7461K 78643K 11949 0 pcb 13 8K 8K 78643K 161 0 rtable 105 4K 4K 78643K 487 0 ifaddr 105 20K 20K 78643K 218 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 59 0 iov 0 0K 24K 78643K 176 0 mount 1 1K 1K 78643K 1 0 vnodes 1217 76K 77K 78643K 1699 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 264 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 614 0 sigio 0 0K 0K 78643K 16 0 proc 48 38K 63K 78643K 457 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 52 0 in_multi 112 5K 5K 78643K 168 0 ether_multi 1 0K 0K 78643K 9 0 mrt 1 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 78 344K 344K 78643K 78 0 exec 0 0K 1K 78643K 286 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 147 155K 155K 78643K 2398 0 UVM aobj 42 4K 6K 78643K 49 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 130 0 NDP 16 0K 0K 78643K 42 0 temp 150 3031K 3671K 78643K 20847 0 kqueue 0 0K 0K 78643K 2 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 12 0 8 1 0 1 1 0 8 0 rtpcb 80 100 0 98 1 0 1 1 0 8 0 rtentry 112 86 0 45 2 0 2 2 0 8 0 unpcb 120 340 0 332 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 112 0 112 1 1 0 1 0 8 0 tcpcb 544 278 0 274 2 1 1 2 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 45 0 45 1 1 0 1 0 8 0 inpcb 280 1420 0 1413 5 2 3 3 0 8 2 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 6 0 6 1 1 0 1 0 8 0 nd6 48 10 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 12 0 12 2 2 0 1 0 8 0 art_heap8 4096 5 0 1 4 0 4 4 0 8 0 art_heap4 256 465 0 237 17 2 15 17 0 8 0 art_table 32 470 0 238 3 0 3 3 0 8 0 art_node 16 85 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 39 0 22 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 262 0 252 1 0 1 1 0 8 0 shmpl 112 47 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2476 0 1075 46 0 46 46 0 8 0 ffsino 240 2476 0 1075 83 0 83 83 0 8 0 nchpl 144 3629 0 2034 60 0 60 60 0 8 0 uvmvnodes 72 2854 0 0 52 0 52 52 0 8 0 vnodes 208 2854 0 0 151 0 151 151 0 8 0 namei 1024 10695 0 10695 1 0 1 1 0 8 1 vcpupl 1984 16 0 0 2 0 2 2 0 8 0 vmpool 528 18 0 2 2 0 2 2 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 11012 0 11012 1 0 1 1 0 8 1 plimitpl 152 80 0 72 1 0 1 1 0 8 0 sigapl 432 782 0 769 2 0 2 2 0 8 0 futexpl 56 18648 0 18648 1 0 1 1 0 8 1 knotepl 112 168 0 149 1 0 1 1 0 8 0 kqueuepl 104 180 0 178 1 0 1 1 0 8 0 pipepl 128 500 0 481 2 0 2 2 0 8 1 fdescpl 424 783 0 769 2 0 2 2 0 8 0 filepl 120 6507 0 6410 6 1 5 5 0 8 2 lockfpl 104 300 0 299 1 0 1 1 0 8 0 lockfspl 48 92 0 91 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 26 0 16 1 0 1 1 0 8 0 ucredpl 96 762 0 754 1 0 1 1 0 8 0 zombiepl 144 769 0 769 1 0 1 1 0 8 1 processpl 872 798 0 769 4 0 4 4 0 8 0 procpl 632 1577 0 1540 4 0 4 4 0 8 0 sosppl 128 15 0 15 3 2 1 1 0 8 1 sockpl 384 1872 0 1855 9 3 6 6 0 8 4 mcl64k 65536 301 0 301 34 27 7 33 0 8 7 mcl16k 16384 4 0 4 2 1 1 1 0 8 1 mcl12k 12288 14 0 14 1 0 1 1 0 8 1 mcl9k 9216 11 0 11 3 2 1 1 0 8 1 mcl8k 8192 38 0 38 1 0 1 1 0 8 1 mcl4k 4096 92 0 92 2 1 1 1 0 8 1 mcl2k2 2112 9 0 9 2 1 1 1 0 8 1 mcl2k 2048 69788 0 69737 19 12 7 15 0 8 0 mtagpl 80 26 0 12 2 1 1 1 0 8 0 mbufpl 256 117168 0 117044 50 34 16 33 0 8 4 bufpl 280 8100 0 1916 442 0 442 442 0 8 0 anonpl 16 104833 0 84538 106 11 95 97 0 107 12 amapchunkpl 152 3534 0 3358 14 6 8 12 0 158 0 amappl16 192 5243 0 4133 84 22 62 68 0 8 6 amappl15 184 52 0 48 1 0 1 1 0 8 0 amappl14 176 323 0 318 1 0 1 1 0 8 0 amappl13 168 2 0 2 2 2 0 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 54 0 43 1 0 1 1 0 8 0 amappl10 144 14 0 12 1 0 1 1 0 8 0 amappl9 136 573 0 570 1 0 1 1 0 8 0 amappl8 128 158 0 119 2 0 2 2 0 8 0 amappl7 120 95 0 85 1 0 1 1 0 8 0 amappl6 112 64 0 56 1 0 1 1 0 8 0 amappl5 104 156 0 146 1 0 1 1 0 8 0 amappl4 96 763 0 736 1 0 1 1 0 8 0 amappl3 88 664 0 652 1 0 1 1 0 8 0 amappl2 80 5480 0 5407 3 1 2 3 0 8 0 amappl1 72 23826 0 23401 26 16 10 20 0 8 0 amappl 80 1842 0 1786 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 48 0 7 1 0 1 1 0 8 0 uaddrrnd 24 801 0 771 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 801 0 771 1 0 1 1 0 8 0 vmmpekpl 168 9079 0 9052 2 0 2 2 0 8 0 vmmpepl 168 101201 0 98916 149 37 112 137 0 357 6 vmsppl 272 800 0 771 4 1 3 3 0 8 1 pdppl 4096 1608 0 1558 8 1 7 7 0 8 0 pvpl 32 281919 0 259125 229 13 216 221 0 265 27 pmappl 200 800 0 771 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 232 0 82 6 0 6 6 0 8 0