uvm_fault(0xfffffd80084925c0, 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(0xfffffd80084925c0, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222e9120,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222e90e0, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000222e9120,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222e9108,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222e93d8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222e93d8,ffff8000222e93e4,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd807cb1c500) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222e96c8,ffff8000212cc000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222e9520) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8079c89088,ffff8000222e96c8,11,fffffd807f7b7a20) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd807a426e40,ffff8000222e96c8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c540,f0,ffff8000222e96c8,0,ffff8000222e97b0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c540,ffff8000222e9760,ffff8000222e97b0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222e9830) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222e9830) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x563e8c28890, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222e8fe0 rbx 0x18 rdx 0xffff800000afa180 rcx 0x2 rax 0xffff80002123c540 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x3781cc03356d5b1f r11 0x36f14ea98b2e66a7 r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000222e9120 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222e8f90 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=525 stat=onproc flags process=0 proc=4000000 pri=79, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80002123d260,0xffff80002123c2b0 process=0xffff8000212361d0 user=0xffff8000222e4000, vmspace=0xfffffd80084925c0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 30157 417904 82765 0 2 0 syz-executor.0 *30157 525 82765 0 7 0x4000000 syz-executor.0 40071 110064 11794 0 7 0 syz-executor.1 40071 266374 11794 0 2 0x4000000 syz-executor.1 11355 229964 0 0 3 0x14200 bored sosplice 11794 156242 446 0 3 0x82 nanoslp syz-executor.1 82765 417942 446 0 3 0x82 nanoslp syz-executor.0 446 207022 19550 0 3 0x82 thrsleep syz-fuzzer 446 38535 19550 0 3 0x4000082 nanoslp syz-fuzzer 446 206870 19550 0 3 0x4000002 netlock syz-fuzzer 446 304534 19550 0 3 0x4000082 thrsleep syz-fuzzer 446 453130 19550 0 3 0x4000082 thrsleep syz-fuzzer 446 242311 19550 0 3 0x4000082 thrsleep syz-fuzzer 446 480007 19550 0 3 0x4000082 thrsleep syz-fuzzer 446 364780 19550 0 3 0x4000082 kqread syz-fuzzer 19550 470843 17191 0 3 0x10008a sigsusp ksh 17191 245407 9094 0 3 0x92 select sshd 1152 91667 1 0 3 0x100083 ttyin getty 9094 410042 1 0 3 0x80 select sshd 6042 504786 71092 74 3 0x100092 bpf pflogd 71092 271763 1 0 3 0x80 netio pflogd 24233 504644 47100 73 3 0x100090 kqread syslogd 47100 61254 1 0 3 0x100082 netio syslogd 43093 500635 1 77 3 0x100090 poll dhclient 48269 63791 1 0 3 0x80 poll dhclient 3860 259516 0 0 3 0x14200 bored smr 1086 31831 0 0 2 0x14200 zerothread 22579 475881 0 0 3 0x14200 aiodoned aiodoned 15166 181616 0 0 3 0x14200 syncer update 71575 397639 0 0 3 0x14200 cleaner cleaner 85711 489105 0 0 3 0x14200 reaper reaper 79819 481752 0 0 3 0x14200 pgdaemon pagedaemon 55358 228221 0 0 3 0x14200 bored crynlk 20231 247646 0 0 3 0x14200 bored crypto 48910 13162 0 0 3 0x14200 bored viomb 79355 227758 0 0 3 0x40014200 acpi0 acpi0 5616 210284 0 0 3 0x40014200 idle1 39018 379468 0 0 3 0x14200 bored softnet 75675 239380 0 0 3 0x14200 bored systqmp 4614 154037 0 0 3 0x14200 bored systq 94089 239031 0 0 3 0x40014200 bored softclock 91517 515379 0 0 3 0x40014200 idle0 1 467156 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 30157 (syz-executor.0) thread 0xffff80002123c540 (525) 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 9509 6422K 7127K 78643K 12388 0 pcb 13 8K 8K 78643K 109 0 rtable 108 3K 4K 78643K 397 0 ifaddr 57 12K 13K 78643K 169 0 counters 44 34K 34K 78643K 92 0 ioctlops 0 0K 4K 78643K 1518 0 iov 0 0K 12K 78643K 39 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1813 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 10 0K 0K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 1714 0 sigio 0 0K 0K 78643K 9 0 proc 62 63K 95K 78643K 496 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 71 0 in_multi 33 2K 2K 78643K 64 0 ether_multi 1 0K 0K 78643K 14 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 404 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 168 46K 62K 78643K 4901 0 UVM aobj 3 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 71 0 NDP 9 0K 0K 78643K 37 0 temp 119 3982K 4050K 78643K 6197 0 kqueue 3 4K 10K 78643K 52 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 64 0 62 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 374 0 360 1 0 1 1 0 8 0 syncache 296 7 0 7 2 2 0 1 0 8 0 tcpqe 32 2246 0 2246 2 2 0 1 0 8 0 tcpcb 736 281 0 273 4 2 2 3 0 8 1 inpcb 296 704 0 697 3 1 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 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 46 0 13 1 0 1 1 0 8 0 pfstkey 112 46 0 13 2 0 2 2 0 8 0 pfstate 328 46 0 13 3 0 3 3 0 8 0 pfrule 1360 26 0 21 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 39 0 26 1 0 1 1 0 8 0 semupl 112 8 0 8 2 2 0 1 0 8 0 semapl 112 16 0 8 2 1 1 1 0 8 0 shmpl 112 5 0 5 1 1 0 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3439 0 2037 88 0 88 88 0 8 0 ffsino 272 3439 0 2037 95 1 94 94 0 8 0 nchpl 144 5511 0 3906 60 0 60 60 0 8 0 uvmvnodes 72 3938 0 0 72 0 72 72 0 8 0 vnodes 224 3938 0 0 232 0 232 232 0 8 0 namei 1024 13587 0 13587 2 1 1 1 0 8 1 percpumem 16 57 0 24 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 1 0 0 1 0 1 1 0 8 0 scxspl 216 16816 0 16816 9 8 1 8 0 8 1 plimitpl 152 76 0 68 1 0 1 1 0 8 0 sigapl 424 1931 0 1897 4 0 4 4 0 8 0 futexpl 56 11056 0 11056 1 0 1 1 0 8 1 knotepl 112 113 0 93 1 0 1 1 0 8 0 kqueuepl 168 897 0 895 1 0 1 1 0 8 0 pipepl 336 110 0 99 6 5 1 3 0 8 0 fdescpl 496 1914 0 1897 3 0 3 3 0 8 0 filepl 152 6304 0 6202 8 3 5 7 0 8 0 lockfpl 104 42 0 41 1 0 1 1 0 8 0 lockfspl 48 17 0 16 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 691 0 682 1 0 1 1 0 8 0 zombiepl 144 1897 0 1897 2 1 1 1 0 8 1 processpl 1080 1931 0 1897 3 0 3 3 0 8 0 procpl 672 4142 0 4099 4 0 4 4 0 8 0 sosppl 168 17 0 17 2 1 1 1 0 8 1 sockpl 432 1146 0 1123 6 2 4 5 0 8 0 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 242 0 0 30 0 30 30 0 8 0 mtagpl 96 146 0 0 4 0 4 4 0 8 0 mbufpl 256 494 0 0 29 0 29 29 0 8 0 bufpl 280 5638 0 181 390 0 390 390 0 8 0 anonpl 24 159245 0 143104 123 8 115 122 0 186 17 amapchunkpl 152 8105 0 7709 32 2 30 30 0 158 13 amappl16 200 6475 0 5849 46 12 34 46 0 8 1 amappl15 192 3 0 2 1 0 1 1 0 8 0 amappl14 184 845 0 840 1 0 1 1 0 8 0 amappl13 176 28 0 25 1 0 1 1 0 8 0 amappl12 168 11 0 9 1 0 1 1 0 8 0 amappl11 160 922 0 902 2 1 1 2 0 8 0 amappl10 152 17 0 12 1 0 1 1 0 8 0 amappl9 144 285 0 283 1 0 1 1 0 8 0 amappl8 136 182 0 127 2 0 2 2 0 8 0 amappl7 128 245 0 236 1 0 1 1 0 8 0 amappl6 120 69 0 55 1 0 1 1 0 8 0 amappl5 112 2123 0 2103 1 0 1 1 0 8 0 amappl4 104 1114 0 1081 2 1 1 2 0 8 0 amappl3 96 145 0 137 1 0 1 1 0 8 0 amappl2 88 15321 0 15240 3 1 2 3 0 8 0 amappl1 80 62878 0 62380 28 17 11 21 0 8 0 amappl 88 4467 0 4376 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 7 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1915 0 1897 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1915 0 1897 1 0 1 1 0 8 0 vmmpekpl 168 13227 0 13199 2 0 2 2 0 8 0 vmmpepl 168 248139 0 246129 115 23 92 100 0 357 4 vmsppl 368 1914 0 1897 2 0 2 2 0 8 0 rwobjpl 56 54292 0 52905 30 9 21 24 0 8 0 pdppl 4096 3837 0 3795 60 18 42 45 0 8 0 pvpl 32 760757 0 741469 198 14 184 192 0 265 24 pmappl 232 1914 0 1897 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 343 0 30 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 end of kernel end trace frame: 0x7f7ffffcd6d0, count: -3 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000222e9120,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222e9108,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222e93d8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222e93d8,ffff8000222e93e4,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd807cb1c500) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222e96c8,ffff8000212cc000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222e9520) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8079c89088,ffff8000222e96c8,11,fffffd807f7b7a20) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd807a426e40,ffff8000222e96c8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c540,f0,ffff8000222e96c8,0,ffff8000222e97b0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c540,ffff8000222e9760,ffff8000222e97b0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222e9830) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222e9830) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x563e8c28890, count: -13