uvm_fault(0xfffffd8064fb8460, 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(0xfffffd8064fb8460, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222d0980,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222d0940, count: 0 ddb{0}> trace pf_addr_compare(0,ffff8000222d0980,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222d0968,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222d0c38) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222d0c38,ffff8000222d0c44,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd8068e58300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222d0f28,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222d0d80) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e4c1408,ffff8000222d0f28,11,fffffd807f7b7780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068f0db60,ffff8000222d0f28,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c2a0,f0,ffff8000222d0f28,0,ffff8000222d1010) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c2a0,ffff8000222d0fc0,ffff8000222d1010) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222d1090) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222d1090) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x912b6d30b10, count: -13 ddb{0}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222d0840 rbx 0x18 rdx 0xffff800000afa840 rcx 0x2 rax 0xffff80002123c2a0 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0xd322eb49e1ca7832 r11 0xcb589493f214bb5 r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000222d0980 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222d07f0 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=189340 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002123d7a0,0xffffffff828c8868 process=0xffff800021234448 user=0xffff8000222cc000, vmspace=0xfffffd8064fb8460 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22978 101527 58712 0 2 0 syz-executor.0 *22978 189340 58712 0 7 0x4000000 syz-executor.0 51026 362835 0 0 3 0x14200 bored sosplice 52163 286087 95956 0 2 0x2 syz-executor.1 58712 407840 95956 0 7 0x482 syz-executor.0 95956 15446 37589 0 3 0x82 thrsleep syz-fuzzer 95956 116585 37589 0 2 0x4000482 syz-fuzzer 95956 224866 37589 0 3 0x4000082 thrsleep syz-fuzzer 95956 45522 37589 0 3 0x4000082 kqread syz-fuzzer 95956 459402 37589 0 3 0x4000082 thrsleep syz-fuzzer 95956 420149 37589 0 3 0x4000082 thrsleep syz-fuzzer 95956 487353 37589 0 3 0x4000082 thrsleep syz-fuzzer 95956 356156 37589 0 3 0x4000082 thrsleep syz-fuzzer 37589 333409 42568 0 3 0x10008a sigsusp ksh 42568 128965 10915 0 3 0x92 select sshd 64824 469611 1 0 3 0x100083 ttyin getty 10915 86273 1 0 3 0x80 select sshd 3177 153802 2333 74 3 0x100092 bpf pflogd 2333 380861 1 0 3 0x80 netio pflogd 42506 123954 38702 73 3 0x100090 kqread syslogd 38702 84438 1 0 3 0x100082 netio syslogd 34794 94480 1 77 3 0x100090 poll dhclient 666 246832 1 0 3 0x80 poll dhclient 72959 355206 0 0 3 0x14200 bored smr 12059 6575 0 0 3 0x14200 pgzero zerothread 47213 254650 0 0 3 0x14200 aiodoned aiodoned 23854 43494 0 0 3 0x14200 syncer update 74274 85941 0 0 3 0x14200 cleaner cleaner 98358 69122 0 0 3 0x14200 reaper reaper 34616 374987 0 0 3 0x14200 pgdaemon pagedaemon 1868 227100 0 0 3 0x14200 bored crynlk 24056 252347 0 0 3 0x14200 bored crypto 19523 436469 0 0 3 0x14200 bored viomb 56681 494244 0 0 3 0x40014200 acpi0 acpi0 4673 377827 0 0 3 0x40014200 idle1 81469 450903 0 0 3 0x14200 bored softnet 9498 312552 0 0 3 0x14200 bored systqmp 32650 399349 0 0 3 0x14200 bored systq 22722 475870 0 0 3 0x40014200 bored softclock 17674 210910 0 0 3 0x40014200 idle0 1 446202 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 22978 (syz-executor.0) thread 0xffff80002123c2a0 (189340) 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 Process 52163 (syz-executor.1) thread 0xffff80002123da40 (286087) exclusive rrwlock inode r = 0 (0xfffffd806b1ebb38) #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 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x135 sys/ufs/ffs/ffs_vfsops.c:1350 #5 ffs_inode_alloc+0x1e1 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:459 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3064 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b1eb808) #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 domkdirat+0x75 sys/kern/vfs_syscalls.c:3049 #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9509 6434K 7074K 78643K 11797 0 pcb 13 8K 8K 78643K 70 0 rtable 107 3K 3K 78643K 269 0 ifaddr 57 12K 12K 78643K 88 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 58 0 ioctlops 0 0K 4K 78643K 1504 0 iov 0 0K 16K 78643K 42 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1605 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 58 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 1392 0 proc 63 63K 95K 78643K 495 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 50 0 in_multi 33 2K 2K 78643K 51 0 ether_multi 1 0K 0K 78643K 8 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 388 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 184 254K 254K 78643K 3968 0 UVM aobj 24 2K 2K 78643K 24 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 69 0 NDP 9 0K 0K 78643K 20 0 temp 93 3975K 4039K 78643K 6097 0 kqueue 3 4K 9K 78643K 57 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 7 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 41 0 39 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 303 0 289 1 0 1 1 0 8 0 syncache 296 41 0 41 4 3 1 1 0 8 1 tcpqe 32 1408 0 1408 2 1 1 1 0 8 1 tcpcb 736 227 0 215 6 3 3 3 0 8 1 inpcb 296 518 0 501 4 2 2 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 1 0 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 2 1 0 1 1 0 482 0 pffrnode 88 4 0 2 1 0 1 1 0 8 0 pffrent 40 7 0 5 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 27 0 13 1 0 1 1 0 8 0 pfstkey 112 27 0 13 1 0 1 1 0 8 0 pfstate 328 27 0 13 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 190 0 0 12 0 12 12 0 8 0 art_table 32 191 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 1 0 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 50 0 40 1 0 1 1 0 8 0 shmpl 112 21 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3067 0 1666 88 0 88 88 0 8 0 ffsino 272 3067 0 1666 94 0 94 94 0 8 0 nchpl 144 4834 0 3230 60 0 60 60 0 8 0 uvmvnodes 72 3403 0 0 62 0 62 62 0 8 0 vnodes 224 3403 0 0 201 0 201 201 0 8 0 namei 1024 12045 0 12044 1 0 1 1 0 8 0 percpumem 16 40 0 7 1 0 1 1 0 8 0 vcpupl 1984 15 0 0 2 0 2 2 0 8 0 vmpool 560 16 0 1 2 0 2 2 0 8 0 scxspl 216 13860 0 13860 9 8 1 8 0 8 1 plimitpl 152 82 0 74 1 0 1 1 0 8 0 sigapl 424 1609 0 1576 4 0 4 4 0 8 0 futexpl 56 8661 0 8661 1 0 1 1 0 8 1 knotepl 112 110 0 90 1 0 1 1 0 8 0 kqueuepl 168 589 0 586 1 0 1 1 0 8 0 pipepl 336 105 0 94 5 3 2 2 0 8 1 fdescpl 496 1592 0 1576 3 0 3 3 0 8 0 filepl 152 5209 0 5106 5 0 5 5 0 8 1 lockfpl 104 138 0 137 1 0 1 1 0 8 0 lockfspl 48 59 0 58 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 747 0 738 1 0 1 1 0 8 0 zombiepl 144 1576 0 1576 1 0 1 1 0 8 1 processpl 1080 1609 0 1576 3 0 3 3 0 8 0 procpl 672 3303 0 3262 4 0 4 4 0 8 0 sosppl 168 14 0 14 2 1 1 1 0 8 1 sockpl 432 872 0 843 6 2 4 4 0 8 0 mcl64k 65536 10 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k 2048 231 0 0 28 0 28 28 0 8 0 mtagpl 96 55 0 0 2 0 2 2 0 8 0 mbufpl 256 373 0 0 21 0 21 21 0 8 0 bufpl 280 4798 0 181 330 0 330 330 0 8 0 anonpl 24 137566 0 123260 110 22 88 109 0 186 0 amapchunkpl 152 6121 0 5746 17 1 16 16 0 158 0 amappl16 200 7019 0 6470 42 12 30 41 0 8 1 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 23 0 19 1 0 1 1 0 8 0 amappl13 176 26 0 24 1 0 1 1 0 8 0 amappl12 168 15 0 13 1 0 1 1 0 8 0 amappl11 160 54 0 37 1 0 1 1 0 8 0 amappl10 152 18 0 12 1 0 1 1 0 8 0 amappl9 144 282 0 281 1 0 1 1 0 8 0 amappl8 136 170 0 121 2 0 2 2 0 8 0 amappl7 128 247 0 238 1 0 1 1 0 8 0 amappl6 120 70 0 55 1 0 1 1 0 8 0 amappl5 112 1747 0 1729 1 0 1 1 0 8 0 amappl4 104 293 0 262 2 1 1 2 0 8 0 amappl3 96 143 0 134 1 0 1 1 0 8 0 amappl2 88 11860 0 11793 3 1 2 3 0 8 0 amappl1 80 52084 0 51604 29 17 12 21 0 8 1 amappl 88 3616 0 3517 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 23 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1608 0 1577 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1608 0 1577 1 0 1 1 0 8 0 vmmpekpl 168 11081 0 11052 2 0 2 2 0 8 0 vmmpepl 168 202724 0 200904 113 27 86 94 0 357 1 vmsppl 368 1607 0 1577 3 0 3 3 0 8 0 rwobjpl 56 44545 0 43247 29 9 20 22 0 8 1 pdppl 4096 3223 0 3169 73 16 57 57 0 8 3 pvpl 32 631742 0 614336 175 25 150 175 0 265 5 pmappl 232 1607 0 1577 3 1 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 348 0 25 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pf_addr_compare(0,ffff8000222d0980,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222d0968,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222d0c38) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222d0c38,ffff8000222d0c44,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd8068e58300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222d0f28,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222d0d80) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e4c1408,ffff8000222d0f28,11,fffffd807f7b7780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068f0db60,ffff8000222d0f28,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123c2a0,f0,ffff8000222d0f28,0,ffff8000222d1010) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123c2a0,ffff8000222d0fc0,ffff8000222d1010) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222d1090) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222d1090) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x912b6d30b10, 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 __mp_acquire_count(ffffffff828b9d20,1) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x390 sys/kern/sched_bsd.c:433 sleep_finish(ffff8000212ab268,1) at sleep_finish+0x111 sys/kern/kern_synch.c:427 sleep_finish_all(ffff8000212ab268,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:457 [inline] sleep_finish_all(ffff8000212ab268,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:402 tsleep(ffffffff8281b430,120,ffffffff8239da06,2) at tsleep+0x1f2 sys/kern/kern_synch.c:163 sys_nanosleep(ffff80002123dce0,ffff8000212ab390,ffff8000212ab3e0) at sys_nanosleep+0x1f5 sys/kern/kern_time.c:297 syscall(ffff8000212ab460) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212ab460) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda640, count: -13