uvm_fault(0xffffffff827cff50, 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(0xffffffff827cff50, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff8000222fbbf8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff8000222fba30, count: 0 ddb{0}> trace tun_dev_read(5d00,ffff8000222fbbf8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff8000222fba40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e68b278,ffff8000222fbbf8,10,fffffd807f7bf420) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8067fecdc0,ffff8000222fbbf8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e22288,f0,ffff8000222fbbf8,0,ffff8000222fbce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e22288,ffff8000222fbc90,ffff8000222fbce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff8000222fbd60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222fbd60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc85fdede20, count: -8 ddb{0}> show registers rdi 0 rsi 0x3da rbp 0xffff8000222fb980 rbx 0xfffffd0000000000 rdx 0x4ff rcx 0xffff800000aeb080 rax 0xffffffff81eadd63 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0xd772415c5c4f35f1 r11 0x7b39bf8ae9f474e4 r12 0 r13 0x3da r14 0xffff800000ac6660 r15 0xffff8000222fbbf8 rip 0xffffffff81eadd68 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000222fb920 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=370360 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020e23ae8,0xffffffff828b3dc0 process=0xffff800020e09b08 user=0xffff8000222f6000, vmspace=0xfffffd8068ceda20 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 95875 304275 47200 0 2 0 syz-executor.0 *95875 370360 47200 0 7 0x4000000 syz-executor.0 91342 326169 70020 0 3 0x82 piperd syz-executor.1 74309 281975 0 0 3 0x14200 bored sosplice 47200 515444 70020 0 3 0x82 nanosleep syz-executor.0 70020 323350 13108 0 3 0x82 thrsleep syz-fuzzer 70020 479350 13108 0 3 0x4000082 nanosleep syz-fuzzer 70020 319915 13108 0 3 0x4000082 thrsleep syz-fuzzer 70020 10773 13108 0 3 0x4000082 thrsleep syz-fuzzer 70020 491444 13108 0 3 0x4000082 thrsleep syz-fuzzer 70020 307658 13108 0 3 0x4000082 kqread syz-fuzzer 70020 331192 13108 0 3 0x4000082 thrsleep syz-fuzzer 70020 137728 13108 0 3 0x4000082 thrsleep syz-fuzzer 70020 447774 13108 0 7 0x4000002 syz-fuzzer 70020 501966 13108 0 3 0x4000082 thrsleep syz-fuzzer 13108 210921 67422 0 3 0x10008a pause ksh 67422 511688 49151 0 3 0x92 select sshd 46720 469821 1 0 3 0x100083 ttyin getty 49151 247820 1 0 3 0x80 select sshd 9624 165442 50493 74 3 0x100092 bpf pflogd 50493 497023 1 0 3 0x80 netio pflogd 4740 283989 73853 73 3 0x100090 kqread syslogd 73853 464501 1 0 3 0x100082 netio syslogd 86770 199078 1 77 3 0x100090 poll dhclient 41140 227848 1 0 3 0x80 poll dhclient 65400 343838 0 0 3 0x14200 bored smr 30803 94649 0 0 2 0x14200 zerothread 93032 366669 0 0 3 0x14200 aiodoned aiodoned 56755 77711 0 0 3 0x14200 syncer update 59913 35263 0 0 3 0x14200 cleaner cleaner 22025 221013 0 0 3 0x14200 reaper reaper 4678 262691 0 0 3 0x14200 pgdaemon pagedaemon 88078 268717 0 0 3 0x14200 bored crynlk 19623 290626 0 0 3 0x14200 bored crypto 61499 385935 0 0 3 0x40014200 acpi0 acpi0 30072 231478 0 0 3 0x40014200 idle1 5817 63929 0 0 3 0x14200 bored softnet 97477 389814 0 0 3 0x14200 bored systqmp 22427 140984 0 0 3 0x14200 bored systq 31109 114852 0 0 3 0x40014200 bored softclock 33899 180040 0 0 3 0x40014200 idle0 1 395583 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 95875 (syz-executor.0) thread 0xffff800020e22288 (370360) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82911f98) #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 9521 6417K 6994K 78643K 12486 0 pcb 13 8K 8K 78643K 115 0 rtable 124 8K 9K 78643K 474 0 ifaddr 90 18K 19K 78643K 172 0 sysctl 0 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 51 0 ioctlops 0 0K 4K 78643K 1578 0 iov 0 0K 16K 78643K 1193 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1737 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 124 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 827 0 sigio 0 0K 0K 78643K 6 0 proc 62 63K 95K 78643K 511 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 50 0 in_multi 94 4K 4K 78643K 258 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 5 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 281 0 pfkey data 0 0K 1K 78643K 2 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 139 88K 97K 78643K 3473 0 UVM aobj 24 2K 2K 78643K 24 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 115 0 NDP 12 0K 0K 78643K 37 0 temp 110 3863K 3927K 78643K 12416 0 kqueue 3 4K 13K 78643K 19 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 11 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 50 0 48 1 0 1 1 0 8 0 rtentry 112 109 0 66 2 0 2 2 0 8 0 unpcb 120 288 0 277 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 134 0 134 1 1 0 1 0 8 0 tcpcb 544 231 0 227 1 0 1 1 0 8 0 inpcb 296 764 0 757 3 2 1 2 0 8 0 rttmr 72 2 0 2 2 2 0 1 0 8 0 nd6 48 35 0 31 1 0 1 1 0 8 0 pkpcb 40 14 0 14 2 2 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 3 0 2 1 0 1 1 0 8 0 pffrag 232 5 0 4 1 0 1 1 0 482 0 pffrnode 88 5 0 4 1 0 1 1 0 8 0 pffrent 40 139 0 138 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 pfrktable 1344 34 0 25 2 1 1 2 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstitem 24 14 0 6 1 0 1 1 0 8 0 pfstkey 112 14 0 6 1 0 1 1 0 8 0 pfstate 328 14 0 6 2 0 2 2 0 8 0 pfrule 1360 42 0 25 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 402 0 223 15 3 12 13 0 8 0 art_table 32 404 0 223 2 0 2 2 0 8 0 art_node 16 108 0 68 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 13 1 0 1 1 0 8 0 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 117 0 107 1 0 1 1 0 8 0 shmpl 112 22 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2402 0 996 89 0 89 89 0 8 0 ffsino 272 2402 0 996 95 0 95 95 0 8 0 nchpl 144 4237 0 2637 61 1 60 61 0 8 0 uvmvnodes 72 2897 0 0 53 0 53 53 0 8 0 vnodes 208 2897 0 0 153 0 153 153 0 8 0 namei 1024 11416 0 11416 1 0 1 1 0 8 1 percpumem 16 36 0 4 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 10 0 3 2 1 1 1 0 8 0 pfiaddrpl 120 15 0 5 1 0 1 1 0 8 0 scxspl 192 11253 0 11253 10 9 1 7 0 8 1 plimitpl 152 54 0 46 1 0 1 1 0 8 0 sigapl 424 1040 0 1008 4 0 4 4 0 8 0 futexpl 56 12635 0 12635 1 0 1 1 0 8 1 knotepl 112 93 0 74 1 0 1 1 0 8 0 kqueuepl 144 68 0 66 1 0 1 1 0 8 0 pipelkpl 48 146 0 136 1 0 1 1 0 8 0 pipepl 120 292 0 273 1 0 1 1 0 8 0 fdescpl 496 1024 0 1008 3 0 3 3 0 8 0 filepl 152 5975 0 5872 5 0 5 5 0 8 1 lockfpl 104 124 0 123 1 0 1 1 0 8 0 lockfspl 48 46 0 45 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 408 0 399 1 0 1 1 0 8 0 zombiepl 144 1008 0 1008 1 0 1 1 0 8 1 processpl 984 1040 0 1008 5 0 5 5 0 8 0 procpl 624 2625 0 2583 4 0 4 4 0 8 0 sosppl 128 11 0 11 2 2 0 1 0 8 0 sockpl 400 1117 0 1097 7 4 3 4 0 8 0 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 179 0 0 22 0 22 22 0 8 0 mtagpl 96 231 0 0 6 0 6 6 0 8 0 mbufpl 256 591 0 0 34 0 34 34 0 8 0 bufpl 280 4954 0 137 345 0 345 345 0 8 0 anonpl 16 102929 0 86585 82 14 68 79 0 124 0 amapchunkpl 152 5520 0 5370 17 10 7 13 0 158 0 amappl16 192 4858 0 3948 59 13 46 58 0 8 0 amappl15 184 9 0 8 2 1 1 1 0 8 0 amappl14 176 28 0 21 1 0 1 1 0 8 0 amappl13 168 35 0 32 1 0 1 1 0 8 0 amappl12 160 14 0 13 1 0 1 1 0 8 0 amappl11 152 200 0 185 1 0 1 1 0 8 0 amappl10 144 571 0 563 1 0 1 1 0 8 0 amappl9 136 469 0 467 1 0 1 1 0 8 0 amappl8 128 477 0 436 2 0 2 2 0 8 0 amappl7 120 126 0 113 1 0 1 1 0 8 0 amappl6 112 167 0 163 1 0 1 1 0 8 0 amappl5 104 919 0 903 1 0 1 1 0 8 0 amappl4 96 508 0 479 1 0 1 1 0 8 0 amappl3 88 126 0 120 1 0 1 1 0 8 0 amappl2 80 7189 0 7117 2 0 2 2 0 8 0 amappl1 72 31101 0 30660 23 13 10 18 0 8 0 amappl 80 2895 0 2845 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 23 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1034 0 1011 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1034 0 1011 1 0 1 1 0 8 0 vmmpekpl 168 10659 0 10623 2 0 2 2 0 8 0 vmmpepl 168 128840 0 126757 143 49 94 126 0 357 1 vmsppl 368 1033 0 1011 3 0 3 3 0 8 0 pdppl 4096 2075 0 2029 7 1 6 7 0 8 0 pvpl 32 309784 0 290265 195 31 164 188 0 265 3 pmappl 232 1033 0 1011 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 293 0 11 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace tun_dev_read(5d00,ffff8000222fbbf8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff8000222fba40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e68b278,ffff8000222fbbf8,10,fffffd807f7bf420) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8067fecdc0,ffff8000222fbbf8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e22288,f0,ffff8000222fbbf8,0,ffff8000222fbce0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e22288,ffff8000222fbc90,ffff8000222fbce0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff8000222fbd60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222fbd60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc85fdede20, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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 end of kernel end trace frame: 0xc003646ae8, count: -3