uvm_fault(0xffffffff825c4c90, 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(0xffffffff825c4c90, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff800020ab6e18,10) at tun_dev_read+0x138 sys/net/if_tun.c:792 end trace frame: 0xffff800020ab6c50, count: 0 ddb{1}> trace tun_dev_read(5d00,ffff800020ab6e18,10) at tun_dev_read+0x138 sys/net/if_tun.c:792 spec_read(ffff800020ab6c60) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e2830d8,ffff800020ab6e18,10,fffffd807f7be720) at VOP_READ+0xbf sys/kern/vfs_vops.c:248 vn_read(fffffd8066b6c310,ffff800020ab6e18,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ac2eb8,f0,ffff800020ab6e18,0,ffff800020ab6f00) at dofilereadv+0x1a2 sys/kern/sys_generic.c:236 sys_read(ffff800020ac2eb8,ffff800020ab6eb0,ffff800020ab6f00) at sys_read+0x83 sys/kern/sys_generic.c:156 syscall(ffff800020ab6f80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ab6f80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x52d0a36def0, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff800020ab6ba0 rbx 0xfffffd0000000000 rdx 0x46c rcx 0xffff800000064e80 rax 0xffffffff8165dab3 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x60b4d024dc51dd96 r11 0x57b620ae5c9842d8 r12 0 r13 0x3da r14 0xffff8000009ce660 r15 0xffff800020ab6e18 rip 0xffffffff8165dab8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800020ab6b40 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=140346 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac3398,0xffffffff82614108 process=0xffff800020aa92e0 user=0xffff800020ab2000, vmspace=0xfffffd807f0008a0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 19167 16322 4142 0 7 0 syz-executor.0 *19167 140346 4142 0 7 0x4000000 syz-executor.0 47344 312521 51129 0 2 0 syz-executor.1 47344 353975 51129 0 3 0x4000080 lockf syz-executor.1 47344 520526 51129 0 3 0x4000080 lockf syz-executor.1 63419 66197 0 0 3 0x14200 acct acct 90223 404658 1 0 3 0x100083 ttyin getty 95331 311547 0 0 3 0x14200 bored sosplice 51129 92304 1620 0 3 0x82 nanosleep syz-executor.1 4142 204121 1620 0 3 0x82 nanosleep syz-executor.0 1620 472552 32346 0 3 0x82 thrsleep syz-fuzzer 1620 142240 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 14726 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 238322 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 54253 32346 0 3 0x4000082 kqread syz-fuzzer 1620 406075 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 274576 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 193828 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 137344 32346 0 3 0x4000082 thrsleep syz-fuzzer 1620 345980 32346 0 3 0x4000082 thrsleep syz-fuzzer 32346 469153 17018 0 3 0x10008a pause ksh 17018 4476 74511 0 3 0x92 select sshd 74511 273031 1 0 3 0x80 select sshd 40974 488211 86233 74 3 0x100092 bpf pflogd 86233 334241 1 0 3 0x80 netio pflogd 8893 133899 56824 73 3 0x100090 kqread syslogd 56824 346500 1 0 3 0x100082 netio syslogd 25143 43137 0 0 2 0x14200 zerothread 73377 466238 0 0 3 0x14200 aiodoned aiodoned 36549 395092 0 0 3 0x14200 syncer update 16202 49246 0 0 3 0x14200 cleaner cleaner 31607 458773 0 0 3 0x14200 reaper reaper 95232 55454 0 0 3 0x14200 pgdaemon pagedaemon 72845 402301 0 0 3 0x14200 bored crynlk 33016 350315 0 0 3 0x14200 bored crypto 2617 298661 0 0 3 0x40014200 acpi0 acpi0 76553 72005 0 0 3 0x40014200 idle1 44646 310399 0 0 3 0x14200 bored softnet 85214 220015 0 0 3 0x14200 bored systqmp 75634 491866 0 0 3 0x14200 bored systq 18617 496815 0 0 3 0x40014200 bored softclock 54509 335147 0 0 3 0x40014200 idle0 81182 367857 0 0 3 0x14200 bored smr 1 403226 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 19167 (syz-executor.0) thread 0xffff800020ac2eb8 (140346) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff826115c8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 vn_read+0x45 sys/kern/vfs_vnops.c:357 #2 dofilereadv+0x1a2 sys/kern/sys_generic.c:236 #3 sys_read+0x83 sys/kern/sys_generic.c:156 #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 9488 6342K 6662K 78643K 10903 0 pcb 13 10K 12K 78643K 138 0 rtable 103 4K 4K 78643K 309 0 ifaddr 59 12K 13K 78643K 112 0 counters 43 33K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1486 0 iov 0 0K 16K 78643K 41 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1332 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 44 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 213 0 sigio 0 0K 0K 78643K 4 0 proc 56 51K 95K 78643K 488 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 17 0 in_multi 41 2K 2K 78643K 76 0 ether_multi 1 0K 0K 78643K 10 0 mrt 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 221 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 107 21K 37K 78643K 1693 0 UVM aobj 8 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 41 0 NDP 9 0K 0K 78643K 23 0 temp 119 3018K 3082K 78643K 3852 0 kqueue 3 4K 16K 78643K 11 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 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 43 0 43 1 0 1 1 0 8 1 rtentry 112 56 0 16 2 0 2 2 0 8 0 unpcb 120 214 0 204 1 0 1 1 0 8 0 syncache 264 8 0 8 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 35 0 35 2 2 0 1 0 8 0 tcpcb 544 392 0 385 14 7 7 14 0 8 6 inpcb 280 717 0 710 10 3 7 10 0 8 6 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 7 0 3 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pffrag 232 5 0 5 1 1 0 1 0 482 0 pffrnode 88 5 0 5 1 1 0 1 0 8 0 pffrent 40 139 0 139 1 1 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 32 0 5 1 0 1 1 0 8 0 pfstkey 112 32 0 5 1 0 1 1 0 8 0 pfstate 328 32 0 5 3 0 3 3 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 271 0 46 16 1 15 15 0 8 0 art_table 32 272 0 46 2 0 2 2 0 8 0 art_node 16 55 0 18 1 0 1 1 0 8 0 semapl 112 42 0 32 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1757 0 348 46 0 46 46 0 8 0 ffsino 272 1757 0 348 95 0 95 95 0 8 0 nchpl 144 2303 0 684 61 0 61 61 0 8 0 uvmvnodes 72 1879 0 0 35 0 35 35 0 8 0 vnodes 208 1879 0 0 99 0 99 99 0 8 0 namei 1024 6833 0 6833 1 0 1 1 0 8 1 percpumem 16 41 0 9 1 0 1 1 0 8 0 vmpool 560 8 0 8 1 0 1 1 0 8 1 scxspl 192 7044 0 7044 9 6 3 7 0 8 3 plimitpl 152 29 0 22 1 0 1 1 0 8 0 sigapl 432 413 0 399 3 1 2 3 0 8 0 futexpl 56 5830 0 5830 1 0 1 1 0 8 1 knotepl 112 65 0 46 1 0 1 1 0 8 0 kqueuepl 104 280 0 278 4 2 2 4 0 8 1 pipelkpl 48 104 0 94 1 0 1 1 0 8 0 pipepl 120 208 0 189 1 0 1 1 0 8 0 fdescpl 496 414 0 399 3 0 3 3 0 8 0 filepl 152 3501 0 3405 13 3 10 13 0 8 6 lockfpl 104 72 0 69 1 0 1 1 0 8 0 lockfspl 48 26 0 25 1 0 1 1 0 8 0 sessionpl 112 19 0 10 1 0 1 1 0 8 0 pgrppl 48 19 0 10 1 0 1 1 0 8 0 ucredpl 96 195 0 187 1 0 1 1 0 8 0 zombiepl 144 399 0 399 1 0 1 1 0 8 1 processpl 960 431 0 399 5 0 5 5 0 8 0 procpl 624 902 0 858 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 20 0 20 1 0 1 1 0 8 1 sockpl 400 989 0 972 14 5 9 14 0 8 6 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 191 0 0 23 0 23 23 0 8 0 mtagpl 80 16 0 0 1 0 1 1 0 8 0 mbufpl 256 341 0 0 20 0 20 20 0 8 0 bufpl 280 4804 0 193 330 0 330 330 0 8 0 anonpl 16 55715 0 39269 85 1 84 84 0 125 17 amapchunkpl 152 2184 0 2050 8 1 7 8 0 158 0 amappl16 192 1922 0 1020 58 5 53 58 0 8 7 amappl15 184 236 0 228 1 0 1 1 0 8 0 amappl14 176 27 0 26 1 0 1 1 0 8 0 amappl13 168 10 0 8 1 0 1 1 0 8 0 amappl12 160 13 0 12 2 1 1 1 0 8 0 amappl11 152 55 0 47 1 0 1 1 0 8 0 amappl10 144 14 0 8 1 0 1 1 0 8 0 amappl9 136 687 0 680 1 0 1 1 0 8 0 amappl8 128 218 0 193 1 0 1 1 0 8 0 amappl7 120 103 0 92 1 0 1 1 0 8 0 amappl6 112 58 0 52 1 0 1 1 0 8 0 amappl5 104 159 0 148 1 0 1 1 0 8 0 amappl4 96 674 0 643 1 0 1 1 0 8 0 amappl3 88 133 0 126 1 0 1 1 0 8 0 amappl2 80 2521 0 2447 3 1 2 3 0 8 0 amappl1 72 18879 0 18428 27 17 10 21 0 8 0 amappl 80 1160 0 1118 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 422 0 407 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 422 0 407 1 0 1 1 0 8 0 vmmpekpl 168 6962 0 6921 2 0 2 2 0 8 0 vmmpepl 168 58401 0 56288 125 11 114 114 0 357 22 vmsppl 368 421 0 407 2 0 2 2 0 8 0 pdppl 4096 851 0 814 6 0 6 6 0 8 0 pvpl 32 179413 0 159743 202 1 201 201 0 265 41 pmappl 232 421 0 407 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 209 0 16 6 0 6 6 0 8 0