uvm_fault(0xfffffd80084925c0, 0xc, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd80084925c0, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222bd3e0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222bd3a0, count: 0 ddb{0}> trace pf_addr_compare(0,ffff8000222bd3e0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222bd3c8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b15000,ffff8000222bd698) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222bd698,ffff8000222bd6a4,29,0,ffff800000b15000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b15000,fffffd806ad9b700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000222bd988,ffff8000234d0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222bd7e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e7cf6a8,ffff8000222bd988,11,fffffd807f7b7840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8065d4fe60,ffff8000222bd988,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123d500,f0,ffff8000222bd988,0,ffff8000222bda70) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123d500,ffff8000222bda20,ffff8000222bda70) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222bdaf0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222bdaf0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc04665a330, count: -13 ddb{0}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222bd2a0 rbx 0x18 rdx 0xffff800000ac5640 rcx 0x2 rax 0xffff80002123d500 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x32b26f683ca61527 r11 0xd3f9c8db499dbeaf r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000222bd3e0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222bd250 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=421290 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002123cd20,0xffffffff828c8868 process=0xffff800021234880 user=0xffff8000222b8000, vmspace=0xfffffd80084925c0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99472 37964 58152 0 2 0 syz-executor.1 *99472 421290 58152 0 7 0x4000000 syz-executor.1 75186 402136 0 0 3 0x14200 bored sosplice 58152 190680 3650 0 3 0x82 nanoslp syz-executor.1 5657 509461 3650 0 2 0x2 syz-executor.0 3650 123347 67315 0 3 0x82 thrsleep syz-fuzzer 3650 59888 67315 0 3 0x4000082 nanoslp syz-fuzzer 3650 12273 67315 0 3 0x4000082 thrsleep syz-fuzzer 3650 301329 67315 0 3 0x4000082 thrsleep syz-fuzzer 3650 7645 67315 0 3 0x4000082 kqread syz-fuzzer 3650 196114 67315 0 3 0x4000082 thrsleep syz-fuzzer 3650 342924 67315 0 3 0x4000082 thrsleep syz-fuzzer 3650 350654 67315 0 3 0x4000082 nanoslp syz-fuzzer 67315 219030 63773 0 3 0x10008a sigsusp ksh 63773 238911 90495 0 7 0x12 sshd 22687 467110 1 0 3 0x100083 ttyin getty 90495 491016 1 0 3 0x80 select sshd 33379 339747 29559 74 3 0x100092 bpf pflogd 29559 279551 1 0 3 0x80 netio pflogd 39180 477395 38563 73 3 0x100090 kqread syslogd 38563 347908 1 0 3 0x100082 netio syslogd 93963 187192 1 77 3 0x100090 poll dhclient 64217 3900 1 0 3 0x80 poll dhclient 2567 459877 0 0 3 0x14200 bored smr 79988 131249 0 0 2 0x14200 zerothread 84554 176634 0 0 3 0x14200 aiodoned aiodoned 73897 192530 0 0 3 0x14200 syncer update 13697 5208 0 0 3 0x14200 cleaner cleaner 50872 84946 0 0 3 0x14200 reaper reaper 51447 295885 0 0 3 0x14200 pgdaemon pagedaemon 48453 415414 0 0 3 0x14200 bored crynlk 77839 303220 0 0 3 0x14200 bored crypto 66458 436107 0 0 3 0x14200 bored viomb 64086 4487 0 0 3 0x40014200 acpi0 acpi0 70335 393119 0 0 3 0x40014200 idle1 86397 400337 0 0 2 0x14200 softnet 25586 157103 0 0 3 0x14200 bored systqmp 747 208966 0 0 3 0x14200 bored systq 83281 352810 0 0 3 0x40014200 bored softclock 12380 203851 0 0 3 0x40014200 idle0 1 309259 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 99472 (syz-executor.1) thread 0xffff80002123d500 (421290) 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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9507 6425K 7265K 78643K 12007 0 pcb 13 8K 8K 78643K 50 0 rtable 105 3K 3K 78643K 267 0 ifaddr 57 12K 12K 78643K 96 0 counters 44 34K 34K 78643K 60 0 ioctlops 0 0K 4K 78643K 1485 0 iov 0 0K 4K 78643K 40 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1636 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 12 0K 0K 78643K 66 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 1273 0 sigio 0 0K 0K 78643K 5 0 proc 61 63K 95K 78643K 458 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 83 0 in_multi 33 2K 2K 78643K 86 0 ether_multi 1 0K 0K 78643K 26 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 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 384 0 pfkey data 0 0K 1K 78643K 5 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 166 29K 44K 78643K 3678 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 9 0K 0K 78643K 21 0 temp 96 3980K 4044K 78643K 5512 0 kqueue 3 4K 8K 78643K 37 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 34 0 32 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 218 0 208 1 0 1 1 0 8 0 syncache 296 16 0 16 3 2 1 1 0 8 1 tcpqe 32 491 0 491 3 2 1 1 0 8 1 tcpcb 736 148 0 142 2 0 2 2 0 8 0 inpcb 296 423 0 414 3 1 2 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 1 0 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 20 0 9 1 0 1 1 0 8 0 pfstkey 112 20 0 9 1 0 1 1 0 8 0 pfstate 328 20 0 9 2 0 2 2 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 sysvmsgpl 40 16 0 5 2 1 1 1 0 8 0 semapl 112 64 0 54 1 0 1 1 0 8 0 shmpl 112 19 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2913 0 1510 88 0 88 88 0 8 0 ffsino 272 2913 0 1510 94 0 94 94 0 8 0 nchpl 144 4481 0 2874 60 0 60 60 0 8 0 uvmvnodes 72 3279 0 0 60 0 60 60 0 8 0 vnodes 224 3279 0 0 193 0 193 193 0 8 0 namei 1024 11189 0 11189 1 0 1 1 0 8 1 percpumem 16 41 0 8 1 0 1 1 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 216 13388 0 13388 9 8 1 8 0 8 1 plimitpl 152 58 0 50 1 0 1 1 0 8 0 sigapl 424 1490 0 1457 4 0 4 4 0 8 0 futexpl 56 7428 0 7428 1 0 1 1 0 8 1 knotepl 112 111 0 91 1 0 1 1 0 8 0 kqueuepl 168 509 0 507 1 0 1 1 0 8 0 pipepl 336 88 0 77 3 2 1 2 0 8 0 fdescpl 496 1473 0 1457 3 0 3 3 0 8 0 filepl 152 4686 0 4583 5 0 5 5 0 8 0 lockfpl 104 97 0 96 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 546 0 537 1 0 1 1 0 8 0 zombiepl 144 1457 0 1457 1 0 1 1 0 8 1 processpl 1080 1490 0 1457 3 0 3 3 0 8 0 procpl 672 3024 0 2983 4 0 4 4 0 8 0 sosppl 168 5 0 5 1 0 1 1 0 8 1 sockpl 432 680 0 659 6 2 4 4 0 8 1 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k 2048 226 0 0 28 0 28 28 0 8 0 mtagpl 96 124 0 0 4 0 4 4 0 8 0 mbufpl 256 429 0 0 26 0 26 26 0 8 0 bufpl 280 4890 0 181 337 0 337 337 0 8 0 anonpl 24 127196 0 111393 110 12 98 107 0 186 2 amapchunkpl 152 9616 0 9222 31 14 17 30 0 158 0 amappl16 200 5203 0 4595 44 10 34 41 0 8 2 amappl15 192 1 0 0 1 0 1 1 0 8 0 amappl14 184 28 0 22 1 0 1 1 0 8 0 amappl13 176 27 0 24 1 0 1 1 0 8 0 amappl12 168 626 0 622 1 0 1 1 0 8 0 amappl11 160 57 0 40 1 0 1 1 0 8 0 amappl10 152 640 0 633 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 202 0 139 3 0 3 3 0 8 0 amappl7 128 247 0 238 1 0 1 1 0 8 0 amappl6 120 706 0 692 1 0 1 1 0 8 0 amappl5 112 1618 0 1599 1 0 1 1 0 8 0 amappl4 104 894 0 865 1 0 1 1 0 8 0 amappl3 96 132 0 123 1 0 1 1 0 8 0 amappl2 88 10909 0 10841 3 1 2 3 0 8 0 amappl1 80 49534 0 49066 28 16 12 21 0 8 1 amappl 88 3341 0 3248 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1473 0 1457 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1473 0 1457 1 0 1 1 0 8 0 vmmpekpl 168 10497 0 10465 2 0 2 2 0 8 0 vmmpepl 168 190630 0 188750 107 17 90 103 0 357 5 vmsppl 368 1472 0 1457 2 0 2 2 0 8 0 rwobjpl 56 41508 0 40158 27 6 21 22 0 8 1 pdppl 4096 2953 0 2914 57 16 41 45 0 8 2 pvpl 32 554188 0 535303 185 22 163 176 0 265 7 pmappl 232 1472 0 1457 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 328 0 21 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pf_addr_compare(0,ffff8000222bd3e0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222bd3c8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b15000,ffff8000222bd698) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222bd698,ffff8000222bd6a4,29,0,ffff800000b15000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b15000,fffffd806ad9b700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000222bd988,ffff8000234d0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222bd7e0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e7cf6a8,ffff8000222bd988,11,fffffd807f7b7840) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8065d4fe60,ffff8000222bd988,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123d500,f0,ffff8000222bd988,0,ffff8000222bda70) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123d500,ffff8000222bda20,ffff8000222bda70) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222bdaf0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222bdaf0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcc04665a330, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) 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 syscall(ffff8000211f8550) at syscall+0x3fd mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff8000211f8550) at syscall+0x3fd sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7f00, count: -7