uvm_fault(0xffffffff8254f150, 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(0xffffffff8254f150, 0xfffffd0000000018, 0, 1) -> e tun_dev_read(5d00,ffff800022193608,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 end trace frame: 0xffff800022193440, count: 0 ddb{1}> trace tun_dev_read(5d00,ffff800022193608,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800022193450) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e2861a8,ffff800022193608,10,fffffd807f7bf7e0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8069267ef0,ffff800022193608,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ec6018,f0,ffff800022193608,0,ffff8000221936f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ec6018,ffff8000221936a0,ffff8000221936f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800022193770) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022193770) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe7c988da450, count: -8 ddb{1}> show registers rdi 0 rsi 0x3da rbp 0xffff800022193390 rbx 0xfffffd0000000000 rdx 0x153 rcx 0xffff800000a25600 rax 0xffffffff8135c8c3 tun_dev_read+0x133 r8 0x7f7fffffc000 r9 0x5 r10 0x3904a46d017e0b75 r11 0x94a8fb952dffafc8 r12 0 r13 0x3da r14 0xffff800000a5c660 r15 0xffff800022193608 rip 0xffffffff8135c8c8 tun_dev_read+0x138 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800022193330 ss 0x10 tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=301733 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec6288,0xffff800020ec69e8 process=0xffff800020e927d0 user=0xffff80002218e000, vmspace=0xfffffd807efff5c0 estcpu=30, cpticks=1, pctcpu=1.2 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 73613 474628 33278 0 2 0 syz-executor.0 *73613 301733 33278 0 7 0x4000000 syz-executor.0 73613 418436 33278 0 3 0x4000080 fsleep syz-executor.0 25871 15648 21560 0 3 0x82 piperd syz-executor.1 47560 415304 0 0 3 0x14200 bored sosplice 33278 333576 21560 0 3 0x82 nanosleep syz-executor.0 21560 406291 70197 0 7 0x2 syz-fuzzer 21560 245453 70197 0 3 0x4000082 nanosleep syz-fuzzer 21560 415941 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 301398 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 348854 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 295465 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 248666 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 48131 70197 0 3 0x4000082 thrsleep syz-fuzzer 21560 18994 70197 0 3 0x4000082 kqread syz-fuzzer 21560 293946 70197 0 3 0x4000082 thrsleep syz-fuzzer 70197 492783 51858 0 3 0x10008a pause ksh 51858 317453 11870 0 3 0x92 select sshd 39985 495997 1 0 3 0x100083 ttyin getty 11870 439116 1 0 3 0x80 select sshd 58450 490253 9779 74 3 0x100092 bpf pflogd 9779 447360 1 0 3 0x80 netio pflogd 79893 268179 14205 73 3 0x100090 kqread syslogd 14205 35224 1 0 3 0x100082 netio syslogd 86401 83542 1 77 3 0x100090 poll dhclient 16314 99651 1 0 3 0x80 poll dhclient 88725 71722 0 0 3 0x14200 bored smr 42654 256099 0 0 2 0x14200 zerothread 80596 210963 0 0 3 0x14200 aiodoned aiodoned 52379 320487 0 0 3 0x14200 syncer update 7031 440884 0 0 3 0x14200 cleaner cleaner 75102 405776 0 0 3 0x14200 reaper reaper 92759 226700 0 0 3 0x14200 pgdaemon pagedaemon 19782 470917 0 0 3 0x14200 bored crynlk 96119 192588 0 0 3 0x14200 bored crypto 28079 439996 0 0 3 0x40014200 acpi0 acpi0 2692 102320 0 0 3 0x40014200 idle1 5881 229319 0 0 3 0x14200 bored softnet 92514 275975 0 0 3 0x14200 bored systqmp 8687 240770 0 0 3 0x14200 bored systq 26818 213421 0 0 3 0x40014200 bored softclock 87447 375021 0 0 3 0x40014200 idle0 1 297844 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 73613 (syz-executor.0) thread 0xffff800020ec6018 (301733) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82662e18) #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 9527 6434K 6795K 78643K 11390 0 pcb 13 8K 8K 78643K 113 0 rtable 80 3K 4K 78643K 468 0 ifaddr 80 15K 16K 78643K 170 0 counters 43 33K 34K 78643K 67 0 ioctlops 0 0K 4K 78643K 1510 0 iov 0 0K 16K 78643K 81 0 mount 1 1K 1K 78643K 1 0 vnodes 1211 76K 77K 78643K 1500 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 62 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 537 0 sigio 0 0K 0K 78643K 10 0 proc 62 63K 95K 78643K 574 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 44 0 in_multi 57 3K 3K 78643K 156 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 7 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 279 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 149 56K 72K 78643K 2927 0 UVM aobj 7 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 83 0 NDP 13 0K 0K 78643K 36 0 temp 115 3044K 3108K 78643K 20254 0 kqueue 3 4K 16K 78643K 33 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 14 0 8 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 62 0 60 1 0 1 1 0 8 0 rtentry 112 101 0 71 2 0 2 2 0 8 0 unpcb 120 297 0 285 1 0 1 1 0 8 0 syncache 264 10 0 10 3 3 0 1 0 8 0 tcpqe 32 10 0 10 2 2 0 1 0 8 0 tcpcb 544 819 0 813 4 2 2 2 0 8 1 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 280 1255 0 1245 2 0 2 2 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 16 0 14 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pffrag 232 3 0 3 2 2 0 1 0 482 0 pffrnode 88 3 0 3 2 2 0 1 0 8 0 pffrent 40 135 0 135 2 2 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 pfstitem 24 58 0 16 1 0 1 1 0 8 0 pfstkey 112 58 0 16 2 0 2 2 0 8 0 pfstate 328 58 0 16 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 422 0 285 14 3 11 13 0 8 0 art_table 32 424 0 285 2 0 2 2 0 8 0 art_node 16 100 0 74 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 9 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 60 0 50 1 0 1 1 0 8 0 shmpl 112 9 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2130 0 730 90 2 88 89 0 8 0 ffsino 272 2130 0 730 94 0 94 94 0 8 0 nchpl 144 3054 0 1461 60 0 60 60 0 8 0 uvmvnodes 72 2378 0 0 44 0 44 44 0 8 0 vnodes 208 2378 0 0 126 0 126 126 0 8 0 namei 1024 8655 0 8655 1 0 1 1 0 8 1 percpumem 16 44 0 12 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 1 0 1 1 0 8 0 scxspl 192 9024 0 9024 12 11 1 7 0 8 1 plimitpl 152 51 0 43 1 0 1 1 0 8 0 sigapl 424 747 0 715 4 0 4 4 0 8 0 futexpl 56 8093 0 8092 1 0 1 1 0 8 0 knotepl 112 121 0 102 1 0 1 1 0 8 0 kqueuepl 144 229 0 226 1 0 1 1 0 8 0 pipelkpl 48 150 0 139 1 0 1 1 0 8 0 pipepl 120 300 0 279 1 0 1 1 0 8 0 fdescpl 496 731 0 715 3 0 3 3 0 8 0 filepl 152 4891 0 4783 5 0 5 5 0 8 0 lockfpl 104 125 0 124 1 0 1 1 0 8 0 lockfspl 48 44 0 43 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 341 0 332 1 0 1 1 0 8 0 zombiepl 144 715 0 715 1 0 1 1 0 8 1 processpl 984 747 0 715 5 0 5 5 0 8 0 procpl 624 1986 0 1943 4 0 4 4 0 8 0 sosppl 128 13 0 13 3 3 0 1 0 8 0 sockpl 400 1622 0 1598 6 2 4 4 0 8 1 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 156 0 0 19 0 19 19 0 8 1 mtagpl 80 39 0 0 1 0 1 1 0 8 0 mbufpl 256 306 0 0 18 1 17 17 0 8 0 bufpl 280 5516 0 133 385 0 385 385 0 8 0 anonpl 16 88262 0 74286 82 11 71 71 0 124 13 amapchunkpl 152 4868 0 4728 20 10 10 20 0 158 3 amappl16 192 3432 0 2685 58 12 46 50 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 42 0 34 1 0 1 1 0 8 0 amappl13 168 38 0 36 1 0 1 1 0 8 0 amappl12 160 24 0 20 2 1 1 1 0 8 0 amappl11 152 440 0 422 1 0 1 1 0 8 0 amappl10 144 17 0 12 1 0 1 1 0 8 0 amappl9 136 485 0 483 1 0 1 1 0 8 0 amappl8 128 523 0 472 2 0 2 2 0 8 0 amappl7 120 132 0 118 1 0 1 1 0 8 0 amappl6 112 179 0 172 1 0 1 1 0 8 0 amappl5 104 620 0 604 1 0 1 1 0 8 0 amappl4 96 521 0 492 1 0 1 1 0 8 0 amappl3 88 126 0 121 1 0 1 1 0 8 0 amappl2 80 4769 0 4699 2 0 2 2 0 8 0 amappl1 72 26635 0 26184 24 14 10 18 0 8 0 amappl 80 2267 0 2219 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 10 0 4 1 0 1 1 0 8 0 uaddrrnd 24 735 0 717 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 735 0 717 1 0 1 1 0 8 0 vmmpekpl 168 9820 0 9785 2 0 2 2 0 8 0 vmmpepl 168 96853 0 94920 141 40 101 113 0 357 11 vmsppl 368 734 0 717 2 0 2 2 0 8 0 pdppl 4096 1478 0 1436 6 0 6 6 0 8 0 pvpl 32 269232 0 251582 191 20 171 171 0 265 28 pmappl 232 734 0 717 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 273 0 13 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(ffffffff8250aff0) 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 __sanitizer_cov_trace_cmp4(b4a96,b4a97) at __sanitizer_cov_trace_cmp4+0x13 trace_cmp sys/dev/kcov.c:132 [inline] __sanitizer_cov_trace_cmp4(b4a96,b4a97) at __sanitizer_cov_trace_cmp4+0x13 sys/dev/kcov.c:170 __mp_lock(ffffffff82662c10) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82662c10) at __mp_lock+0x139 sys/kern/kern_lock.c:147 uvm_map_inentry(ffff800020edeeb0,ffff800020edef10,c001eb8940,ffffffff82213276,ffffffff81bb6f70,88) at uvm_map_inentry+0xbe sys/uvm/uvm_map.c:1890 syscall(ffff800020f13170) at syscall+0x397 mi_syscall sys/sys/syscall_mi.h:81 [inline] syscall(ffff800020f13170) at syscall+0x397 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc001eb8958, count: -8 ddb{0}> machine ddbcpu 1 Stopped at tun_dev_read+0x138: movl 0x18(%rbx),%r12d ddb{1}> trace tun_dev_read(5d00,ffff800022193608,10) at tun_dev_read+0x138 sys/net/if_tun.c:790 spec_read(ffff800022193450) at spec_read+0xf1 sys/kern/spec_vnops.c:222 VOP_READ(fffffd806e2861a8,ffff800022193608,10,fffffd807f7bf7e0) at VOP_READ+0xbf sys/kern/vfs_vops.c:247 vn_read(fffffd8069267ef0,ffff800022193608,0) at vn_read+0x124 sys/kern/vfs_vnops.c:375 dofilereadv(ffff800020ec6018,f0,ffff800022193608,0,ffff8000221936f0) at dofilereadv+0x1a1 sys/kern/sys_generic.c:237 sys_read(ffff800020ec6018,ffff8000221936a0,ffff8000221936f0) at sys_read+0x83 sys/kern/sys_generic.c:157 syscall(ffff800022193770) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022193770) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe7c988da450, count: -8