uvm_fault(0xffffffff8261a708, 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(0xffffffff8261a708, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d01,ffff800023187558,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800023187390, count: 0 ddb{0}> trace tun_dev_read(5d01,ffff800023187558,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff8000231873a0) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e79c348,ffff800023187558,10,fffffd807f7bf900) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80677f5a30,ffff800023187558,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff80002318b610,f0,ffff800023187558,0,ffff800023187640) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80002318b610,ffff8000231875f0,ffff800023187640) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff8000231876c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000231876c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9be48e3670, count: -8 ddb{0}> show registers rdi 0 rsi 0x3da rbp 0xffff8000231872e0 rbx 0xfffffd0000000000 rdx 0x153 rcx 0xffff8000009d75c0 rax 0xffffffff82110be3 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0xfbe934c541c897f6 r11 0x99f6be6d343f89e r12 0 r13 0x3da r14 0xffff800000a28660 r15 0xffff800023187558 rip 0xffffffff82110be8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800023187280 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=52750 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002318b880,0xffffffff82655490 process=0xffff800020f32bb8 user=0xffff800023182000, vmspace=0xfffffd807f0005c0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6002 68892 83853 0 7 0 syz-executor.1 * 6002 52750 83853 0 7 0x4000000 syz-executor.1 44261 449360 83969 0 3 0x82 nanosleep syz-executor.0 8047 122889 0 0 3 0x14280 nfsidl nfsio 85543 340751 0 0 3 0x14280 nfsidl nfsio 14023 256739 0 0 3 0x14280 nfsidl nfsio 63041 437038 0 0 3 0x14280 nfsidl nfsio 74279 41193 0 0 3 0x14280 nfsidl nfsio 31644 459334 0 0 3 0x14280 nfsidl nfsio 84068 297030 0 0 3 0x14280 nfsidl nfsio 26117 243611 0 0 3 0x14280 nfsidl nfsio 72961 386971 0 0 3 0x14280 nfsidl nfsio 87649 50277 0 0 3 0x14280 nfsidl nfsio 55240 327874 0 0 3 0x14280 nfsidl nfsio 42939 475476 0 0 3 0x14280 nfsidl nfsio 84516 71395 0 0 3 0x14280 nfsidl nfsio 36120 54939 0 0 3 0x14280 nfsidl nfsio 10745 512437 0 0 3 0x14280 nfsidl nfsio 12988 118651 0 0 3 0x14280 nfsidl nfsio 70837 326091 0 0 3 0x14280 nfsidl nfsio 7005 88676 0 0 3 0x14280 nfsidl nfsio 7319 74225 0 0 3 0x14280 nfsidl nfsio 35039 308655 0 0 3 0x14280 nfsidl nfsio 58168 265963 0 0 3 0x14200 bored sosplice 83853 150306 83969 0 3 0x82 nanosleep syz-executor.1 83969 62875 14566 0 3 0x82 thrsleep syz-fuzzer 83969 430137 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 75389 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 255284 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 5577 14566 0 3 0x4000082 kqread syz-fuzzer 83969 100297 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 385435 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 135571 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 495129 14566 0 3 0x4000082 thrsleep syz-fuzzer 83969 46495 14566 0 3 0x4000082 thrsleep syz-fuzzer 14566 113249 95222 0 3 0x10008a pause ksh 95222 466881 95905 0 3 0x92 select sshd 39102 350099 1 0 3 0x100083 ttyin getty 95905 242410 1 0 3 0x80 select sshd 63775 511651 63462 74 3 0x100092 bpf pflogd 63462 191183 1 0 3 0x80 netio pflogd 26971 132968 14804 73 3 0x100090 kqread syslogd 14804 52005 1 0 3 0x100082 netio syslogd 55265 264490 1 77 3 0x100090 poll dhclient 80749 69433 1 0 3 0x80 poll dhclient 3869 322049 0 0 3 0x14200 bored smr 13511 216614 0 0 3 0x14200 pgzero zerothread 5138 145612 0 0 3 0x14200 aiodoned aiodoned 4451 314819 0 0 3 0x14200 syncer update 38976 29574 0 0 3 0x14200 cleaner cleaner 96440 200253 0 0 3 0x14200 reaper reaper 81419 191681 0 0 3 0x14200 pgdaemon pagedaemon 56616 320006 0 0 3 0x14200 bored crynlk 82719 405931 0 0 3 0x14200 bored crypto 74353 24593 0 0 3 0x40014200 acpi0 acpi0 59489 127189 0 0 3 0x40014200 idle1 70807 431258 0 0 3 0x14200 bored softnet 65309 16110 0 0 3 0x14200 bored systqmp 7535 312751 0 0 3 0x14200 bored systq 46714 255746 0 0 3 0x40014200 bored softclock 74178 9298 0 0 3 0x40014200 idle0 1 373 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 6002 (syz-executor.1) thread 0xffff80002318b610 (52750) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82691818) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9516 6430K 6993K 78643K 12117 0 pcb 13 8K 8K 78643K 168 0 rtable 104 3K 4K 78643K 777 0 ifaddr 82 17K 18K 78643K 250 0 counters 43 33K 34K 78643K 101 0 ioctlops 0 0K 4K 78643K 1534 0 iov 0 0K 16K 78643K 93 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1682 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 113 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 863 0 sigio 0 0K 0K 78643K 17 0 proc 61 63K 83K 78643K 572 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 262 0 in_multi 112 5K 5K 78643K 261 0 ether_multi 1 0K 0K 78643K 19 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 294 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 132 55K 71K 78643K 3871 0 UVM aobj 17 2K 2K 78643K 36 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 154 0 NDP 11 0K 0K 78643K 54 0 temp 108 3041K 3115K 78643K 36170 0 kqueue 3 4K 12K 78643K 25 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 7 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 261 0 259 1 0 1 1 0 8 0 rtentry 112 181 0 139 2 0 2 2 0 8 0 unpcb 120 504 0 494 1 0 1 1 0 8 0 syncache 264 12 0 12 4 4 0 1 0 8 0 tcpqe 32 921 0 921 3 3 0 1 0 8 0 tcpcb 544 725 0 719 4 2 2 2 0 8 1 inpcb 280 1463 0 1454 4 2 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 19 0 15 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pfstscr 40 3 0 2 1 0 1 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 74 0 35 1 0 1 1 0 8 0 pfstkey 112 77 0 38 2 0 2 2 0 8 0 pfstate 328 73 0 36 4 0 4 4 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 458 0 275 14 2 12 13 0 8 0 art_table 32 459 0 275 2 0 2 2 0 8 0 art_node 16 99 0 60 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 6 2 1 1 1 0 8 1 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 109 0 99 1 0 1 1 0 8 0 shmpl 112 34 0 19 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2637 0 1235 89 0 89 89 0 8 0 ffsino 272 2637 0 1235 95 0 95 95 0 8 0 nchpl 144 4082 0 2497 60 0 60 60 0 8 0 uvmvnodes 72 3038 0 0 56 0 56 56 0 8 0 vnodes 208 3038 0 0 160 0 160 160 0 8 0 namei 1024 11537 0 11537 3 2 1 1 0 8 1 percpumem 16 61 0 29 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 4 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 11829 0 11829 13 12 1 7 0 8 1 plimitpl 152 59 0 51 1 0 1 1 0 8 0 sigapl 424 1093 0 1041 6 0 6 6 0 8 0 futexpl 56 12698 0 12698 3 2 1 1 0 8 1 knotepl 112 113 0 94 1 0 1 1 0 8 0 kqueuepl 144 170 0 168 1 0 1 1 0 8 0 pipelkpl 48 203 0 193 1 0 1 1 0 8 0 pipepl 120 406 0 387 1 0 1 1 0 8 0 fdescpl 496 1057 0 1041 3 0 3 3 0 8 0 filepl 152 6772 0 6672 6 1 5 6 0 8 1 lockfpl 104 152 0 151 1 0 1 1 0 8 0 lockfspl 48 61 0 60 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 30 0 19 1 0 1 1 0 8 0 ucredpl 96 613 0 604 1 0 1 1 0 8 0 zombiepl 144 1041 0 1040 1 0 1 1 0 8 0 processpl 984 1093 0 1040 7 0 7 7 0 8 0 procpl 624 2844 0 2781 7 1 6 6 0 8 1 sosppl 128 17 0 16 2 1 1 1 0 8 0 sockpl 400 2230 0 2209 6 2 4 4 0 8 1 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 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 197 0 0 24 0 24 24 0 8 0 mtagpl 80 108 0 0 3 0 3 3 0 8 0 mbufpl 256 468 0 0 26 0 26 26 0 8 0 bufpl 280 5604 0 135 391 0 391 391 0 8 0 anonpl 16 117031 0 102183 104 33 71 76 0 124 11 amapchunkpl 152 8034 0 7901 35 18 17 20 0 158 11 amappl16 192 4750 0 3953 71 26 45 52 0 8 5 amappl15 184 379 0 377 1 0 1 1 0 8 0 amappl14 176 30 0 22 1 0 1 1 0 8 0 amappl13 168 893 0 885 1 0 1 1 0 8 0 amappl12 160 5 0 2 2 1 1 1 0 8 0 amappl11 152 109 0 94 1 0 1 1 0 8 0 amappl10 144 23 0 14 1 0 1 1 0 8 0 amappl9 136 385 0 384 1 0 1 1 0 8 0 amappl8 128 433 0 385 2 0 2 2 0 8 0 amappl7 120 131 0 118 1 0 1 1 0 8 0 amappl6 112 82 0 77 2 1 1 1 0 8 0 amappl5 104 479 0 464 1 0 1 1 0 8 0 amappl4 96 1003 0 969 1 0 1 1 0 8 0 amappl3 88 564 0 557 1 0 1 1 0 8 0 amappl2 80 7706 0 7633 2 0 2 2 0 8 0 amappl1 72 32792 0 32350 23 13 10 18 0 8 0 amappl 80 3120 0 3076 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 35 0 19 1 0 1 1 0 8 0 uaddrrnd 24 1065 0 1045 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1065 0 1045 1 0 1 1 0 8 0 vmmpekpl 168 11174 0 11134 2 0 2 2 0 8 0 vmmpepl 168 136536 0 134547 155 50 105 118 0 357 13 vmsppl 368 1064 0 1045 2 0 2 2 0 8 0 pdppl 4096 2138 0 2094 7 1 6 7 0 8 0 pvpl 32 336005 0 317914 211 36 175 182 0 265 27 pmappl 232 1064 0 1045 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 290 0 13 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace tun_dev_read(5d01,ffff800023187558,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff8000231873a0) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e79c348,ffff800023187558,10,fffffd807f7bf900) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80677f5a30,ffff800023187558,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff80002318b610,f0,ffff800023187558,0,ffff800023187640) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80002318b610,ffff8000231875f0,ffff800023187640) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff8000231876c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000231876c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9be48e3670, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020e00ff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x38 kd_curproc sys/dev/kcov.c:415 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x38 sys/dev/kcov.c:79 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdc4c0, count: -5