uvm_fault(0xfffffd8008492730, 0xc, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd8008492730, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000234d55c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000234d5580, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000234d55c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234d55a8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b17000,ffff8000234d5878) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234d5878,ffff8000234d5884,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd80084f4200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000234d5b68,ffff8000234d6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234d59c0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2da788,ffff8000234d5b68,11,fffffd807f7b7a80) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066959900,ffff8000234d5b68,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c540,f0,ffff8000234d5b68,0,ffff8000234d5c50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c540,ffff8000234d5c00,ffff8000234d5c50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234d5cd0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234d5cd0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb48e8d29480, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000234d5480 rbx 0x18 rdx 0xffff800000ac5c00 rcx 0x2 rax 0xffff80002123c540 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x41054d7d01e1af00 r11 0x29d596dab28e9771 r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000234d55c0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000234d5430 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=472193 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002123c2a0,0xffff80002123c7f0 process=0xffff800021234448 user=0xffff8000234d0000, vmspace=0xfffffd8008492730 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65414 56389 48491 0 7 0 syz-executor.0 65414 354783 48491 0 3 0x4000080 fsleep syz-executor.0 37041 418388 72822 0 2 0 syz-executor.1 *37041 472193 72822 0 7 0x4000000 syz-executor.1 72822 33089 71083 0 3 0x82 nanoslp syz-executor.1 48491 409397 71083 0 3 0x82 nanoslp syz-executor.0 71083 399137 81263 0 3 0x82 thrsleep syz-fuzzer 71083 173099 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 90241 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 137133 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 302604 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 114425 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 357830 81263 0 3 0x4000082 thrsleep syz-fuzzer 71083 410051 81263 0 3 0x4000082 kqread syz-fuzzer 81263 446412 39089 0 3 0x10008a sigsusp ksh 39089 289914 10729 0 3 0x92 select sshd 57182 125461 1 0 3 0x100083 ttyin getty 10729 153032 1 0 3 0x80 select sshd 23 202019 76863 74 3 0x100092 bpf pflogd 76863 2174 1 0 3 0x80 netio pflogd 3318 497952 42794 73 3 0x100090 kqread syslogd 42794 363288 1 0 3 0x100082 netio syslogd 40845 35666 1 77 3 0x100090 poll dhclient 25069 396668 1 0 3 0x80 poll dhclient 84937 434427 0 0 3 0x14200 bored smr 34725 241996 0 0 2 0x14200 zerothread 53731 106766 0 0 3 0x14200 aiodoned aiodoned 56428 96959 0 0 3 0x14200 syncer update 2108 39817 0 0 3 0x14200 cleaner cleaner 84610 185750 0 0 3 0x14200 reaper reaper 71271 277010 0 0 3 0x14200 pgdaemon pagedaemon 9877 170009 0 0 3 0x14200 bored crynlk 21724 335128 0 0 3 0x14200 bored crypto 92501 259720 0 0 3 0x14200 bored viomb 69809 82804 0 0 3 0x40014200 acpi0 acpi0 70907 146531 0 0 3 0x40014200 idle1 79879 273369 0 0 3 0x14200 bored softnet 92285 110999 0 0 3 0x14200 bored systqmp 85485 317073 0 0 3 0x14200 bored systq 28194 105487 0 0 3 0x40014200 bored softclock 44071 345118 0 0 3 0x40014200 idle0 1 287827 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 37041 (syz-executor.1) thread 0xffff80002123c540 (472193) exclusive rwlock netlock r = 0 (0xffffffff826b8e70) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:869 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 #4 vn_write+0x14e sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #6 sys_write+0x83 sys/kern/sys_generic.c:285 #7 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b9f28) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9483 6416K 7393K 78643K 15814 0 pcb 13 8K 8K 78643K 21 0 rtable 105 3K 3K 78643K 199 0 ifaddr 44 10K 10K 78643K 45 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1469 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 4898 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 7 0K 0K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 11966 0 proc 60 63K 83K 78643K 448 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 2K 78643K 358 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 183 31K 31K 78643K 25045 0 UVM aobj 5 6K 6K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 65 3971K 4035K 78643K 29613 0 kqueue 3 4K 5K 78643K 7 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 55 0 45 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 10 0 6 1 0 1 1 0 8 0 inpcb 296 53 0 46 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 12 0 10 1 0 1 1 0 8 0 pfstkey 112 12 0 10 1 0 1 1 0 8 0 pfstate 328 12 0 10 1 0 1 1 0 8 0 pfrule 1360 21 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 4 0 2 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13363 0 11959 88 0 88 88 0 8 0 ffsino 272 13363 0 11959 95 1 94 94 0 8 0 nchpl 144 25594 0 23989 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 56063 0 56063 2 1 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 76530 0 76530 10 9 1 8 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 12182 0 12149 4 0 4 4 0 8 0 futexpl 56 50172 0 50171 1 0 1 1 0 8 0 knotepl 112 64 0 44 1 0 1 1 0 8 0 kqueuepl 168 11420 0 11418 1 0 1 1 0 8 0 pipepl 336 96 0 85 4 3 1 2 0 8 0 fdescpl 496 12166 0 12149 3 0 3 3 0 8 0 filepl 152 28569 0 28467 6 1 5 5 0 8 1 lockfpl 104 80 0 79 1 0 1 1 0 8 0 lockfspl 48 39 0 38 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 94 0 85 1 0 1 1 0 8 0 zombiepl 144 12149 0 12149 2 1 1 1 0 8 1 processpl 1080 12182 0 12149 3 0 3 3 0 8 0 procpl 672 24373 0 24331 4 0 4 4 0 8 0 sockpl 432 127 0 108 3 0 3 3 0 8 0 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 18 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 13 0 0 1 0 1 1 0 8 0 mcl2k 2048 209 0 0 24 4 20 24 0 8 0 mtagpl 96 309 0 0 8 0 8 8 0 8 0 mbufpl 256 939 0 0 52 0 52 52 0 8 0 bufpl 280 15273 0 9026 447 0 447 447 0 8 0 anonpl 24 745190 0 719453 159 3 156 156 0 186 0 amapchunkpl 152 37821 0 37265 23 1 22 22 0 158 0 amappl16 200 29950 0 28903 56 0 56 56 0 8 0 amappl15 192 6000 0 5996 1 0 1 1 0 8 0 amappl14 184 23 0 19 1 0 1 1 0 8 0 amappl13 176 48 0 46 1 0 1 1 0 8 0 amappl12 168 11 0 8 1 0 1 1 0 8 0 amappl11 160 59 0 42 1 0 1 1 0 8 0 amappl10 152 16 0 12 1 0 1 1 0 8 0 amappl9 144 6239 0 6234 1 0 1 1 0 8 0 amappl8 136 195 0 133 3 0 3 3 0 8 0 amappl7 128 6185 0 6175 1 0 1 1 0 8 0 amappl6 120 65 0 53 1 0 1 1 0 8 0 amappl5 112 12309 0 12288 1 0 1 1 0 8 0 amappl4 104 279 0 253 1 0 1 1 0 8 0 amappl3 96 1429 0 1421 1 0 1 1 0 8 0 amappl2 88 96585 0 96506 3 1 2 3 0 8 0 amappl1 80 339701 0 339209 27 15 12 21 0 8 0 amappl 88 24687 0 24579 3 0 3 3 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 6 0 2 1 0 1 1 0 8 0 uaddrrnd 24 12166 0 12149 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 12166 0 12149 1 0 1 1 0 8 0 vmmpekpl 168 54874 0 54847 3 1 2 2 0 8 0 vmmpepl 168 1493038 0 1490600 157 49 108 137 0 357 2 vmsppl 368 12165 0 12149 2 0 2 2 0 8 0 rwobjpl 56 295739 0 293921 38 11 27 27 0 8 1 pdppl 4096 24339 0 24298 64 23 41 45 0 8 0 pvpl 32 4120281 0 4091353 246 8 238 242 0 265 3 pmappl 232 12165 0 12149 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 360 0 35 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82771ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b9d20) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b9d20) at __mp_lock+0x122 sys/kern/kern_lock.c:147 upageflttrap(ffff8000234cfba0,e372359ce78) at upageflttrap+0x77 sys/arch/amd64/amd64/trap.c:180 usertrap(ffff8000234cfba0) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:406 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffdaed0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000234d55c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234d55a8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b17000,ffff8000234d5878) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234d5878,ffff8000234d5884,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd80084f4200) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000234d5b68,ffff8000234d6000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234d59c0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2da788,ffff8000234d5b68,11,fffffd807f7b7a80) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066959900,ffff8000234d5b68,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c540,f0,ffff8000234d5b68,0,ffff8000234d5c50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c540,ffff8000234d5c00,ffff8000234d5c50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234d5cd0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234d5cd0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb48e8d29480, count: -13