login: uvm_fault(0xfffffd8008492450, 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(0xfffffd8008492450, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000230c15a0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000230c1560, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000230c15a0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000230c1588,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b14000,ffff8000230c1858) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000230c1858,ffff8000230c1864,29,0,ffff800000b14000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b14000,fffffd806a188a00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000230c1b48,ffff8000234d0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000230c19a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2695c8,ffff8000230c1b48,11,fffffd807f7b74e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068173bf8,ffff8000230c1b48,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000212887e0,f0,ffff8000230c1b48,0,ffff8000230c1c30) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000212887e0,ffff8000230c1be0,ffff8000230c1c30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000230c1cb0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230c1cb0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b9273d48a0, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000230c1460 rbx 0x18 rdx 0xffff800000ac5880 rcx 0x2 rax 0xffff8000212887e0 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x7da97ec80346a3ec r11 0x5ad91ea14b2e0406 r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000230c15a0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000230c1410 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=136924 stat=onproc flags process=0 proc=4000000 pri=60, usrpri=60, nice=20 forw=0xffffffffffffffff, list=0xffff800021288fc0,0xffffffff828c8868 process=0xffff8000212350f0 user=0xffff8000230bc000, vmspace=0xfffffd8008492450 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80178 137371 10832 0 2 0 syz-executor.1 *80178 136924 10832 0 7 0x4000000 syz-executor.1 10832 89940 54348 0 3 0x82 nanoslp syz-executor.1 56578 508298 54348 0 2 0x2 syz-executor.0 54348 397447 86022 0 3 0x82 thrsleep syz-fuzzer 54348 362244 86022 0 3 0x4000082 nanoslp syz-fuzzer 54348 441723 86022 0 3 0x4000082 thrsleep syz-fuzzer 54348 162203 86022 0 3 0x4000082 kqread syz-fuzzer 54348 88581 86022 0 7 0x4000002 syz-fuzzer 54348 381783 86022 0 3 0x4000082 thrsleep syz-fuzzer 54348 199610 86022 0 3 0x4000082 thrsleep syz-fuzzer 54348 424985 86022 0 3 0x4000082 thrsleep syz-fuzzer 86022 245317 56306 0 3 0x10008a sigsusp ksh 56306 398579 86290 0 3 0x92 select sshd 97200 131060 1 0 3 0x100083 ttyin getty 86290 460075 1 0 3 0x80 select sshd 53170 31123 75852 74 3 0x100092 bpf pflogd 75852 238642 1 0 3 0x80 netio pflogd 67377 120185 99752 73 3 0x100090 kqread syslogd 99752 465856 1 0 3 0x100082 netio syslogd 31870 322322 1 77 3 0x100090 poll dhclient 93854 347739 1 0 3 0x80 poll dhclient 33479 330161 0 0 3 0x14200 bored smr 90002 283796 0 0 2 0x14200 zerothread 45240 266997 0 0 3 0x14200 aiodoned aiodoned 86774 250127 0 0 3 0x14200 syncer update 92424 189136 0 0 3 0x14200 cleaner cleaner 44965 91576 0 0 3 0x14200 reaper reaper 25201 163899 0 0 3 0x14200 pgdaemon pagedaemon 86187 375052 0 0 3 0x14200 bored crynlk 76296 471210 0 0 3 0x14200 bored crypto 14996 88994 0 0 3 0x14200 bored viomb 77105 43923 0 0 3 0x40014200 acpi0 acpi0 83814 126339 0 0 3 0x40014200 idle1 1951 88896 0 0 3 0x14200 bored softnet 52264 76058 0 0 3 0x14200 bored systqmp 41423 514198 0 0 3 0x14200 bored systq 18311 397201 0 0 3 0x40014200 bored softclock 78880 27153 0 0 3 0x40014200 idle0 1 332700 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 80178 (syz-executor.1) thread 0xffff8000212887e0 (136924) 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 9481 6416K 6416K 78643K 10571 0 pcb 13 8K 8K 78643K 13 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 mount 1 1K 1K 78643K 1 0 vnodes 1217 77K 77K 78643K 1222 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 49 0 proc 59 63K 83K 78643K 447 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 19 95K 95K 78643K 19 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 136 26K 27K 78643K 839 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 10 0K 0K 78643K 10 0 temp 66 3971K 4035K 78643K 2074 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 31 0 21 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 697 0 697 1 0 1 1 0 8 1 tcpcb 736 10 0 6 1 0 1 1 0 8 0 inpcb 296 39 0 32 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 11 0 0 1 0 1 1 0 8 0 pfstkey 112 11 0 0 1 0 1 1 0 8 0 pfstate 328 11 0 0 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1446 0 41 88 0 88 88 0 8 0 ffsino 272 1446 0 41 95 1 94 94 0 8 0 nchpl 144 1684 0 77 60 0 60 60 0 8 0 uvmvnodes 72 1490 0 0 28 0 28 28 0 8 0 vnodes 224 1490 0 0 88 0 88 88 0 8 0 namei 1024 4421 0 4421 2 1 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 4780 0 4780 3 2 1 2 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 265 0 233 4 0 4 4 0 8 0 futexpl 56 36 0 36 1 0 1 1 0 8 1 knotepl 112 64 0 44 1 0 1 1 0 8 0 kqueuepl 168 6 0 4 1 0 1 1 0 8 0 pipepl 336 76 0 65 1 0 1 1 0 8 0 fdescpl 496 249 0 233 3 0 3 3 0 8 0 filepl 152 1137 0 1034 6 1 5 5 0 8 1 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 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 53 0 44 1 0 1 1 0 8 0 zombiepl 144 233 0 233 2 1 1 1 0 8 1 processpl 1080 265 0 233 3 0 3 3 0 8 0 procpl 672 290 0 250 4 0 4 4 0 8 0 sockpl 432 89 0 70 3 0 3 3 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 220 0 0 27 0 27 27 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 260 0 0 16 0 16 16 0 8 0 bufpl 280 3347 0 177 227 0 227 227 0 8 0 anonpl 24 39034 0 23098 100 2 98 98 0 186 1 amapchunkpl 152 1334 0 1000 15 0 15 15 0 158 0 amappl16 200 839 0 165 36 0 36 36 0 8 0 amappl15 192 1 0 0 1 0 1 1 0 8 0 amappl14 184 25 0 21 1 0 1 1 0 8 0 amappl13 176 28 0 24 1 0 1 1 0 8 0 amappl12 168 11 0 8 2 1 1 1 0 8 0 amappl11 160 67 0 47 2 0 2 2 0 8 1 amappl10 152 32 0 24 1 0 1 1 0 8 0 amappl9 144 279 0 279 1 1 0 1 0 8 0 amappl8 136 164 0 115 2 0 2 2 0 8 0 amappl7 128 246 0 237 1 0 1 1 0 8 0 amappl6 120 72 0 63 1 0 1 1 0 8 0 amappl5 112 414 0 396 1 0 1 1 0 8 0 amappl4 104 277 0 252 1 0 1 1 0 8 0 amappl3 96 123 0 115 1 0 1 1 0 8 0 amappl2 88 1104 0 1034 3 1 2 3 0 8 0 amappl1 80 15922 0 15448 27 9 18 21 0 8 7 amappl 88 572 0 497 2 0 2 2 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 249 0 233 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 249 0 233 1 0 1 1 0 8 0 vmmpekpl 168 6108 0 6077 2 0 2 2 0 8 0 vmmpepl 168 38530 0 36624 119 9 110 110 0 357 27 vmsppl 368 248 0 233 2 0 2 2 0 8 0 rwobjpl 56 10291 0 8895 28 6 22 22 0 8 2 pdppl 4096 505 0 466 59 14 45 45 0 8 6 pvpl 32 137632 0 118674 159 0 159 159 0 265 4 pmappl 232 248 0 233 2 0 2 2 0 8 1 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 313 0 19 9 0 9 9 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 kd_curproc sys/dev/kcov.c:570 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x37 sys/dev/kcov.c:143 __mp_lock(ffffffff828b9d20) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b9d20) at __mp_lock+0x133 sys/kern/kern_lock.c:147 upageflttrap(ffff8000212873a0,c00303f080) at upageflttrap+0x77 sys/arch/amd64/amd64/trap.c:180 usertrap(ffff8000212873a0) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:406 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0xc001debb80, count: -8 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000230c15a0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000230c1588,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b14000,ffff8000230c1858) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000230c1858,ffff8000230c1864,29,0,ffff800000b14000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b14000,fffffd806a188a00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000230c1b48,ffff8000234d0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000230c19a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e2695c8,ffff8000230c1b48,11,fffffd807f7b74e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068173bf8,ffff8000230c1b48,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000212887e0,f0,ffff8000230c1b48,0,ffff8000230c1c30) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff8000212887e0,ffff8000230c1be0,ffff8000230c1c30) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000230c1cb0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230c1cb0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b9273d48a0, count: -13