uvm_fault(0xfffffd8008492000, 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(0xfffffd8008492000, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000212a74d0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000212a7490, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000212a74d0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000212a74b8,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000212a7788) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000212a7788,ffff8000212a7794,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd8067142900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000212a7a78,ffff8000212b0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000212a78d0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807af6a408,ffff8000212a7a78,11,fffffd807f7b78a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806a7f9e58,ffff8000212a7a78,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123ca80,f0,ffff8000212a7a78,0,ffff8000212a7b60) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123ca80,ffff8000212a7b10,ffff8000212a7b60) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000212a7be0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212a7be0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6cb7a02d2c0, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000212a7390 rbx 0x18 rdx 0xffff800000af8f00 rcx 0x2 rax 0xffff80002123ca80 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x3da117872411aef3 r11 0x3d1817bf8fe5792a r12 0x18 r13 0xffff800000044a00 r14 0xffff8000212a74d0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000212a7340 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=509919 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80002123c2a0,0xffffffff828c8868 process=0xffff800021236608 user=0xffff8000212a2000, vmspace=0xfffffd8008492000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20589 373940 5847 0 7 0 syz-executor.0 *20589 509919 5847 0 7 0x4000000 syz-executor.0 40962 417249 95643 0 2 0x2 syz-executor.1 5847 202233 95643 0 3 0x82 nanoslp syz-executor.0 95643 499170 39251 0 3 0x82 thrsleep syz-fuzzer 95643 480214 39251 0 3 0x4000082 nanoslp syz-fuzzer 95643 1154 39251 0 3 0x4000082 thrsleep syz-fuzzer 95643 276336 39251 0 3 0x4000082 thrsleep syz-fuzzer 95643 203185 39251 0 3 0x4000082 kqread syz-fuzzer 95643 507034 39251 0 3 0x4000082 thrsleep syz-fuzzer 95643 210344 39251 0 3 0x4000082 thrsleep syz-fuzzer 95643 69396 39251 0 3 0x4000082 thrsleep syz-fuzzer 39251 193180 25728 0 3 0x10008a sigsusp ksh 25728 477093 92282 0 3 0x92 select sshd 81650 143454 1 0 3 0x100083 ttyin getty 92282 110111 1 0 3 0x80 select sshd 90023 48998 64721 74 3 0x100092 bpf pflogd 64721 175002 1 0 3 0x80 netio pflogd 36597 409378 4885 73 3 0x100090 kqread syslogd 4885 155500 1 0 3 0x100082 netio syslogd 13259 30082 1 77 3 0x100090 poll dhclient 83767 305729 1 0 3 0x80 poll dhclient 3657 278487 0 0 3 0x14200 bored smr 50860 75763 0 0 2 0x14200 zerothread 74237 58377 0 0 3 0x14200 aiodoned aiodoned 71918 9156 0 0 3 0x14200 syncer update 99654 498053 0 0 3 0x14200 cleaner cleaner 12803 90559 0 0 3 0x14200 reaper reaper 58959 457728 0 0 3 0x14200 pgdaemon pagedaemon 88146 311121 0 0 3 0x14200 bored crynlk 57596 342277 0 0 3 0x14200 bored crypto 50694 278814 0 0 3 0x14200 bored viomb 36316 166695 0 0 3 0x40014200 acpi0 acpi0 3727 4338 0 0 3 0x40014200 idle1 39657 316289 0 0 3 0x14200 bored softnet 5615 456617 0 0 3 0x14200 bored systqmp 89746 170814 0 0 3 0x14200 bored systq 1895 336400 0 0 3 0x40014200 bored softclock 61180 113636 0 0 3 0x40014200 idle0 1 138922 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 20589 (syz-executor.0) thread 0xffff80002123ca80 (509919) 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 40962 (syz-executor.1) thread 0xffff80002123c000 (417249) exclusive rrwlock inode r = 0 (0xfffffd806b0b4098) #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 (0xfffffd806b0b4c48) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9484 6416K 6435K 78643K 12656 0 pcb 13 8K 8K 78643K 17 0 rtable 105 3K 3K 78643K 199 0 ifaddr 44 10K 10K 78643K 45 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1826 0 iov 0 0K 0K 78643K 114 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1550 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 322 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 83 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 10016 0 sigio 0 0K 0K 78643K 202 0 proc 59 63K 83K 78643K 447 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 2K 78643K 358 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 115 25K 25K 78643K 21739 0 UVM aobj 10 3K 3K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 105 3981K 4045K 78643K 22502 0 kqueue 3 4K 4K 78643K 3 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 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 1219 0 1209 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 10 0 6 1 0 1 1 0 8 0 inpcb 296 89 0 82 1 0 1 1 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 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 14 0 10 1 0 1 1 0 8 0 pfstkey 112 14 0 10 1 0 1 1 0 8 0 pfstate 328 14 0 10 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 2 0 2 1 1 0 1 0 8 0 semapl 112 81 0 71 1 0 1 1 0 8 0 shmpl 112 23 0 16 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 11622 0 10218 88 0 88 88 0 8 0 ffsino 272 11622 0 10218 94 0 94 94 0 8 0 nchpl 144 23347 0 21743 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 54470 0 54469 1 0 1 1 0 8 0 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 65589 0 65589 9 8 1 8 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 10232 0 10200 4 0 4 4 0 8 0 futexpl 56 39936 0 39936 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 168 128 0 126 1 0 1 1 0 8 0 pipepl 336 6038 0 6027 7 5 2 2 0 8 1 fdescpl 496 10216 0 10200 3 0 3 3 0 8 0 filepl 152 31902 0 31800 5 0 5 5 0 8 1 lockfpl 104 840 0 839 1 0 1 1 0 8 0 lockfspl 48 416 0 415 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 583 0 572 1 0 1 1 0 8 0 ucredpl 96 1630 0 1621 1 0 1 1 0 8 0 zombiepl 144 10200 0 10200 1 0 1 1 0 8 1 processpl 1080 10232 0 10200 3 0 3 3 0 8 0 procpl 672 21201 0 21161 4 0 4 4 0 8 0 sockpl 432 1327 0 1308 4 1 3 4 0 8 0 mcl64k 65536 20 0 0 3 0 3 3 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 140 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 602 0 0 16 0 16 16 0 8 0 bufpl 280 13390 0 7141 447 0 447 447 0 8 0 anonpl 24 615116 0 610097 34 2 32 32 0 186 0 amapchunkpl 152 33142 0 32970 11 3 8 8 0 158 1 amappl16 200 34736 0 34571 9 0 9 9 0 8 0 amappl15 192 2 0 1 1 0 1 1 0 8 0 amappl14 184 5039 0 5035 1 0 1 1 0 8 0 amappl13 176 27 0 24 1 0 1 1 0 8 0 amappl12 168 6 0 4 1 0 1 1 0 8 0 amappl11 160 75 0 57 2 1 1 2 0 8 0 amappl10 152 16 0 11 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 1 0 1 0 8 0 amappl8 136 217 0 167 2 0 2 2 0 8 0 amappl7 128 244 0 237 1 0 1 1 0 8 0 amappl6 120 66 0 54 1 0 1 1 0 8 0 amappl5 112 10766 0 10748 1 0 1 1 0 8 0 amappl4 104 304 0 281 1 0 1 1 0 8 0 amappl3 96 402 0 395 1 0 1 1 0 8 0 amappl2 88 86135 0 86065 3 1 2 3 0 8 0 amappl1 80 274351 0 273878 28 17 11 21 0 8 0 amappl 88 21468 0 21416 2 0 2 2 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 25 0 16 1 0 1 1 0 8 0 uaddrrnd 24 10216 0 10200 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10216 0 10200 1 0 1 1 0 8 0 vmmpekpl 168 80202 0 80177 2 0 2 2 0 8 0 vmmpepl 168 1240539 0 1239167 112 45 67 77 0 357 4 vmsppl 368 10215 0 10200 2 0 2 2 0 8 0 rwobjpl 56 242095 0 241237 24 11 13 19 0 8 0 pdppl 4096 20439 0 20400 57 16 41 45 0 8 2 pvpl 32 2324526 0 2316500 136 67 69 117 0 265 0 pmappl 232 10215 0 10200 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 307 0 24 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 kd_curproc sys/dev/kcov.c:570 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 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 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7fffff3580, count: -7 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000212a74d0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000212a74b8,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000212a7788) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000212a7788,ffff8000212a7794,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd8067142900) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000212a7a78,ffff8000212b0000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000212a78d0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807af6a408,ffff8000212a7a78,11,fffffd807f7b78a0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806a7f9e58,ffff8000212a7a78,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123ca80,f0,ffff8000212a7a78,0,ffff8000212a7b60) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123ca80,ffff8000212a7b10,ffff8000212a7b60) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000212a7be0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212a7be0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6cb7a02d2c0, count: -13