uvm_fault(0xfffffd8008492cf0, 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(0xfffffd8008492cf0, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222b0f10,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222b0ed0, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000222b0f10,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222b0ef8,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b5a000,ffff8000222b11c8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222b11c8,ffff8000222b11d4,29,0,ffff800000b5a000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b5a000,fffffd8064a7c800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(828a6,ffff8000222b1530,ffff8000234ca000,0) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222b1310) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd80681ffa98,ffff8000222b1530,1,fffffd807f7b7780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066bfa908,ffff8000222b1530,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021272a80,3,ffff8000222b1530,0,ffff8000222b1620) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_writev(ffff800021272a80,ffff8000222b15d8,ffff8000222b1620) at sys_writev+0xa7 sys/kern/sys_generic.c:312 syscall(ffff8000222b16a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222b16a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbd755ff1ee0, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222b0dd0 rbx 0x18 rdx 0xffff800000ac5a40 rcx 0x2 rax 0xffff800021272a80 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0xc0b1254838573b6c r11 0x41c4d020445b64f2 r12 0x18 r13 0xffff800000044980 r14 0xffff8000222b0f10 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222b0d80 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=367066 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800021273260,0xffffffff828c8868 process=0xffff800021235528 user=0xffff8000222ac000, vmspace=0xfffffd8008492cf0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 62711 59332 703 0 7 0 syz-executor.1 *62711 367066 703 0 7 0x4000000 syz-executor.1 24275 400248 13825 0 3 0x2 biowait syz-executor.0 80981 311163 0 0 3 0x14200 acct acct 95703 435678 0 0 3 0x14200 bored sosplice 703 299731 13825 0 3 0x82 nanoslp syz-executor.1 13825 11770 66828 0 3 0x82 thrsleep syz-fuzzer 13825 291960 66828 0 3 0x4000082 nanoslp syz-fuzzer 13825 85141 66828 0 3 0x4000082 thrsleep syz-fuzzer 13825 360911 66828 0 3 0x4000082 thrsleep syz-fuzzer 13825 218333 66828 0 3 0x4000082 kqread syz-fuzzer 13825 461475 66828 0 3 0x4000082 thrsleep syz-fuzzer 13825 88190 66828 0 3 0x4000082 thrsleep syz-fuzzer 13825 478163 66828 0 3 0x4000082 nanoslp syz-fuzzer 66828 52194 82967 0 3 0x10008a sigsusp ksh 82967 463246 9892 0 3 0x92 select sshd 206 510204 1 0 3 0x100083 ttyin getty 9892 90933 1 0 3 0x80 select sshd 95892 350305 72059 74 3 0x100092 bpf pflogd 72059 200982 1 0 3 0x80 netio pflogd 1014 57122 66740 73 3 0x100090 kqread syslogd 66740 322433 1 0 3 0x100082 netio syslogd 35448 418232 1 77 3 0x100090 poll dhclient 21607 449555 1 0 3 0x80 poll dhclient 35820 317690 0 0 3 0x14200 bored smr 15697 408054 0 0 3 0x14200 pgzero zerothread 20019 315806 0 0 3 0x14200 aiodoned aiodoned 82381 37038 0 0 3 0x14200 syncer update 84907 437845 0 0 3 0x14200 cleaner cleaner 88703 250936 0 0 3 0x14200 reaper reaper 28608 428268 0 0 3 0x14200 pgdaemon pagedaemon 98631 5068 0 0 3 0x14200 bored crynlk 68621 349530 0 0 3 0x14200 bored crypto 99819 275156 0 0 3 0x14200 bored viomb 6886 154200 0 0 3 0x40014200 acpi0 acpi0 58826 9918 0 0 3 0x40014200 idle1 63520 143732 0 0 3 0x14200 bored softnet 2967 29435 0 0 3 0x14200 bored systqmp 88096 220529 0 0 3 0x14200 bored systq 97793 227941 0 0 3 0x40014200 bored softclock 40481 392138 0 0 3 0x40014200 idle0 1 287315 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 62711 (syz-executor.1) thread 0xffff800021272a80 (367066) 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_writev+0xa7 sys/kern/sys_generic.c:312 #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_writev+0xa7 sys/kern/sys_generic.c:312 #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 Process 24275 (syz-executor.0) thread 0xffff8000212737a0 (400248) exclusive rrwlock inode r = 0 (0xfffffd806572de78) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vget+0x1c6 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x6b sys/ufs/ffs/ffs_vfsops.c:1321 #8 ufs_lookup+0x151d sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x708 sys/kern/vfs_lookup.c:568 #11 namei+0x5f7 sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e4686f8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9547 6443K 7721K 78643K 15773 0 pcb 13 8K 8K 78643K 137 0 rtable 111 5K 6K 78643K 760 0 ifaddr 83 15K 15K 78643K 248 0 sysctl 1 1K 1K 78643K 1 0 counters 46 34K 34K 78643K 106 0 ioctlops 0 0K 4K 78643K 1559 0 iov 0 0K 12K 78643K 84 0 mount 1 1K 1K 78643K 1 0 vnodes 1232 77K 78K 78643K 2815 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 214 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 4439 0 sigio 0 0K 0K 78643K 4 0 proc 62 63K 95K 78643K 655 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 221 0 in_multi 29 1K 2K 78643K 270 0 ether_multi 1 0K 0K 78643K 55 0 mrt 0 0K 0K 78643K 8 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 511 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 203 98K 101K 78643K 10916 0 UVM aobj 32 7K 7K 78643K 32 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 152 0 NDP 15 0K 0K 78643K 66 0 temp 147 3991K 4067K 78643K 28415 0 kqueue 3 4K 16K 78643K 129 0 SYN cache 2 12K 20K 78643K 3 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 136 0 134 1 0 1 1 0 8 0 rtentry 112 125 0 82 2 0 2 2 0 8 0 unpcb 120 791 0 778 1 0 1 1 0 8 0 syncache 296 26 0 26 5 5 0 1 0 8 0 tcpqe 32 129 0 129 3 3 0 1 0 8 0 tcpcb 736 512 0 493 13 10 3 4 0 8 0 inpcb 296 1234 0 1219 5 3 2 2 0 8 0 nd6 48 31 0 25 1 0 1 1 0 8 0 pkpcb 40 19 0 19 4 4 0 1 0 8 0 kcovpl 48 4 0 2 1 0 1 1 0 8 0 pffrent 40 10 0 10 2 2 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 pfrktable 1344 19 0 17 1 0 1 1 0 8 0 pfstitem 24 22 0 20 1 0 1 1 0 8 0 pfstkey 112 22 0 20 1 0 1 1 0 8 0 pfstate 328 22 0 20 2 1 1 2 0 8 0 pfrule 1360 51 0 36 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 639 0 449 13 1 12 12 0 8 0 art_table 32 640 0 449 2 0 2 2 0 8 0 art_node 16 124 0 84 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 1 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 206 0 196 1 0 1 1 0 8 0 shmpl 112 29 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6728 0 5322 91 3 88 89 0 8 0 ffsino 272 6728 0 5322 96 1 95 95 0 8 0 nchpl 144 11730 0 10138 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 28738 0 28738 1 0 1 1 0 8 1 percpumem 16 64 0 30 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 5 1 0 1 1 0 8 0 scxspl 216 33964 0 33963 9 8 1 8 0 8 0 plimitpl 152 180 0 172 1 0 1 1 0 8 0 sigapl 424 4651 0 4617 4 0 4 4 0 8 0 futexpl 56 25648 0 25648 1 0 1 1 0 8 1 knotepl 112 236 0 216 1 0 1 1 0 8 0 kqueuepl 168 1952 0 1950 1 0 1 1 0 8 0 pipepl 336 154 0 143 7 6 1 2 0 8 0 fdescpl 496 4633 0 4617 3 0 3 3 0 8 0 filepl 152 13359 0 13255 6 1 5 6 0 8 0 lockfpl 104 358 0 357 1 0 1 1 0 8 0 lockfspl 48 136 0 135 1 0 1 1 0 8 0 sessionpl 144 20 0 9 1 0 1 1 0 8 0 pgrppl 48 35 0 24 1 0 1 1 0 8 0 ucredpl 96 1444 0 1433 1 0 1 1 0 8 0 zombiepl 144 4617 0 4617 1 0 1 1 0 8 1 processpl 1080 4651 0 4617 3 0 3 3 0 8 0 procpl 672 9995 0 9953 5 1 4 5 0 8 0 sosppl 168 18 0 18 3 3 0 1 0 8 0 sockpl 432 2199 0 2169 11 7 4 5 0 8 0 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 232 0 0 25 1 24 25 0 8 1 mtagpl 96 291 0 0 8 0 8 8 0 8 0 mbufpl 256 856 0 0 51 1 50 50 0 8 0 bufpl 280 8158 0 1911 447 0 447 447 0 8 0 anonpl 24 374799 0 359550 188 46 142 142 0 186 47 amapchunkpl 152 19356 0 18979 33 16 17 29 0 158 0 amappl16 200 16714 0 16123 79 22 57 57 0 8 25 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 24 0 19 1 0 1 1 0 8 0 amappl13 176 41 0 38 1 0 1 1 0 8 0 amappl12 168 1506 0 1503 2 1 1 1 0 8 0 amappl11 160 65 0 47 2 1 1 2 0 8 0 amappl10 152 2599 0 2590 1 0 1 1 0 8 0 amappl9 144 282 0 282 1 1 0 1 0 8 0 amappl8 136 892 0 804 5 1 4 4 0 8 0 amappl7 128 269 0 261 1 0 1 1 0 8 0 amappl6 120 2655 0 2640 1 0 1 1 0 8 0 amappl5 112 3297 0 3279 1 0 1 1 0 8 0 amappl4 104 1782 0 1753 1 0 1 1 0 8 0 amappl3 96 209 0 202 1 0 1 1 0 8 0 amappl2 88 37641 0 37570 3 1 2 3 0 8 0 amappl1 80 134810 0 134339 27 15 12 21 0 8 0 amappl 88 10368 0 10270 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 31 0 0 1 0 1 1 0 8 0 uaddrrnd 24 4637 0 4617 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4637 0 4617 1 0 1 1 0 8 0 vmmpekpl 168 22401 0 22369 2 0 2 2 0 8 0 vmmpepl 168 585317 0 583428 163 54 109 109 0 357 21 vmsppl 368 4636 0 4617 2 0 2 2 0 8 0 rwobjpl 56 121707 0 120349 39 12 27 27 0 8 7 pdppl 4096 9281 0 9238 62 17 45 46 0 8 2 pvpl 32 1730675 0 1712326 286 66 220 220 0 265 65 pmappl 232 4636 0 4617 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 377 0 43 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 intr_handler(ffff8000222abb90,ffff80000006a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x18f end of kernel end trace frame: 0x7f7ffffd6330, count: -6 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000222b0f10,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222b0ef8,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b5a000,ffff8000222b11c8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222b11c8,ffff8000222b11d4,29,0,ffff800000b5a000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b5a000,fffffd8064a7c800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(828a6,ffff8000222b1530,ffff8000234ca000,0) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222b1310) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd80681ffa98,ffff8000222b1530,1,fffffd807f7b7780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066bfa908,ffff8000222b1530,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021272a80,3,ffff8000222b1530,0,ffff8000222b1620) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_writev(ffff800021272a80,ffff8000222b15d8,ffff8000222b1620) at sys_writev+0xa7 sys/kern/sys_generic.c:312 syscall(ffff8000222b16a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222b16a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbd755ff1ee0, count: -13