uvm_fault(0xfffffd80672b1740, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_addr_compare+0x6b: movl 0(%r15),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd80672b1740, 0x0, 0, 1) -> e pf_addr_compare(0,ffff8000222dd350,2) at pf_addr_compare+0x6b sys/net/pf.c:326 end trace frame: 0xffff8000222dd310, count: 0 ddb{0}> trace pf_addr_compare(0,ffff8000222dd350,2) at pf_addr_compare+0x6b sys/net/pf.c:326 pflog_packet(ffff8000222dd338,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(2,1,ffff800000b14000,ffff8000222dd558) at pf_test+0xfd2 sys/net/pf.c:7206 ip_input_if(ffff8000222dd558,ffff8000222dd564,4,0,ffff800000b14000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000b14000,fffffd806b6cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff8000222dd848,ffff8000234d2000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222dd6a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e811948,ffff8000222dd848,11,fffffd807f7b7ae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8067295d10,ffff8000222dd848,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021280000,f0,ffff8000222dd848,0,ffff8000222dd930) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021280000,ffff8000222dd8e0,ffff8000222dd930) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222dd9b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222dd9b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ec7167dc40, count: -13 ddb{0}> show registers rdi 0x2 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222dd210 rbx 0x2 rdx 0xffff800000ac5640 rcx 0x2 rax 0xffff800021280000 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0xfbf595cfa962a718 r11 0xb8d604da8d76b707 r12 0x2 r13 0xffff800000044ac0 r14 0xffff8000222dd350 r15 0 rip 0xffffffff819cefdb pf_addr_compare+0x6b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222dd1c0 ss 0x10 pf_addr_compare+0x6b: movl 0(%r15),%r15d ddb{0}> show proc PROC (syz-executor.1) pid=449742 stat=onproc flags process=0 proc=4000000 pri=74, usrpri=74, nice=20 forw=0xffffffffffffffff, list=0xffff8000212807e0,0xffffffff828c8868 process=0xffff800021236a40 user=0xffff8000222d8000, vmspace=0xfffffd80672b1740 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64982 276797 19495 0 7 0 syz-executor.1 *64982 449742 19495 0 7 0x4000000 syz-executor.1 5030 427121 0 0 3 0x14200 bored sosplice 19495 66207 32393 0 3 0x82 nanoslp syz-executor.1 278 57571 32393 0 3 0x82 nanoslp syz-executor.0 32393 387403 17316 0 3 0x82 thrsleep syz-fuzzer 32393 66687 17316 0 3 0x4000082 nanoslp syz-fuzzer 32393 207833 17316 0 3 0x4000082 kqread syz-fuzzer 32393 54908 17316 0 3 0x4000082 thrsleep syz-fuzzer 32393 305648 17316 0 3 0x4000082 thrsleep syz-fuzzer 32393 156414 17316 0 3 0x4000082 thrsleep syz-fuzzer 32393 139006 17316 0 3 0x4000082 thrsleep syz-fuzzer 32393 451732 17316 0 3 0x4000082 thrsleep syz-fuzzer 17316 84051 64284 0 3 0x10008a sigsusp ksh 64284 468586 75200 0 3 0x92 select sshd 47915 365980 1 0 3 0x100083 ttyin getty 75200 436435 1 0 3 0x80 select sshd 61452 181644 20222 74 3 0x100092 bpf pflogd 20222 207371 1 0 3 0x80 netio pflogd 15924 25782 86143 73 3 0x100090 kqread syslogd 86143 126065 1 0 3 0x100082 netio syslogd 90298 321761 1 77 3 0x100090 poll dhclient 74750 390737 1 0 3 0x80 poll dhclient 37324 357926 0 0 3 0x14200 bored smr 91698 132307 0 0 2 0x14200 zerothread 19312 258373 0 0 3 0x14200 aiodoned aiodoned 77285 328074 0 0 3 0x14200 syncer update 30488 190928 0 0 3 0x14200 cleaner cleaner 47725 318581 0 0 3 0x14200 reaper reaper 87763 305889 0 0 3 0x14200 pgdaemon pagedaemon 42673 122398 0 0 3 0x14200 bored crynlk 47954 418064 0 0 3 0x14200 bored crypto 73375 255624 0 0 3 0x14200 bored viomb 36189 464197 0 0 3 0x40014200 acpi0 acpi0 47023 316283 0 0 3 0x40014200 idle1 63019 365046 0 0 3 0x14200 bored softnet 69400 480862 0 0 3 0x14200 bored systqmp 20265 202332 0 0 3 0x14200 bored systq 26297 341130 0 0 3 0x40014200 bored softclock 49605 247499 0 0 3 0x40014200 idle0 1 45372 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 64982 (syz-executor.1) thread 0xffff800021280000 (449742) 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 9514 6428K 6817K 78643K 11094 0 pcb 13 8K 8K 78643K 44 0 rtable 105 3K 3K 78643K 218 0 ifaddr 61 12K 13K 78643K 68 0 counters 44 34K 34K 78643K 46 0 ioctlops 0 0K 4K 78643K 1490 0 iov 0 0K 12K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1228 77K 77K 78643K 1412 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 30 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 629 0 sigio 0 0K 0K 78643K 2 0 proc 62 63K 95K 78643K 459 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 26 0 in_multi 33 2K 2K 78643K 52 0 ether_multi 1 0K 0K 78643K 11 0 mrt 0 0K 0K 78643K 2 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 365 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 160 139K 139K 78643K 2296 0 UVM aobj 5 2K 2K 78643K 5 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 10 0K 0K 78643K 15 0 temp 87 3973K 4037K 78643K 3570 0 kqueue 3 4K 12K 78643K 23 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 27 0 25 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 146 0 135 1 0 1 1 0 8 0 syncache 296 9 0 9 3 3 0 1 0 8 0 tcpqe 32 934 0 934 1 1 0 1 0 8 0 tcpcb 736 106 0 102 4 3 1 3 0 8 0 inpcb 296 231 0 224 2 1 1 2 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 pffrent 40 2 0 2 1 0 1 1 0 8 1 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 31 0 6 1 0 1 1 0 8 0 pfstkey 112 31 0 6 1 0 1 1 0 8 0 pfstate 328 31 0 6 3 0 3 3 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 sysvmsgpl 40 6 0 0 1 0 1 1 0 8 0 semapl 112 28 0 18 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2130 0 726 89 1 88 89 0 8 0 ffsino 272 2130 0 726 95 1 94 94 0 8 0 nchpl 144 3008 0 1401 60 0 60 60 0 8 0 uvmvnodes 72 2324 0 0 43 0 43 43 0 8 0 vnodes 224 2324 0 0 137 0 137 137 0 8 0 namei 1024 7578 0 7578 3 2 1 1 0 8 1 percpumem 16 34 0 1 1 0 1 1 0 8 0 vcpupl 1984 13 0 0 2 0 2 2 0 8 0 vmpool 560 13 0 0 1 0 1 1 0 8 0 scxspl 216 8794 0 8794 11 9 2 8 0 8 2 plimitpl 152 33 0 25 1 0 1 1 0 8 0 sigapl 424 846 0 813 4 0 4 4 0 8 0 futexpl 56 3977 0 3977 2 1 1 1 0 8 1 knotepl 112 85 0 65 1 0 1 1 0 8 0 kqueuepl 168 424 0 422 1 0 1 1 0 8 0 pipepl 336 84 0 73 3 1 2 2 0 8 1 fdescpl 496 829 0 813 5 2 3 3 0 8 1 filepl 152 2993 0 2891 7 2 5 6 0 8 0 lockfpl 104 49 0 48 1 0 1 1 0 8 0 lockfspl 48 20 0 19 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 212 0 203 1 0 1 1 0 8 0 zombiepl 144 813 0 812 2 1 1 1 0 8 0 processpl 1080 846 0 812 3 0 3 3 0 8 0 procpl 672 1697 0 1655 4 0 4 4 0 8 0 sosppl 168 9 0 9 1 1 0 1 0 8 0 sockpl 432 404 0 384 4 1 3 4 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 263 0 0 32 0 32 32 0 8 0 mtagpl 96 23 0 0 1 0 1 1 0 8 0 mbufpl 256 324 0 0 20 0 20 20 0 8 0 bufpl 280 3965 0 181 271 0 271 271 0 8 0 anonpl 24 78073 0 61156 116 1 115 115 0 186 12 amapchunkpl 152 3768 0 3407 21 2 19 19 0 158 4 amappl16 200 2353 0 1636 38 0 38 38 0 8 0 amappl15 192 604 0 600 1 0 1 1 0 8 0 amappl14 184 25 0 19 1 0 1 1 0 8 0 amappl13 176 26 0 24 1 0 1 1 0 8 0 amappl12 168 8 0 7 1 0 1 1 0 8 0 amappl11 160 58 0 40 1 0 1 1 0 8 0 amappl10 152 15 0 11 1 0 1 1 0 8 0 amappl9 144 289 0 288 1 0 1 1 0 8 0 amappl8 136 142 0 102 2 0 2 2 0 8 0 amappl7 128 247 0 238 1 0 1 1 0 8 0 amappl6 120 66 0 56 1 0 1 1 0 8 0 amappl5 112 970 0 951 1 0 1 1 0 8 0 amappl4 104 288 0 255 2 1 1 2 0 8 0 amappl3 96 128 0 120 1 0 1 1 0 8 0 amappl2 88 5771 0 5703 3 1 2 3 0 8 0 amappl1 80 33281 0 32813 27 16 11 21 0 8 0 amappl 88 1985 0 1893 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 842 0 813 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 842 0 813 1 0 1 1 0 8 0 vmmpekpl 168 8185 0 8152 2 0 2 2 0 8 0 vmmpepl 168 111373 0 109398 119 26 93 105 0 357 3 vmsppl 368 841 0 813 3 0 3 3 0 8 0 rwobjpl 56 26368 0 24923 28 6 22 22 0 8 1 pdppl 4096 1691 0 1639 74 20 54 54 0 8 2 pvpl 32 373261 0 353259 186 3 183 183 0 265 19 pmappl 232 841 0 813 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 348 0 31 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pf_addr_compare(0,ffff8000222dd350,2) at pf_addr_compare+0x6b sys/net/pf.c:326 pflog_packet(ffff8000222dd338,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(2,1,ffff800000b14000,ffff8000222dd558) at pf_test+0xfd2 sys/net/pf.c:7206 ip_input_if(ffff8000222dd558,ffff8000222dd564,4,0,ffff800000b14000) at ip_input_if+0x578 sys/netinet/ip_input.c:338 ipv4_input(ffff800000b14000,fffffd806b6cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:237 tun_dev_write(5d01,ffff8000222dd848,ffff8000234d2000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222dd6a0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e811948,ffff8000222dd848,11,fffffd807f7b7ae0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8067295d10,ffff8000222dd848,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021280000,f0,ffff8000222dd848,0,ffff8000222dd930) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021280000,ffff8000222dd8e0,ffff8000222dd930) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222dd9b0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222dd9b0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ec7167dc40, 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 end of kernel end trace frame: 0x7f7ffffbc9c0, count: -3