uvm_fault(0xffffffff82890f28, 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(0xffffffff82890f28, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d01,ffff800023f4b898,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800023f4b6d0, count: 0 ddb{0}> trace tun_dev_read(5d01,ffff800023f4b898,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023f4b6e0) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e2f10d8,ffff800023f4b898,10,fffffd807f7bf8a0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8066983bf8,ffff800023f4b898,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff80002311c778,f0,ffff800023f4b898,0,ffff800023f4b980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80002311c778,ffff800023f4b930,ffff800023f4b980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023f4ba00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f4ba00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa0834c447c0, count: -8 ddb{0}> show registers rdi 0 rsi 0x3da rbp 0xffff800023f4b620 rbx 0xfffffd0000000000 rdx 0x153 rcx 0xffff800000ad88c0 rax 0xffffffff81a0bf73 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x6269641ef2a01c68 r11 0x18f34c00765c66c9 r12 0 r13 0x3da r14 0xffff800000aeee60 r15 0xffff800023f4b898 rip 0xffffffff81a0bf78 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800023f4b5c0 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=64344 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80002311c298,0xffffffff828faef0 process=0xffff800023111368 user=0xffff800023f46000, vmspace=0xfffffd80774b4b90 estcpu=26, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14052 357265 27194 0 3 0x80 fsleep syz-executor.1 *14052 64344 27194 0 7 0x4000000 syz-executor.1 58478 517498 1 0 3 0x100083 ttyin getty 41174 15242 0 0 3 0x14280 nfsidl nfsio 18745 370225 0 0 3 0x14280 nfsidl nfsio 33648 333953 0 0 3 0x14280 nfsidl nfsio 58746 417232 0 0 3 0x14280 nfsidl nfsio 89945 329276 0 0 3 0x14280 nfsidl nfsio 26581 433870 0 0 3 0x14280 nfsidl nfsio 34680 278291 0 0 3 0x14280 nfsidl nfsio 65164 92483 0 0 3 0x14280 nfsidl nfsio 36095 438343 0 0 3 0x14280 nfsidl nfsio 92046 135024 0 0 3 0x14280 nfsidl nfsio 2634 189772 0 0 3 0x14280 nfsidl nfsio 22577 129084 0 0 3 0x14280 nfsidl nfsio 83060 69123 0 0 3 0x14280 nfsidl nfsio 10987 104102 0 0 3 0x14280 nfsidl nfsio 1425 62663 0 0 3 0x14280 nfsidl nfsio 9807 477220 0 0 3 0x14280 nfsidl nfsio 96816 43706 0 0 3 0x14280 nfsidl nfsio 84350 122166 0 0 3 0x14280 nfsidl nfsio 86026 100785 0 0 3 0x14280 nfsidl nfsio 23124 64100 0 0 3 0x14280 nfsidl nfsio 75286 365465 70317 0 3 0x82 piperd syz-executor.0 3428 175646 0 0 3 0x14200 acct acct 27916 196145 0 0 3 0x14200 bored sosplice 27194 336378 70317 0 3 0x82 nanosleep syz-executor.1 70317 227553 68955 0 3 0x82 kqread syz-fuzzer 70317 447813 68955 0 3 0x4000082 nanosleep syz-fuzzer 70317 346199 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 236931 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 233183 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 138986 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 178901 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 501020 68955 0 2 0x4000002 syz-fuzzer 70317 277083 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 473870 68955 0 3 0x4000082 thrsleep syz-fuzzer 70317 509066 68955 0 3 0x4000082 thrsleep syz-fuzzer 68955 191655 58706 0 3 0x10008a pause ksh 58706 145537 93457 0 3 0x92 select sshd 93457 216746 1 0 3 0x80 select sshd 61059 202476 90863 74 3 0x100092 bpf pflogd 90863 259630 1 0 3 0x80 netio pflogd 60175 203190 21007 73 3 0x100090 kqread syslogd 21007 101051 1 0 3 0x100082 netio syslogd 20408 76647 1 77 3 0x100090 poll dhclient 21698 73940 1 0 3 0x80 poll dhclient 34631 255520 0 0 3 0x14200 bored smr 70155 20223 0 0 2 0x14200 zerothread 5742 356108 0 0 3 0x14200 aiodoned aiodoned 69497 273073 0 0 3 0x14200 syncer update 78735 194593 0 0 3 0x14200 cleaner cleaner 59543 515305 0 0 3 0x14200 reaper reaper 58066 277643 0 0 3 0x14200 pgdaemon pagedaemon 60551 359585 0 0 3 0x14200 bored crynlk 28575 224618 0 0 3 0x14200 bored crypto 93237 469049 0 0 3 0x40014200 acpi0 acpi0 44060 469057 0 0 7 0x40014200 idle1 16601 265467 0 0 3 0x14200 bored softnet 41180 328521 0 0 3 0x14200 bored systqmp 52242 230889 0 0 3 0x14200 bored systq 48129 374371 0 0 3 0x40014200 bored softclock 78184 492321 0 0 3 0x40014200 idle0 1 510071 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 14052 (syz-executor.1) thread 0xffff80002311c778 (64344) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b0160) #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 9549 6430K 7721K 78643K 16145 0 pcb 13 8K 8K 78643K 168 0 rtable 129 10K 10K 78643K 723 0 ifaddr 111 22K 22K 78643K 328 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 85 0 ioctlops 0 0K 4K 78643K 1642 0 iov 0 0K 28K 78643K 949 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 2546 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1143 0 sigio 0 0K 0K 78643K 16 0 proc 63 63K 95K 78643K 642 0 subproc 32 2K 2K 78643K 53 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 88 0 in_multi 81 3K 3K 78643K 241 0 ether_multi 1 0K 0K 78643K 36 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 299 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 158 122K 138K 78643K 3990 0 UVM aobj 54 2K 2K 78643K 55 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 193 0 NDP 16 0K 0K 78643K 53 0 temp 150 3858K 3922K 78643K 10827 0 kqueue 3 4K 17K 78643K 89 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 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 63 0 61 1 0 1 1 0 8 0 rtentry 112 101 0 60 2 0 2 2 0 8 0 unpcb 120 977 0 967 1 0 1 1 0 8 0 syncache 264 13 0 13 6 6 0 1 0 8 0 tcpqe 32 130 0 130 1 1 0 1 0 8 0 tcpcb 544 372 0 368 1 0 1 1 0 8 0 inpcb 280 1116 0 1106 9 7 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 21 0 18 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 2 0 1 0 8 0 ppxss 1128 4 0 4 2 2 0 1 0 8 0 pfstscr 40 5 0 5 1 1 0 1 0 8 0 pffrag 232 7 0 7 3 3 0 1 0 482 0 pffrnode 88 7 0 7 3 3 0 1 0 8 0 pffrent 40 104 0 104 5 5 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 97 0 85 2 0 2 2 0 8 1 pftag 88 7 0 6 2 1 1 1 0 8 0 pfstitem 24 20 0 16 1 0 1 1 0 8 0 pfstkey 112 24 0 20 1 0 1 1 0 8 0 pfstate 328 19 0 16 2 1 1 2 0 8 0 pfrule 1360 59 0 40 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 514 0 331 15 2 13 14 0 8 0 art_table 32 515 0 331 2 0 2 2 0 8 0 art_node 16 100 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 27 2 1 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 53 0 3 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2919 0 1512 90 1 89 89 0 8 0 ffsino 272 2919 0 1512 95 0 95 95 0 8 0 nchpl 144 5260 0 3662 60 0 60 60 0 8 0 uvmvnodes 72 4152 0 0 76 0 76 76 0 8 0 vnodes 208 4152 0 0 219 0 219 219 0 8 0 namei 1024 15005 0 15005 1 0 1 1 0 8 1 percpumem 16 53 0 21 1 0 1 1 0 8 0 vcpupl 1984 11 0 0 2 0 2 2 0 8 0 vmpool 560 20 0 9 2 1 1 1 0 8 0 pfiaddrpl 120 32 0 22 1 0 1 1 0 8 0 scsiplug 64 4 0 4 1 1 0 1 0 8 0 scxspl 192 13965 0 13965 9 8 1 7 0 8 1 plimitpl 152 110 0 102 1 0 1 1 0 8 0 sigapl 424 1378 0 1325 7 1 6 7 0 8 0 futexpl 56 24254 0 24253 1 0 1 1 0 8 0 knotepl 112 195 0 176 1 0 1 1 0 8 0 kqueuepl 144 199 0 197 1 0 1 1 0 8 0 pipelkpl 48 210 0 200 1 0 1 1 0 8 0 pipepl 120 420 0 401 1 0 1 1 0 8 0 fdescpl 496 1341 0 1325 3 0 3 3 0 8 0 filepl 152 9090 0 8990 5 0 5 5 0 8 0 lockfpl 104 331 0 330 1 0 1 1 0 8 0 lockfspl 48 96 0 95 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 28 0 17 1 0 1 1 0 8 0 ucredpl 96 878 0 869 1 0 1 1 0 8 0 zombiepl 144 1325 0 1325 1 0 1 1 0 8 1 processpl 984 1378 0 1325 7 0 7 7 0 8 0 procpl 624 3113 0 3049 6 0 6 6 0 8 0 sosppl 128 26 0 26 7 7 0 1 0 8 0 sockpl 400 2173 0 2152 10 7 3 5 0 8 0 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 166 0 0 20 0 20 20 0 8 0 mtagpl 80 95 0 0 2 0 2 2 0 8 0 mbufpl 256 439 0 0 23 0 23 23 0 8 0 bufpl 280 5471 0 140 381 0 381 381 0 8 0 anonpl 16 132422 0 115538 86 6 80 83 0 124 0 amapchunkpl 152 6021 0 5862 18 11 7 12 0 158 0 amappl16 192 5719 0 4643 79 20 59 66 0 8 4 amappl15 184 395 0 394 3 2 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 1178 0 1171 1 0 1 1 0 8 0 amappl12 160 10 0 9 1 0 1 1 0 8 0 amappl11 152 449 0 433 1 0 1 1 0 8 0 amappl10 144 19 0 12 1 0 1 1 0 8 0 amappl9 136 377 0 376 1 0 1 1 0 8 0 amappl8 128 413 0 369 2 0 2 2 0 8 0 amappl7 120 137 0 123 1 0 1 1 0 8 0 amappl6 112 25 0 19 2 1 1 1 0 8 0 amappl5 104 688 0 671 1 0 1 1 0 8 0 amappl4 96 1097 0 1063 1 0 1 1 0 8 0 amappl3 88 723 0 713 1 0 1 1 0 8 0 amappl2 80 10150 0 10075 2 0 2 2 0 8 0 amappl1 72 35546 0 35107 23 13 10 18 0 8 0 amappl 80 3382 0 3326 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 54 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1361 0 1334 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1361 0 1334 1 0 1 1 0 8 0 vmmpekpl 168 13199 0 13158 2 0 2 2 0 8 0 vmmpepl 168 162761 0 160479 158 51 107 123 0 357 3 vmsppl 368 1360 0 1334 3 0 3 3 0 8 0 pdppl 4096 2729 0 2679 7 0 7 7 0 8 0 pvpl 32 385760 0 365585 213 21 192 197 0 265 5 pmappl 232 1360 0 1334 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 286 0 14 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace tun_dev_read(5d01,ffff800023f4b898,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800023f4b6e0) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e2f10d8,ffff800023f4b898,10,fffffd807f7bf8a0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8066983bf8,ffff800023f4b898,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff80002311c778,f0,ffff800023f4b898,0,ffff800023f4b980) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff80002311c778,ffff800023f4b930,ffff800023f4b980) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800023f4ba00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f4ba00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa0834c447c0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d80ff0) 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 acpicpu_idle() at acpicpu_idle+0x331 sys/dev/acpi/acpicpu.c:1187 sched_idle(ffff800020d80ff0) at sched_idle+0x3f7 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5