login: uvm_fault(0xffffffff828ad310, 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(0xffffffff828ad310, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d01,ffff80002411f6c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff80002411f500, count: 0 ddb{1}> trace tun_dev_read(5d01,ffff80002411f6c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff80002411f510) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e3c01a8,ffff80002411f6c8,10,fffffd807f7bf5a0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80668c4ac8,ffff80002411f6c8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800021edb3a8,f0,ffff80002411f6c8,0,ffff80002411f7b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800021edb3a8,ffff80002411f760,ffff80002411f7b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80002411f830) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002411f830) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4e83d38aba0, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff80002411f450 rbx 0xfffffd0000000000 rdx 0x153 rcx 0xffff800000adb580 rax 0xffffffff81f57bc3 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x3b1efa617e8eb950 r11 0xc2666db9e74445e r12 0 r13 0x3da r14 0xffff800000af7660 r15 0xffff80002411f6c8 rip 0xffffffff81f57bc8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002411f3f0 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=411041 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800021edbd68,0xffffffff8290a4c0 process=0xffff800024120408 user=0xffff80002411a000, vmspace=0xfffffd806e8faa18 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 73971 470137 26578 0 2 0 syz-executor.1 *73971 411041 26578 0 7 0x4000000 syz-executor.1 34183 224007 0 0 3 0x14200 acct acct 16062 505105 0 0 3 0x14280 nfsidl nfsio 6290 373928 0 0 3 0x14280 nfsidl nfsio 75782 65027 0 0 3 0x14280 nfsidl nfsio 83406 64988 0 0 3 0x14280 nfsidl nfsio 59995 22307 0 0 3 0x14280 nfsidl nfsio 19296 31449 0 0 3 0x14280 nfsidl nfsio 94518 367573 0 0 3 0x14280 nfsidl nfsio 56611 137657 0 0 3 0x14280 nfsidl nfsio 43783 147523 0 0 3 0x14280 nfsidl nfsio 98293 127593 0 0 3 0x14280 nfsidl nfsio 22542 121504 0 0 3 0x14280 nfsidl nfsio 96861 369331 0 0 3 0x14280 nfsidl nfsio 339 456617 0 0 3 0x14280 nfsidl nfsio 67287 286959 0 0 3 0x14280 nfsidl nfsio 74588 375625 0 0 3 0x14280 nfsidl nfsio 35480 1191 0 0 3 0x14280 nfsidl nfsio 61785 338526 0 0 3 0x14280 nfsidl nfsio 89623 259451 0 0 3 0x14280 nfsidl nfsio 22913 430213 0 0 3 0x14280 nfsidl nfsio 76069 48912 0 0 3 0x14280 nfsidl nfsio 90551 212138 1 0 3 0x100083 ttyin getty 84548 288263 54809 0 3 0x82 piperd syz-executor.0 70149 80631 0 0 3 0x14200 bored sosplice 26578 40968 54809 0 3 0x82 nanosleep syz-executor.1 54809 298577 6116 0 3 0x82 thrsleep syz-fuzzer 54809 467700 6116 0 3 0x4000082 nanosleep syz-fuzzer 54809 481299 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 364797 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 139195 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 85638 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 385221 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 520281 6116 0 7 0x4000002 syz-fuzzer 54809 18684 6116 0 3 0x4000082 thrsleep syz-fuzzer 54809 130217 6116 0 3 0x4000082 kqread syz-fuzzer 6116 30026 78035 0 3 0x10008a pause ksh 78035 329308 50123 0 3 0x92 select sshd 50123 410074 1 0 3 0x80 select sshd 35060 201287 87641 74 3 0x100092 bpf pflogd 87641 181958 1 0 3 0x80 netio pflogd 96074 30013 88037 73 3 0x100090 kqread syslogd 88037 99613 1 0 3 0x100082 netio syslogd 97582 222856 1 77 3 0x100090 poll dhclient 26650 423419 1 0 3 0x80 poll dhclient 35575 358839 0 0 3 0x14200 bored smr 68800 96252 0 0 2 0x14200 zerothread 25893 465197 0 0 3 0x14200 aiodoned aiodoned 39233 350894 0 0 3 0x14200 syncer update 7590 309870 0 0 3 0x14200 cleaner cleaner 65267 424205 0 0 3 0x14200 reaper reaper 17772 323547 0 0 3 0x14200 pgdaemon pagedaemon 59964 276994 0 0 3 0x14200 bored crynlk 36557 55117 0 0 3 0x14200 bored crypto 81204 14309 0 0 3 0x40014200 acpi0 acpi0 11135 123836 0 0 3 0x40014200 idle1 26093 347968 0 0 3 0x14200 bored softnet 85320 479502 0 0 3 0x14200 bored systqmp 54086 326832 0 0 3 0x14200 bored systq 37741 318475 0 0 3 0x40014200 bored softclock 84705 459255 0 0 3 0x40014200 idle0 1 74379 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 73971 (syz-executor.1) thread 0xffff800021edb3a8 (411041) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82923b00) #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 9534 6430K 7001K 78643K 11570 0 pcb 13 8K 8K 78643K 103 0 rtable 111 5K 6K 78643K 566 0 ifaddr 91 17K 17K 78643K 197 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 65 0 ioctlops 0 0K 4K 78643K 1535 0 iov 0 0K 16K 78643K 69 0 mount 1 1K 1K 78643K 1 0 vnodes 1233 78K 78K 78643K 1596 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 39 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 596 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 605 0 subproc 32 2K 3K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 183 0 in_multi 84 4K 4K 78643K 305 0 ether_multi 1 0K 0K 78643K 15 0 mrt 0 0K 0K 78643K 1 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 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 133 72K 73K 78643K 2987 0 UVM aobj 12 4K 4K 78643K 24 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 65 0 NDP 14 0K 0K 78643K 52 0 temp 117 3863K 3929K 78643K 16936 0 kqueue 3 4K 8K 78643K 24 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 15 0 8 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 59 0 57 1 0 1 1 0 8 0 rtentry 112 129 0 88 2 0 2 2 0 8 0 unpcb 120 331 0 321 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 416 0 416 1 1 0 1 0 8 0 tcpcb 544 527 0 523 3 2 1 2 0 8 0 inpcb 296 970 0 963 4 2 2 3 0 8 1 rttmr 72 2 0 1 1 0 1 1 0 8 0 nd6 48 45 0 41 1 0 1 1 0 8 0 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 8 0 7 2 1 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 25 0 22 3 2 1 1 0 8 0 pfstitem 24 13 0 11 1 0 1 1 0 8 0 pfstkey 112 13 0 11 1 0 1 1 0 8 0 pfstate 328 13 0 11 2 1 1 2 0 8 0 pfrule 1360 33 0 23 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 503 0 264 17 1 16 16 0 8 0 art_table 32 504 0 264 3 0 3 3 0 8 0 art_node 16 127 0 89 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 14 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 22 0 12 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2224 0 819 89 0 89 89 0 8 0 ffsino 272 2224 0 819 95 0 95 95 0 8 0 nchpl 144 3335 0 1740 61 0 61 61 0 8 0 uvmvnodes 72 2570 0 0 47 0 47 47 0 8 0 vnodes 208 2570 0 0 136 0 136 136 0 8 0 namei 1024 9594 0 9594 1 0 1 1 0 8 1 percpumem 16 43 0 11 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 9 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 7 0 6 3 2 1 1 0 8 0 scxspl 192 9944 0 9944 10 9 1 7 0 8 1 plimitpl 152 57 0 49 1 0 1 1 0 8 0 sigapl 424 819 0 766 6 0 6 6 0 8 0 futexpl 56 8657 0 8657 1 0 1 1 0 8 1 knotepl 112 152 0 133 1 0 1 1 0 8 0 kqueuepl 144 86 0 84 1 0 1 1 0 8 0 pipepl 304 175 0 165 3 2 1 2 0 8 0 fdescpl 496 782 0 766 3 0 3 3 0 8 0 filepl 152 4942 0 4842 6 1 5 6 0 8 1 lockfpl 104 88 0 87 1 0 1 1 0 8 0 lockfspl 48 33 0 32 1 0 1 1 0 8 0 sessionpl 112 24 0 13 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 453 0 444 1 0 1 1 0 8 0 zombiepl 144 766 0 766 2 1 1 1 0 8 1 processpl 984 819 0 766 7 0 7 7 0 8 0 procpl 624 2022 0 1959 6 0 6 6 0 8 0 sosppl 128 11 0 11 4 3 1 1 0 8 1 sockpl 400 1362 0 1343 6 3 3 5 0 8 1 mcl64k 65536 259 0 0 33 2 31 33 0 8 1 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 230 0 0 28 0 28 28 0 8 0 mtagpl 96 31 0 0 1 0 1 1 0 8 0 mbufpl 256 401 0 0 24 0 24 24 0 8 0 bufpl 280 4704 0 139 327 0 327 327 0 8 0 anonpl 16 95054 0 78798 86 19 67 81 0 124 0 amapchunkpl 152 4715 0 4570 15 8 7 11 0 158 0 amappl16 192 3298 0 2414 61 15 46 56 0 8 1 amappl15 184 112 0 110 1 0 1 1 0 8 0 amappl14 176 410 0 404 1 0 1 1 0 8 0 amappl13 168 49 0 46 1 0 1 1 0 8 0 amappl12 160 8 0 8 2 2 0 1 0 8 0 amappl11 152 452 0 435 1 0 1 1 0 8 0 amappl10 144 124 0 118 1 0 1 1 0 8 0 amappl9 136 415 0 413 1 0 1 1 0 8 0 amappl8 128 428 0 394 2 0 2 2 0 8 0 amappl7 120 237 0 225 1 0 1 1 0 8 0 amappl6 112 329 0 322 1 0 1 1 0 8 0 amappl5 104 284 0 268 1 0 1 1 0 8 0 amappl4 96 920 0 889 1 0 1 1 0 8 0 amappl3 88 215 0 210 1 0 1 1 0 8 0 amappl2 80 5128 0 5057 2 0 2 2 0 8 0 amappl1 72 27431 0 26976 23 13 10 18 0 8 0 amappl 80 2302 0 2254 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 12 1 0 1 1 0 8 0 uaddrrnd 24 791 0 771 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 791 0 771 1 0 1 1 0 8 0 vmmpekpl 168 9914 0 9875 2 0 2 2 0 8 0 vmmpepl 168 106060 0 104003 147 32 115 127 0 357 20 vmsppl 368 790 0 771 2 0 2 2 0 8 0 pdppl 4096 1589 0 1546 6 0 6 6 0 8 0 pvpl 32 280808 0 261279 197 23 174 193 0 265 16 pmappl 232 790 0 771 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 321 0 11 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff8270eff0) 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: 0xc0001c1ae8, count: -3 ddb{0}> machine ddbcpu 1 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> trace tun_dev_read(5d01,ffff80002411f6c8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff80002411f510) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e3c01a8,ffff80002411f6c8,10,fffffd807f7bf5a0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80668c4ac8,ffff80002411f6c8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800021edb3a8,f0,ffff80002411f6c8,0,ffff80002411f7b0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800021edb3a8,ffff80002411f760,ffff80002411f7b0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff80002411f830) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002411f830) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4e83d38aba0, count: -8