uvm_fault(0xffffffff82578a20, 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(0xffffffff82578a20, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d01,ffff800023170ff8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800023170e30, count: 0 ddb{1}> trace tun_dev_read(5d01,ffff800023170ff8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023170e40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e500278,ffff800023170ff8,10,fffffd807f7bfa80) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80671a9d28,ffff800023170ff8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ec6c48,f0,ffff800023170ff8,0,ffff8000231710e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ec6c48,ffff800023171090,ffff8000231710e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023171160) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023171160) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe946d718f00, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff800023170d80 rbx 0xfffffd0000000000 rdx 0x152 rcx 0xffff8000009d8900 rax 0xffffffff8192ff83 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0xe1bb099dec5fee1f r11 0x4eb801840835e7e5 r12 0 r13 0x3da r14 0xffff800000a23e60 r15 0xffff800023170ff8 rip 0xffffffff8192ff88 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800023170d20 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=500886 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec69d8,0xffff800020ec6028 process=0xffff800023191740 user=0xffff80002316c000, vmspace=0xfffffd807efff5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 96899 20626 39471 0 7 0 syz-executor.0 93637 339659 28851 0 2 0 syz-executor.1 *93637 500886 28851 0 7 0x4000000 syz-executor.1 93637 30483 28851 0 3 0x4000080 fsleep syz-executor.1 93637 207271 28851 0 3 0x4000080 fsleep syz-executor.1 61821 246278 0 0 3 0x14280 nfsidl nfsio 60706 302204 0 0 3 0x14280 nfsidl nfsio 98041 125372 0 0 3 0x14280 nfsidl nfsio 43238 205534 0 0 3 0x14280 nfsidl nfsio 58880 48767 0 0 3 0x14280 nfsidl nfsio 54849 99056 0 0 3 0x14280 nfsidl nfsio 43442 351934 0 0 3 0x14280 nfsidl nfsio 43229 234898 0 0 3 0x14280 nfsidl nfsio 67193 217066 0 0 3 0x14280 nfsidl nfsio 15578 150337 0 0 3 0x14280 nfsidl nfsio 38634 109991 0 0 3 0x14280 nfsidl nfsio 27988 42608 0 0 3 0x14280 nfsidl nfsio 14725 521942 0 0 3 0x14280 nfsidl nfsio 5361 263619 0 0 3 0x14280 nfsidl nfsio 84247 19173 0 0 3 0x14280 nfsidl nfsio 43349 489395 0 0 3 0x14280 nfsidl nfsio 36906 423711 0 0 3 0x14280 nfsidl nfsio 70826 86493 0 0 3 0x14280 nfsidl nfsio 22700 24207 0 0 3 0x14280 nfsidl nfsio 88770 91852 0 0 3 0x14280 nfsidl nfsio 60425 261257 0 0 3 0x14200 bored sosplice 28851 50029 99428 0 3 0x82 nanosleep syz-executor.1 39471 74845 99428 0 3 0x82 nanosleep syz-executor.0 99428 388006 30765 0 3 0x82 thrsleep syz-fuzzer 99428 446744 30765 0 3 0x4000082 nanosleep syz-fuzzer 99428 92694 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 292961 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 347664 30765 0 3 0x4000082 kqread syz-fuzzer 99428 55077 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 435189 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 458998 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 216523 30765 0 3 0x4000082 thrsleep syz-fuzzer 99428 93410 30765 0 3 0x4000082 nanosleep syz-fuzzer 30765 369114 52687 0 3 0x10008a pause ksh 52687 201244 88098 0 3 0x92 select sshd 64329 323752 1 0 3 0x100083 ttyin getty 88098 298987 1 0 3 0x80 select sshd 72825 80700 82288 74 3 0x100092 bpf pflogd 82288 261810 1 0 3 0x80 netio pflogd 5284 247771 89405 73 3 0x100090 kqread syslogd 89405 317638 1 0 3 0x100082 netio syslogd 7468 65544 1 77 3 0x100090 poll dhclient 45007 505851 1 0 3 0x80 poll dhclient 39603 375230 0 0 3 0x14200 bored smr 13013 378487 0 0 3 0x14200 pgzero zerothread 3330 206071 0 0 3 0x14200 aiodoned aiodoned 85821 452028 0 0 3 0x14200 syncer update 44019 211531 0 0 3 0x14200 cleaner cleaner 75191 393701 0 0 3 0x14200 reaper reaper 39497 7016 0 0 3 0x14200 pgdaemon pagedaemon 12230 51311 0 0 3 0x14200 bored crynlk 99611 395377 0 0 3 0x14200 bored crypto 63422 73068 0 0 3 0x40014200 acpi0 acpi0 96333 355638 0 0 3 0x40014200 idle1 66971 140433 0 0 3 0x14200 bored softnet 13260 208992 0 0 3 0x14200 bored systqmp 10940 468508 0 0 3 0x14200 bored systq 92135 494972 0 0 3 0x40014200 bored softclock 96580 157006 0 0 3 0x40014200 idle0 1 208364 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 93637 (syz-executor.1) thread 0xffff800020ec6c48 (500886) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8269e118) #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 9541 6502K 6796K 78643K 11540 0 pcb 13 8K 8K 78643K 67 0 rtable 89 4K 6K 78643K 415 0 ifaddr 87 17K 17K 78643K 186 0 counters 43 33K 34K 78643K 75 0 ioctlops 0 0K 4K 78643K 1531 0 iov 0 0K 16K 78643K 55 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 77K 78643K 1591 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 50 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 344 0 sigio 0 0K 0K 78643K 5 0 proc 61 63K 95K 78643K 470 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 29 0 in_multi 63 3K 3K 78643K 105 0 ether_multi 1 0K 0K 78643K 8 0 mrt 1 0K 0K 78643K 7 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 237 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 39K 39K 78643K 2078 0 UVM aobj 26 2K 2K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 39 0 NDP 13 0K 0K 78643K 35 0 temp 116 3039K 3112K 78643K 9494 0 kqueue 3 4K 8K 78643K 10 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 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 34 0 32 1 0 1 1 0 8 0 rtentry 112 62 0 31 2 0 2 2 0 8 0 unpcb 120 395 0 385 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpcb 544 109 0 105 1 0 1 1 0 8 0 inpcb 280 531 0 524 3 1 2 2 0 8 1 rttmr 72 2 0 2 2 1 1 1 0 8 1 nd6 48 9 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 6 0 6 2 1 1 1 0 8 1 pffrag 232 3 0 3 2 1 1 1 0 482 1 pffrnode 88 3 0 3 2 1 1 1 0 8 1 pffrent 40 6 0 6 2 1 1 1 0 8 1 pfosfp 40 846 0 846 5 0 5 5 0 8 5 pfosfpen 112 1428 0 1428 21 0 21 21 0 8 21 pfrktable 1344 23 0 21 2 1 1 1 0 8 0 pftag 88 3 0 2 1 0 1 1 0 8 0 pfstitem 24 21 0 10 1 0 1 1 0 8 0 pfstkey 112 21 0 10 1 0 1 1 0 8 0 pfstate 328 21 0 10 2 0 2 2 0 8 0 pfrule 1360 36 0 22 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 315 0 161 13 3 10 13 0 8 0 art_table 32 316 0 161 2 0 2 2 0 8 0 art_node 16 61 0 34 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 19 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 40 0 30 1 0 1 1 0 8 0 shmpl 112 24 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1901 0 494 89 0 89 89 0 8 0 ffsino 272 1901 0 494 95 0 95 95 0 8 0 nchpl 144 2552 0 942 60 0 60 60 0 8 0 uvmvnodes 72 2252 0 0 41 0 41 41 0 8 0 vnodes 208 2252 0 0 119 0 119 119 0 8 0 namei 1024 7183 0 7183 2 1 1 1 0 8 1 percpumem 16 48 0 16 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 8 0 6 2 1 1 1 0 8 0 scxspl 192 7422 0 7422 8 7 1 7 0 8 1 plimitpl 152 44 0 36 1 0 1 1 0 8 0 sigapl 424 580 0 527 6 0 6 6 0 8 0 futexpl 56 5525 0 5523 2 1 1 1 0 8 0 knotepl 112 70 0 51 1 0 1 1 0 8 0 kqueuepl 144 33 0 31 1 0 1 1 0 8 0 pipelkpl 48 135 0 125 1 0 1 1 0 8 0 pipepl 120 270 0 251 1 0 1 1 0 8 0 fdescpl 496 544 0 527 3 0 3 3 0 8 0 filepl 152 3496 0 3394 5 0 5 5 0 8 1 lockfpl 104 109 0 108 1 0 1 1 0 8 0 lockfspl 48 37 0 36 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 258 0 249 1 0 1 1 0 8 0 zombiepl 144 527 0 527 1 0 1 1 0 8 1 processpl 984 580 0 527 7 0 7 7 0 8 0 procpl 624 1312 0 1247 7 1 6 6 0 8 1 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 966 0 947 4 1 3 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 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 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 163 0 0 20 0 20 20 0 8 0 mtagpl 80 37 0 0 1 0 1 1 0 8 0 mbufpl 256 468 0 0 28 0 28 28 0 8 0 bufpl 280 4156 0 133 288 0 288 288 0 8 0 anonpl 16 60236 0 44313 66 1 65 65 0 124 0 amapchunkpl 152 3173 0 3018 22 2 20 20 0 158 13 amappl16 192 2211 0 1361 43 0 43 43 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 171 0 165 1 0 1 1 0 8 0 amappl13 168 190 0 186 1 0 1 1 0 8 0 amappl12 160 152 0 148 1 0 1 1 0 8 0 amappl11 152 58 0 43 1 0 1 1 0 8 0 amappl10 144 32 0 25 1 0 1 1 0 8 0 amappl9 136 380 0 379 1 0 1 1 0 8 0 amappl8 128 357 0 322 2 0 2 2 0 8 0 amappl7 120 119 0 107 1 0 1 1 0 8 0 amappl6 112 23 0 18 2 1 1 1 0 8 0 amappl5 104 456 0 439 1 0 1 1 0 8 0 amappl4 96 649 0 620 1 0 1 1 0 8 0 amappl3 88 111 0 105 1 0 1 1 0 8 0 amappl2 80 3557 0 3484 2 0 2 2 0 8 0 amappl1 72 21515 0 21057 23 13 10 18 0 8 0 amappl 80 1543 0 1495 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 25 0 0 1 0 1 1 0 8 0 uaddrrnd 24 548 0 529 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 548 0 529 1 0 1 1 0 8 0 vmmpekpl 168 8381 0 8348 2 0 2 2 0 8 0 vmmpepl 168 72894 0 70782 118 24 94 112 0 357 2 vmsppl 368 547 0 529 2 0 2 2 0 8 0 pdppl 4096 1104 0 1060 6 0 6 6 0 8 0 pvpl 32 201116 0 181888 162 3 159 159 0 265 3 pmappl 232 547 0 529 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 280 0 9 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(ffffffff82508ff0) 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 __mp_lock(ffffffff8269df10) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8269df10) at __mp_lock+0x127 sys/kern/kern_lock.c:147 pageflttrap(ffff80002403dae0,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 usertrap(ffff80002403dae0) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffd3170, count: -7 ddb{0}> machine ddbcpu 1 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> trace tun_dev_read(5d01,ffff800023170ff8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023170e40) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e500278,ffff800023170ff8,10,fffffd807f7bfa80) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80671a9d28,ffff800023170ff8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ec6c48,f0,ffff800023170ff8,0,ffff8000231710e0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ec6c48,ffff800023171090,ffff8000231710e0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023171160) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023171160) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe946d718f00, count: -8