uvm_fault(0xffffffff827df520, 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(0xffffffff827df520, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff800023f0d4e8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800023f0d320, count: 0 ddb{1}> trace tun_dev_read(5d00,ffff800023f0d4e8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023f0d330) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e7f84e8,ffff800023f0d4e8,10,fffffd807f7bf960) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80667ef6a0,ffff800023f0d4e8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e23128,f0,ffff800023f0d4e8,0,ffff800023f0d5d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e23128,ffff800023f0d580,ffff800023f0d5d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023f0d650) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f0d650) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12ce1c5310, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff800023f0d270 rbx 0xfffffd0000000000 rdx 0x1fe rcx 0xffff800000aeb240 rax 0xffffffff81428173 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x7519c099d42e008b r11 0xd4f877f61451e6b6 r12 0 r13 0x3da r14 0xffff800000ac6660 r15 0xffff800023f0d4e8 rip 0xffffffff81428178 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800023f0d210 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=66831 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020e22c48,0xffff800020e22028 process=0xffff800020e09b10 user=0xffff800023f08000, vmspace=0xfffffd807efff8a0 estcpu=36, cpticks=5, pctcpu=0.0 user=0, sys=5, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 43811 467246 92747 0 2 0 syz-executor.1 43811 263540 92747 0 7 0x4000000 syz-executor.1 16985 61869 30656 0 2 0 syz-executor.0 *16985 66831 30656 0 7 0x4000000 syz-executor.0 56178 487760 0 0 3 0x14200 bored sosplice 92747 348665 51437 0 3 0x82 nanosleep syz-executor.1 30656 15889 51437 0 3 0x82 nanosleep syz-executor.0 51437 319591 14836 0 3 0x82 thrsleep syz-fuzzer 51437 187326 14836 0 3 0x4000082 nanosleep syz-fuzzer 51437 282639 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 154802 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 374390 14836 0 3 0x4000082 kqread syz-fuzzer 51437 195358 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 128469 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 289507 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 440181 14836 0 3 0x4000082 thrsleep syz-fuzzer 51437 140495 14836 0 3 0x4000082 thrsleep syz-fuzzer 14836 397589 89079 0 3 0x10008a pause ksh 89079 202139 25292 0 3 0x92 select sshd 19612 38877 1 0 3 0x100083 ttyin getty 25292 136119 1 0 3 0x80 select sshd 609 416806 9150 74 3 0x100092 bpf pflogd 9150 54294 1 0 3 0x80 netio pflogd 1592 248872 3674 73 3 0x100090 kqread syslogd 3674 360696 1 0 3 0x100082 netio syslogd 79631 367410 1 77 3 0x100090 poll dhclient 34809 411452 1 0 3 0x80 poll dhclient 19491 7150 0 0 3 0x14200 bored smr 92149 429667 0 0 2 0x14200 zerothread 13546 236483 0 0 3 0x14200 aiodoned aiodoned 17489 402574 0 0 3 0x14200 syncer update 39047 220315 0 0 3 0x14200 cleaner cleaner 1762 486776 0 0 3 0x14200 reaper reaper 67403 59305 0 0 3 0x14200 pgdaemon pagedaemon 13997 203342 0 0 3 0x14200 bored crynlk 16747 522978 0 0 3 0x14200 bored crypto 95444 343333 0 0 3 0x40014200 acpi0 acpi0 30386 389153 0 0 3 0x40014200 idle1 32164 212120 0 0 3 0x14200 bored softnet 13457 64955 0 0 3 0x14200 bored systqmp 21654 339351 0 0 3 0x14200 bored systq 17765 104283 0 0 3 0x40014200 bored softclock 40892 414998 0 0 3 0x40014200 idle0 1 513800 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 16985 (syz-executor.0) thread 0xffff800020e23128 (66831) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82910c50) #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 9508 6413K 7245K 78643K 11709 0 pcb 13 8K 8K 78643K 66 0 rtable 108 4K 5K 78643K 308 0 ifaddr 71 14K 14K 78643K 107 0 counters 45 34K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1506 0 iov 0 0K 16K 78643K 31 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1485 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 10 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 281 0 sigio 0 0K 0K 78643K 6 0 proc 62 75K 95K 78643K 456 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 20 0 in_multi 43 2K 3K 78643K 94 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 11 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 222 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 118 38K 38K 78643K 1852 0 UVM aobj 14 4K 4K 78643K 14 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 45 0 NDP 11 0K 0K 78643K 27 0 temp 106 3866K 3930K 78643K 7061 0 kqueue 3 4K 6K 78643K 5 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 7 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 49 0 47 1 0 1 1 0 8 0 rtentry 112 63 0 21 2 0 2 2 0 8 0 unpcb 120 99 0 89 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 195 0 195 2 2 0 1 0 8 0 tcpcb 544 126 0 120 2 0 2 2 0 8 1 inpcb 296 351 0 342 4 1 3 3 0 8 2 rttmr 72 4 0 4 1 1 0 1 0 8 0 nd6 48 14 0 9 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 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 3 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 264 4 0 2 1 0 1 1 0 8 0 pfstitem 24 23 0 16 1 0 1 1 0 8 0 pfstkey 112 23 0 16 1 0 1 1 0 8 0 pfstate 328 22 0 16 2 0 2 2 0 8 0 pfrule 1360 25 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 226 0 42 13 0 13 13 0 8 1 art_table 32 227 0 42 2 0 2 2 0 8 0 art_node 16 62 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 12 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1767 0 363 89 1 88 89 0 8 0 ffsino 272 1767 0 363 95 0 95 95 0 8 0 nchpl 144 2333 0 719 60 0 60 60 0 8 0 uvmvnodes 72 2040 0 0 38 0 38 38 0 8 0 vnodes 208 2040 0 0 108 0 108 108 0 8 0 namei 1024 6468 0 6468 2 1 1 1 0 8 1 percpumem 16 38 0 5 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 0 1 0 1 1 0 8 0 scxspl 192 6818 0 6818 8 7 1 7 0 8 1 plimitpl 152 22 0 14 1 0 1 1 0 8 0 sigapl 424 497 0 464 4 0 4 4 0 8 0 futexpl 56 3956 0 3956 3 2 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 144 23 0 21 1 0 1 1 0 8 0 pipelkpl 48 131 0 121 1 0 1 1 0 8 0 pipepl 120 262 0 243 1 0 1 1 0 8 0 fdescpl 496 481 0 464 3 0 3 3 0 8 0 filepl 152 2688 0 2584 7 2 5 5 0 8 1 lockfpl 104 77 0 76 1 0 1 1 0 8 0 lockfspl 48 32 0 31 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 174 0 165 1 0 1 1 0 8 0 zombiepl 144 464 0 464 1 0 1 1 0 8 1 processpl 984 497 0 464 6 1 5 5 0 8 0 procpl 624 1089 0 1045 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 500 0 479 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 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 192 0 0 23 0 23 23 0 8 0 mtagpl 96 42 0 0 2 0 2 2 0 8 0 mbufpl 256 302 0 0 17 0 17 17 0 8 0 bufpl 280 3707 0 133 256 0 256 256 0 8 0 anonpl 16 59614 0 43018 85 2 83 83 0 124 15 amapchunkpl 152 2424 0 2268 8 1 7 8 0 158 0 amappl16 192 2194 0 1302 57 4 53 57 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 279 0 271 1 0 1 1 0 8 0 amappl12 160 10 0 9 2 1 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 149 0 138 1 0 1 1 0 8 0 amappl9 136 387 0 386 1 0 1 1 0 8 0 amappl8 128 344 0 318 1 0 1 1 0 8 0 amappl7 120 242 0 229 1 0 1 1 0 8 0 amappl6 112 26 0 22 1 0 1 1 0 8 0 amappl5 104 256 0 239 1 0 1 1 0 8 0 amappl4 96 611 0 579 1 0 1 1 0 8 0 amappl3 88 230 0 223 1 0 1 1 0 8 0 amappl2 80 2887 0 2808 2 0 2 2 0 8 0 amappl1 72 20298 0 19847 23 13 10 18 0 8 0 amappl 80 1337 0 1289 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 0 1 0 1 1 0 8 0 uaddrrnd 24 483 0 464 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 483 0 464 1 0 1 1 0 8 0 vmmpekpl 168 7715 0 7679 2 0 2 2 0 8 0 vmmpepl 168 65576 0 63431 124 24 100 112 0 357 6 vmsppl 368 482 0 464 2 0 2 2 0 8 0 pdppl 4096 973 0 930 7 1 6 6 0 8 0 pvpl 32 191250 0 171424 196 4 192 192 0 265 30 pmappl 232 482 0 464 5 3 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 273 0 8 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(ffffffff82714ff0) 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(ffffffff82910a48) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82910a48) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x6f sys/dev/kcov.c:88 sys_futex(ffff800020e229d8,ffff8000230feeb0,ffff8000230fef00) at sys_futex+0xf6 sys/kern/sys_futex.c:109 syscall(ffff8000230fef80) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230fef80) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8f451b4ffc0, count: -10 ddb{0}> machine ddbcpu 1 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> trace tun_dev_read(5d00,ffff800023f0d4e8,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023f0d330) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e7f84e8,ffff800023f0d4e8,10,fffffd807f7bf960) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd80667ef6a0,ffff800023f0d4e8,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020e23128,f0,ffff800023f0d4e8,0,ffff800023f0d5d0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020e23128,ffff800023f0d580,ffff800023f0d5d0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023f0d650) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f0d650) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12ce1c5310, count: -8