"*"*uvm_fault(0xffffffff827b1fb8, 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(0xffffffff827b1fb8, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff800021f07df8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800021f07c30, count: 0 ddb{1}> trace tun_dev_read(5d00,ffff800021f07df8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800021f07c40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806ed79278,ffff800021f07df8,10,fffffd807f7bf7e0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8067886dc0,ffff800021f07df8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e099d8,f0,ffff800021f07df8,0,ffff800021f07ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e099d8,ffff800021f07e90,ffff800021f07ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800021f07f60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f07f60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98bbd010f0, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff800021f07b80 rbx 0xfffffd0000000000 rdx 0x153 rcx 0xffff800000aeb380 rax 0xffffffff816ca853 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x1de1b5bd31d4555f r11 0x63d4c92f28e0afa2 r12 0 r13 0x3da r14 0xffff800000ac6670 r15 0xffff800021f07df8 rip 0xffffffff816ca858 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021f07b20 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=115866 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=55, nice=20 forw=0xffffffffffffffff, list=0xffff800020e09018,0xffffffff82912c38 process=0xffff800020eb1760 user=0xffff800021f03000, vmspace=0xfffffd807efffa10 estcpu=23, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53799 104325 34024 0 7 0 syz-executor.0 *53799 115866 34024 0 7 0x4000000 syz-executor.0 35403 251155 25373 0 3 0x82 nanosleep syz-executor.1 50698 184194 0 0 3 0x14200 bored sosplice 34024 390838 25373 0 3 0x82 nanosleep syz-executor.0 25373 199319 84549 0 3 0x82 thrsleep syz-fuzzer 25373 251602 84549 0 3 0x4000082 nanosleep syz-fuzzer 25373 298191 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 49126 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 369879 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 284274 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 82123 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 444957 84549 0 3 0x4000082 thrsleep syz-fuzzer 25373 495117 84549 0 3 0x4000082 kqread syz-fuzzer 25373 202270 84549 0 3 0x4000082 thrsleep syz-fuzzer 84549 61354 80200 0 3 0x10008a pause ksh 80200 152736 6445 0 3 0x92 select sshd 57386 191077 1 0 3 0x100083 ttyin getty 6445 279509 1 0 3 0x80 select sshd 10542 184869 41622 74 3 0x100092 bpf pflogd 41622 30177 1 0 3 0x80 netio pflogd 27889 462439 25132 73 3 0x100090 kqread syslogd 25132 175584 1 0 3 0x100082 netio syslogd 5163 457988 1 77 3 0x100090 poll dhclient 88608 73251 1 0 3 0x80 poll dhclient 10709 496829 0 0 3 0x14200 bored smr 37165 295953 0 0 3 0x14200 pgzero zerothread 9653 26491 0 0 3 0x14200 aiodoned aiodoned 2248 35387 0 0 3 0x14200 syncer update 45717 130638 0 0 3 0x14200 cleaner cleaner 95468 160804 0 0 3 0x14200 reaper reaper 67093 11434 0 0 3 0x14200 pgdaemon pagedaemon 39559 434547 0 0 3 0x14200 bored crynlk 95187 177054 0 0 3 0x14200 bored crypto 44848 306759 0 0 3 0x40014200 acpi0 acpi0 87975 504703 0 0 3 0x40014200 idle1 2915 207497 0 0 3 0x14200 bored softnet 95884 173329 0 0 3 0x14200 bored systqmp 77337 52433 0 0 3 0x14200 bored systq 84043 402124 0 0 3 0x40014200 bored softclock 93131 424191 0 0 3 0x40014200 idle0 1 77885 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 53799 (syz-executor.0) thread 0xffff800020e099d8 (115866) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff829062a8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9530 6428K 6730K 78643K 10892 0 pcb 13 8K 8K 78643K 54 0 rtable 97 5K 6K 78643K 381 0 ifaddr 83 16K 17K 78643K 125 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1537 0 iov 0 0K 16K 78643K 47 0 mount 1 1K 1K 78643K 1 0 vnodes 1215 76K 77K 78643K 1368 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 317 0 sigio 0 0K 0K 78643K 20 0 proc 61 63K 83K 78643K 513 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 26 0 in_multi 61 3K 3K 78643K 120 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 249 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 23K 39K 78643K 2038 0 UVM aobj 12 2K 2K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 46 0 NDP 13 0K 0K 78643K 27 0 temp 130 3870K 3935K 78643K 8815 0 kqueue 3 4K 10K 78643K 20 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 11 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 81 0 47 2 0 2 2 0 8 0 unpcb 120 193 0 183 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 tcpqe 32 27 0 27 2 2 0 1 0 8 0 tcpcb 544 130 0 125 2 1 1 2 0 8 0 inpcb 296 575 0 567 5 3 2 2 0 8 0 rttmr 72 4 0 4 1 0 1 1 0 8 1 nd6 48 15 0 11 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 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 pfrktable 1344 16 0 11 2 1 1 1 0 8 0 pftag 88 6 0 6 2 2 0 1 0 8 0 pfstitem 24 31 0 22 1 0 1 1 0 8 0 pfstkey 112 31 0 22 1 0 1 1 0 8 0 pfstate 328 31 0 22 2 0 2 2 0 8 0 pfrule 1360 39 0 26 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 352 0 182 13 0 13 13 0 8 0 art_table 32 353 0 182 2 0 2 2 0 8 0 art_node 16 80 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 11 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1836 0 437 89 0 89 89 0 8 0 ffsino 272 1836 0 437 94 0 94 94 0 8 0 nchpl 144 2455 0 859 60 0 60 60 0 8 0 uvmvnodes 72 1953 0 0 36 0 36 36 0 8 0 vnodes 208 1953 0 0 103 0 103 103 0 8 0 namei 1024 7532 0 7532 4 3 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 6 0 2 1 0 1 1 0 8 0 scxspl 192 7220 0 7220 8 7 1 7 0 8 1 plimitpl 152 39 0 31 1 0 1 1 0 8 0 sigapl 424 530 0 498 4 0 4 4 0 8 0 futexpl 56 4635 0 4635 5 4 1 1 0 8 1 knotepl 112 95 0 76 1 0 1 1 0 8 0 kqueuepl 144 53 0 51 1 0 1 1 0 8 0 pipepl 304 121 0 111 3 2 1 2 0 8 0 fdescpl 496 514 0 498 3 0 3 3 0 8 0 filepl 152 3606 0 3506 5 0 5 5 0 8 1 lockfpl 104 43 0 42 1 0 1 1 0 8 0 lockfspl 48 15 0 14 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 861 0 852 1 0 1 1 0 8 0 zombiepl 144 498 0 497 1 0 1 1 0 8 0 processpl 992 530 0 497 5 0 5 5 0 8 0 procpl 624 1194 0 1151 4 0 4 4 0 8 0 sosppl 128 5 0 4 2 1 1 1 0 8 0 sockpl 400 810 0 790 7 3 4 4 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 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 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 187 0 0 23 0 23 23 0 8 0 mtagpl 96 12 0 0 1 0 1 1 0 8 0 mbufpl 256 240 0 0 13 0 13 13 0 8 0 bufpl 280 3921 0 136 271 0 271 271 0 8 0 anonpl 16 70251 0 53145 89 18 71 76 0 124 2 amapchunkpl 152 3989 0 3837 28 8 20 20 0 158 12 amappl16 192 2378 0 1457 58 10 48 57 0 8 0 amappl15 184 54 0 52 1 0 1 1 0 8 0 amappl14 176 113 0 108 1 0 1 1 0 8 0 amappl13 168 35 0 32 1 0 1 1 0 8 0 amappl12 160 137 0 133 1 0 1 1 0 8 0 amappl11 152 66 0 50 1 0 1 1 0 8 0 amappl10 144 74 0 65 1 0 1 1 0 8 0 amappl9 136 398 0 397 1 0 1 1 0 8 0 amappl8 128 389 0 351 2 0 2 2 0 8 0 amappl7 120 124 0 112 1 0 1 1 0 8 0 amappl6 112 25 0 21 1 0 1 1 0 8 0 amappl5 104 534 0 515 1 0 1 1 0 8 0 amappl4 96 500 0 473 1 0 1 1 0 8 0 amappl3 88 204 0 197 1 0 1 1 0 8 0 amappl2 80 3167 0 3095 2 0 2 2 0 8 0 amappl1 72 21234 0 20790 23 13 10 18 0 8 0 amappl 80 1476 0 1431 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 13 0 2 1 0 1 1 0 8 0 uaddrrnd 24 517 0 500 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 517 0 500 1 0 1 1 0 8 0 vmmpekpl 168 7993 0 7960 2 0 2 2 0 8 0 vmmpepl 168 70976 0 68875 155 56 99 125 0 357 2 vmsppl 368 516 0 500 2 0 2 2 0 8 0 pdppl 4096 1041 0 1001 8 2 6 6 0 8 0 pvpl 32 213065 0 193342 204 37 167 182 0 265 3 pmappl 232 516 0 500 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 273 0 12 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826f9ff0) 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_cmp4(a0ec2,a0ec3) at __sanitizer_cov_trace_cmp4+0x13 kd_curproc sys/dev/kcov.c:397 [inline] __sanitizer_cov_trace_cmp4(a0ec2,a0ec3) at __sanitizer_cov_trace_cmp4+0x13 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(a0ec2,a0ec3) at __sanitizer_cov_trace_cmp4+0x13 sys/dev/kcov.c:135 __mp_lock(ffffffff829060a0) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829060a0) at __mp_lock+0x139 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f uvm_map_inentry(ffff800020e09018,ffff800020e09078,7f7ffffce598,ffffffff8242213b,ffffffff813b5f50,0) at uvm_map_inentry+0x36 sys/uvm/uvm_map.c:1884 syscall(ffff800020ee8d50) at syscall+0x397 mi_syscall sys/sys/syscall_mi.h:81 [inline] syscall(ffff800020ee8d50) at syscall+0x397 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce6b0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> trace tun_dev_read(5d00,ffff800021f07df8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800021f07c40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806ed79278,ffff800021f07df8,10,fffffd807f7bf7e0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8067886dc0,ffff800021f07df8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e099d8,f0,ffff800021f07df8,0,ffff800021f07ee0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e099d8,ffff800021f07e90,ffff800021f07ee0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800021f07f60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f07f60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa98bbd010f0, count: -8