uvm_fault(0xfffffd8008492a10, 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(0xfffffd8008492a10, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000234ce8c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000234ce880, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000234ce8c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234ce8a8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000234ceb78) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234ceb78,ffff8000234ceb84,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d7cf800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000234cee68,ffff8000212ae000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234cecc0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed97088,ffff8000234cee68,11,fffffd807f7b7960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd80645fde60,ffff8000234cee68,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002127a2a8,f0,ffff8000234cee68,0,ffff8000234cef50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002127a2a8,ffff8000234cef00,ffff8000234cef50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234cefd0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234cefd0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6035f77880, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000234ce780 rbx 0x18 rdx 0xffff800000ac6280 rcx 0x2 rax 0xffff80002127a2a8 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0xf1388b91755c2d67 r11 0xcac85fd8ece80bff r12 0x18 r13 0xffff800000044980 r14 0xffff8000234ce8c0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000234ce730 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=326760 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002127afc8,0xffffffff828c8868 process=0xffff800021235528 user=0xffff8000234ca000, vmspace=0xfffffd8008492a10 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6959 319468 89645 0 7 0 syz-executor.0 * 6959 326760 89645 0 7 0x4000000 syz-executor.0 86856 442049 19959 0 3 0x2 biowait syz-executor.1 89645 339624 19959 0 3 0x82 nanoslp syz-executor.0 19959 195660 2330 0 3 0x82 nanoslp syz-fuzzer 19959 413460 2330 0 3 0x4000082 nanoslp syz-fuzzer 19959 355340 2330 0 3 0x4000082 thrsleep syz-fuzzer 19959 269523 2330 0 3 0x4000082 thrsleep syz-fuzzer 19959 296393 2330 0 3 0x4000082 thrsleep syz-fuzzer 19959 169061 2330 0 3 0x4000082 kqread syz-fuzzer 19959 470016 2330 0 3 0x4000082 thrsleep syz-fuzzer 19959 71433 2330 0 3 0x4000082 thrsleep syz-fuzzer 2330 11391 42663 0 3 0x10008a sigsusp ksh 42663 362772 63459 0 3 0x92 select sshd 77755 340215 1 0 3 0x100083 ttyin getty 63459 20422 1 0 3 0x80 select sshd 96586 505761 34600 74 3 0x100092 bpf pflogd 34600 177358 1 0 3 0x80 netio pflogd 80006 107335 92583 73 3 0x100090 kqread syslogd 92583 443690 1 0 3 0x100082 netio syslogd 43536 71107 1 77 3 0x100090 poll dhclient 42524 39160 1 0 3 0x80 poll dhclient 427 481225 0 0 3 0x14200 bored smr 68851 377876 0 0 2 0x14200 zerothread 55624 366489 0 0 3 0x14200 aiodoned aiodoned 46974 79796 0 0 3 0x14200 syncer update 10711 48063 0 0 3 0x14200 cleaner cleaner 26529 188876 0 0 3 0x14200 reaper reaper 24134 497752 0 0 3 0x14200 pgdaemon pagedaemon 26796 298605 0 0 3 0x14200 bored crynlk 3820 362163 0 0 3 0x14200 bored crypto 80514 287794 0 0 3 0x14200 bored viomb 15176 231297 0 0 3 0x40014200 acpi0 acpi0 36466 12747 0 0 3 0x40014200 idle1 26147 85239 0 0 3 0x14200 bored softnet 33527 1805 0 0 3 0x14200 bored systqmp 28546 122594 0 0 3 0x14200 bored systq 36792 456792 0 0 3 0x40014200 bored softclock 67070 37368 0 0 3 0x40014200 idle0 1 410851 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 6959 (syz-executor.0) thread 0xffff80002127a2a8 (326760) 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 86856 (syz-executor.1) thread 0xffff80002127b7a8 (442049) exclusive rrwlock inode r = 0 (0xfffffd806476a0a0) #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 (0xfffffd806476a4e0) #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 9483 6416K 6432K 78643K 10598 0 pcb 13 8K 8K 78643K 19 0 rtable 105 3K 3K 78643K 201 0 ifaddr 44 10K 10K 78643K 45 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1481 0 iov 0 0K 0K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1234 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 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 28506 0 proc 60 63K 95K 78643K 453 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 4 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 3 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 31 148K 148K 78643K 31 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 282 44K 44K 78643K 59173 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 106 3981K 4045K 78643K 59037 0 kqueue 3 4K 8K 78643K 5 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 1667 0 1657 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 873 0 873 1 1 0 1 0 8 0 tcpcb 736 32 0 28 1 0 1 1 0 8 0 inpcb 296 65 0 58 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 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 11 0 9 1 0 1 1 0 8 0 pfstkey 112 11 0 9 1 0 1 1 0 8 0 pfstate 328 11 0 9 1 0 1 1 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 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 29904 0 28500 88 0 88 88 0 8 0 ffsino 272 29904 0 28500 95 1 94 94 0 8 0 nchpl 144 58703 0 57100 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 119567 0 119567 2 1 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 175808 0 175807 9 8 1 8 0 8 0 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 28722 0 28690 4 0 4 4 0 8 0 futexpl 56 110714 0 110714 1 0 1 1 0 8 1 knotepl 112 64 0 44 1 0 1 1 0 8 0 kqueuepl 168 32533 0 32531 1 0 1 1 0 8 0 pipepl 336 105 0 94 3 1 2 2 0 8 1 fdescpl 496 28706 0 28690 5 2 3 3 0 8 1 filepl 152 65221 0 65119 6 1 5 5 0 8 1 lockfpl 104 25 0 23 1 0 1 1 0 8 0 lockfspl 48 10 0 8 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 81 0 72 1 0 1 1 0 8 0 zombiepl 144 28690 0 28690 2 1 1 1 0 8 1 processpl 1080 28722 0 28690 3 0 3 3 0 8 0 procpl 672 57860 0 57820 5 1 4 4 0 8 0 sockpl 432 1751 0 1732 4 1 3 4 0 8 0 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 26 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k 2048 298 0 0 29 4 25 29 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 557 0 0 18 0 18 18 0 8 0 bufpl 280 31812 0 25563 447 0 447 447 0 8 0 anonpl 24 1705767 0 1669012 226 3 223 223 0 186 1 amapchunkpl 152 89033 0 87797 49 1 48 48 0 158 0 amappl16 200 69798 0 68726 57 0 57 57 0 8 0 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 14172 0 14168 1 0 1 1 0 8 0 amappl13 176 28 0 25 1 0 1 1 0 8 0 amappl12 168 11 0 7 1 0 1 1 0 8 0 amappl11 160 56 0 39 1 0 1 1 0 8 0 amappl10 152 14353 0 14347 1 0 1 1 0 8 0 amappl9 144 289 0 287 2 1 1 1 0 8 0 amappl8 136 198 0 133 3 0 3 3 0 8 0 amappl7 128 244 0 237 1 0 1 1 0 8 0 amappl6 120 14397 0 14383 1 0 1 1 0 8 0 amappl5 112 14705 0 14685 1 0 1 1 0 8 0 amappl4 104 14432 0 14402 1 0 1 1 0 8 0 amappl3 96 1515 0 1508 1 0 1 1 0 8 0 amappl2 88 243271 0 243199 3 1 2 3 0 8 0 amappl1 80 776538 0 776054 26 14 12 21 0 8 0 amappl 88 58277 0 58072 5 0 5 5 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 28706 0 28690 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 28706 0 28690 1 0 1 1 0 8 0 vmmpekpl 168 92910 0 92880 2 0 2 2 0 8 0 vmmpepl 168 3492748 0 3490278 160 46 114 144 0 357 2 vmsppl 368 28705 0 28690 2 0 2 2 0 8 0 rwobjpl 56 690373 0 688438 36 8 28 29 0 8 0 pdppl 4096 57419 0 57380 63 22 41 45 0 8 2 pvpl 32 9622895 0 9583059 330 3 327 328 0 265 4 pmappl 232 28705 0 28690 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 329 0 32 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+0x25 kd_curproc sys/dev/kcov.c:559 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x25 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 intr_handler(ffff8000234ddae0,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: 0x7f7fffff50e0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000234ce8c0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234ce8a8,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000234ceb78) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234ceb78,ffff8000234ceb84,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d7cf800) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000234cee68,ffff8000212ae000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234cecc0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806ed97088,ffff8000234cee68,11,fffffd807f7b7960) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd80645fde60,ffff8000234cee68,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002127a2a8,f0,ffff8000234cee68,0,ffff8000234cef50) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002127a2a8,ffff8000234cef00,ffff8000234cef50) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234cefd0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234cefd0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6035f77880, count: -13