panic: unhandled af 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 291875 60638 0 0 0 0 syz-executor.1 *145281 60638 0 0 0x4000000 1K syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8245dec9) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021271270,ffff800000c93790,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c93548,ffff8000212714a8,ffff800021271270,ffff800021271188,ffff800021271350,ab3d2075ae4954a0,ffff800021271490) at pf_map_addr+0x3c3 pf_get_sport(ffff800021271490,ffff800000c93548,ffff800021271270,ffff80002127129e,0,0,b33db9c42f435c43) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c93548,ffff800021271490,ffff800021271350) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff800021271490,ffff800021271588,ffff800021271590,ffff800021271580,ffff800021271560,ffff80002127159e,7abcfdf0c6e3edfd) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(18,1,ffff800000b36000,ffff800021271768) at pf_test+0x1b38 sys/net/pf.c:7140 ip6_input_if(ffff800021271768,ffff800021271774,29,0,ffff800000b36000) at ip6_input_if+0x2da sys/netinet6/ip6_input.c:318 ipv6_input(ffff800000b36000,fffffd8066b66000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 ether_input(ffff800000b36000,fffffd8066b66000) at ether_input+0x573 tun_dev_write(5d01,ffff800021271ad8,0,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff800021271930) at spec_write+0xd4 sys/kern/spec_vnops.c:309 end trace frame: 0xffff8000212719a0, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: unhandled af 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8245dec9) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021271270,ffff800000c93790,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c93548,ffff8000212714a8,ffff800021271270,ffff800021271188,ffff800021271350,ab3d2075ae4954a0,ffff800021271490) at pf_map_addr+0x3c3 pf_get_sport(ffff800021271490,ffff800000c93548,ffff800021271270,ffff80002127129e,0,0,b33db9c42f435c43) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c93548,ffff800021271490,ffff800021271350) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff800021271490,ffff800021271588,ffff800021271590,ffff800021271580,ffff800021271560,ffff80002127159e,7abcfdf0c6e3edfd) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(18,1,ffff800000b36000,ffff800021271768) at pf_test+0x1b38 sys/net/pf.c:7140 ip6_input_if(ffff800021271768,ffff800021271774,29,0,ffff800000b36000) at ip6_input_if+0x2da sys/netinet6/ip6_input.c:318 ipv6_input(ffff800000b36000,fffffd8066b66000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 ether_input(ffff800000b36000,fffffd8066b66000) at ether_input+0x573 tun_dev_write(5d01,ffff800021271ad8,0,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff800021271930) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8079db34e8,ffff800021271ad8,11,fffffd807f7d8780) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8069c6ddc8,ffff800021271ad8,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000226a1ce8,c8,ffff800021271ad8,0,ffff800021271bd0) at dofilewritev+0x19c sys/kern/sys_generic.c:380 sys_write(ffff8000226a1ce8,ffff800021271b70,ffff800021271bd0) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff800021271c40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021271c40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x86dfdf5add0, count: -20 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021270f10 rbx 0xffff800020d39bff rdx 0 rcx 0 rax 0xffff8000226a1ce8 r8 0x101010101010101 r9 0x8080808080808080 r10 0xdeda7b431ce44b30 r11 0x4dad9354286974d1 r12 0xffff800020d39a00 r13 0 r14 0 r15 0x1 rip 0xffffffff817f3738 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021270f00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=145281 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000226a0008,0xffffffff82981830 process=0xffff8000211f31f0 user=0xffff80002126c000, vmspace=0xfffffd806ee2a178 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60638 291875 31904 0 7 0 syz-executor.1 *60638 145281 31904 0 7 0x4000000 syz-executor.1 73513 217462 1 0 3 0x100083 ttyin getty 91558 261193 91754 0 3 0x82 nanoslp syz-executor.3 94458 494573 91754 0 3 0x82 nanoslp syz-executor.0 43917 392669 0 0 3 0x14200 bored sosplice 20358 104101 91754 0 3 0x82 nanoslp syz-executor.2 31904 132146 91754 0 3 0x82 nanoslp syz-executor.1 91754 326231 20070 0 3 0x82 thrsleep syz-fuzzer 91754 311680 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 523383 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 342592 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 167354 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 156189 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 1322 20070 0 3 0x4000082 thrsleep syz-fuzzer 91754 291954 20070 0 3 0x4000082 kqread syz-fuzzer 20070 476614 85275 0 3 0x10008a sigsusp ksh 85275 287088 77008 0 3 0x9a poll sshd 77008 491435 1 0 3 0x88 poll sshd 34178 245687 85415 74 3 0x100092 bpf pflogd 85415 327440 1 0 3 0x80 netio pflogd 21684 314483 59241 73 3 0x100090 kqread syslogd 59241 419292 1 0 3 0x100082 netio syslogd 2292 384029 1 0 3 0x100080 kqread resolvd 57938 248905 67075 77 3 0x100092 kqread dhcpleased 4462 184718 67075 77 3 0x100092 kqread dhcpleased 67075 302376 1 0 3 0x80 kqread dhcpleased 9734 319706 0 0 3 0x14200 bored smr 19771 465290 0 0 3 0x14200 pgzero zerothread 75122 347808 0 0 3 0x14200 aiodoned aiodoned 77580 98243 0 0 3 0x14200 syncer update 77654 486613 0 0 3 0x14200 cleaner cleaner 94511 443313 0 0 3 0x14200 reaper reaper 91018 41706 0 0 3 0x14200 pgdaemon pagedaemon 71316 449487 0 0 3 0x14200 bored viomb 22817 82389 0 0 3 0x40014200 acpi0 acpi0 27067 14303 0 0 3 0x40014200 idle1 10197 159604 0 0 3 0x14200 bored softnet 79079 489132 0 0 3 0x14200 bored systqmp 80888 472968 0 0 3 0x14200 bored systq 23560 229432 0 0 3 0x40014200 bored softclock 20811 9806 0 0 3 0x40014200 idle0 1 282858 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 60638 (syz-executor.1) thread 0xffff8000226a1ce8 (145281) exclusive rwlock pf_lock r = 0 (0xffffffff8277cf50) #0 witness_lock+0x44d #1 pf_test+0x1b0e #2 ip6_input_if+0x2da sys/netinet6/ip6_input.c:318 #3 ipv6_input+0x48 sys/netinet6/ip6_input.c:171 #4 ether_input+0x573 #5 tun_dev_write+0x203 sys/net/if_tun.c:874 #6 spec_write+0xd4 sys/kern/spec_vnops.c:309 #7 VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 #8 vn_write+0x157 sys/kern/vfs_vnops.c:414 #9 dofilewritev+0x19c sys/kern/sys_generic.c:380 #10 sys_write+0x83 sys/kern/sys_generic.c:300 #11 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #11 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 exclusive rwlock netlock r = 0 (0xffffffff8277f740) #0 witness_lock+0x44d #1 tun_dev_write+0x1f8 sys/net/if_tun.c:873 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 #4 vn_write+0x157 sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x19c sys/kern/sys_generic.c:380 #6 sys_write+0x83 sys/kern/sys_generic.c:300 #7 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829cd5e8) #0 witness_lock+0x44d #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x19c sys/kern/sys_generic.c:380 #3 sys_write+0x83 sys/kern/sys_generic.c:300 #4 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10185 6487K 7239K 78643K 17537 0 pcb 13 11K 12K 78643K 326 0 rtable 142 11K 12K 78643K 4685 0 ifaddr 63 15K 17K 78643K 1203 0 sysctl 1 1K 1K 78643K 2 0 counters 46 34K 35K 78643K 150 0 ioctlops 0 0K 8K 78643K 6021 0 iov 0 0K 28K 78643K 148 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1294 81K 81K 78643K 3465 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 42 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 19 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 7 21K 49K 78643K 9320 0 sigio 0 0K 0K 78643K 38 0 proc 71 87K 124K 78643K 931 0 subproc 52 3K 3K 78643K 199 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 321 0 in_multi 33 2K 4K 78643K 402 0 ether_multi 1 0K 0K 78643K 75 0 mrt 1 0K 0K 78643K 51 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 169 758K 758K 78643K 169 0 exec 0 0K 2K 78643K 1098 0 tdb 3 0K 0K 78643K 3 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 303 215K 228K 78643K 112306 0 UVM aobj 48 2K 2K 78643K 56 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 420 0 NDP 8 0K 1K 78643K 108 0 temp 105 4215K 8301K 78643K 72146 0 kqueue 10 14K 22K 78643K 233 0 SYN cache 2 0K 16K 78643K 4 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 167 0 164 1 0 1 1 0 8 0 rtentry 112 246 0 202 3 0 3 3 0 8 0 unpcb 128 10083 0 10065 31 26 5 9 0 8 4 syncache 296 43 0 43 8 8 0 1 0 8 0 tcpqe 32 7 64 7 1 1 0 1 0 8 0 tcpcb 736 886 0 873 14 11 3 6 0 8 1 arp 120 35 0 29 1 0 1 1 0 8 0 inpcb 304 3377 0 3364 20 16 4 7 0 8 2 rttmr 72 18 0 18 6 6 0 1 0 8 0 nd6 48 74 0 66 1 0 1 1 0 8 0 pkpcb 40 15 0 15 5 5 0 1 0 8 0 kcovpl 48 15 0 11 1 0 1 1 0 8 0 ppxss 1248 12 0 12 3 3 0 1 0 8 0 pfstscr 40 19 0 19 5 5 0 1 0 8 0 pffrag 232 24 0 24 2 2 0 1 0 482 0 pffrnode 88 24 0 24 2 2 0 1 0 8 0 pffrent 40 433 0 433 2 2 0 1 0 8 0 pfosfp 40 1436 0 1011 5 0 5 5 0 8 0 pfosfpen 112 1436 0 714 21 0 21 21 0 8 0 pfrktable 1344 1936 0 1922 5 3 2 2 0 8 0 pftag 88 11 0 10 2 1 1 1 0 8 0 pfstitem 24 42 0 40 1 0 1 1 0 8 0 pfstkey 112 74 0 72 1 0 1 1 0 8 0 pfstate 320 56 0 54 3 2 1 3 0 8 0 pfsrctr 152 49 0 49 1 1 0 1 0 8 0 pfrule 1360 2225 0 2056 15 0 15 15 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 827 0 634 21 6 15 19 0 8 0 art_table 32 828 0 634 3 0 3 3 0 8 0 art_node 16 244 0 205 1 0 1 1 0 8 0 semupl 112 8 0 8 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 53 0 8 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 12357 0 10926 90 0 90 90 0 8 0 ffsino 272 12357 0 10926 96 0 96 96 0 8 0 nchpl 144 23310 0 21709 61 0 61 61 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 65488 0 65488 6 5 1 1 0 8 1 percpumem 16 87 0 52 1 0 1 1 0 8 0 vcpupl 2048 10 0 0 2 0 2 2 0 8 0 vmpool 560 21 0 11 1 0 1 1 0 8 0 pfiaddrpl 120 988 0 869 4 0 4 4 0 8 0 scxspl 216 76482 0 76482 16 15 1 8 0 8 1 plimitpl 152 396 0 385 1 0 1 1 0 8 0 sigapl 424 9536 0 9501 5 0 5 5 0 8 0 futexpl 64 61886 0 61886 7 6 1 1 0 8 1 knotepl 112 95 0 0 3 0 3 3 0 8 0 kqueuepl 216 561 0 555 3 2 1 3 0 8 0 pipepl 336 524 0 508 12 10 2 7 0 8 0 fdescpl 496 9515 0 9495 4 1 3 4 0 8 0 filepl 152 42192 0 42039 49 38 11 16 0 8 5 lockfpl 104 2751 0 2749 1 0 1 1 0 8 0 lockfspl 48 1200 0 1198 1 0 1 1 0 8 0 sessionpl 144 35 0 22 1 0 1 1 0 8 0 pgrppl 48 48 0 35 1 0 1 1 0 8 0 ucredpl 96 3288 0 3273 1 0 1 1 0 8 0 zombiepl 144 9501 0 9498 2 1 1 1 0 8 0 processpl 1064 9536 0 9498 3 0 3 3 0 8 0 procpl 672 21141 0 21095 7 2 5 6 0 8 0 srpgc 96 16 0 16 4 4 0 1 0 8 0 sosppl 168 47 0 46 3 2 1 1 0 8 0 sockpl 480 13660 0 13622 263 248 15 35 0 8 8 mcl64k 65536 28 0 0 3 0 3 3 0 8 0 mcl16k 16384 12 0 0 2 0 2 2 0 8 0 mcl12k 12288 30 0 0 2 0 2 2 0 8 0 mcl9k 9216 15 0 0 2 0 2 2 0 8 0 mcl8k 8192 28 0 0 4 1 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 993 0 0 98 1 97 97 0 8 0 mtagpl 96 400 0 0 9 0 9 9 0 8 0 mbufpl 256 1671 0 0 88 0 88 88 0 8 0 bufpl 288 16430 0 10086 454 0 454 454 0 8 0 anonpl 24 2487680 0 2478136 204 140 64 110 0 186 0 amapchunkpl 152 269940 0 269462 74 51 23 33 0 158 1 amappl16 200 23570 0 23315 80 66 14 41 0 8 0 amappl15 192 1013 0 1012 1 0 1 1 0 8 0 amappl14 184 5 0 3 2 1 1 1 0 8 0 amappl13 176 203 0 202 1 0 1 1 0 8 0 amappl12 168 44 0 37 1 0 1 1 0 8 0 amappl11 160 1209 0 1194 1 0 1 1 0 8 0 amappl10 152 1292 0 1283 1 0 1 1 0 8 0 amappl9 144 3780 0 3775 1 0 1 1 0 8 0 amappl8 136 3058 0 2964 4 0 4 4 0 8 0 amappl7 128 2480 0 2468 1 0 1 1 0 8 0 amappl6 120 3540 0 3519 1 0 1 1 0 8 0 amappl5 112 10464 0 10444 1 0 1 1 0 8 0 amappl4 104 2087 0 2061 1 0 1 1 0 8 0 amappl3 96 522 0 506 1 0 1 1 0 8 0 amappl2 88 700 0 658 3 2 1 2 0 8 0 amappl1 80 159918 0 159453 13 2 11 13 0 8 0 amappl 88 111573 0 111402 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 72 55 0 8 1 0 1 1 0 8 0 uaddrrnd 24 9536 0 9506 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9536 0 9506 1 0 1 1 0 8 0 vmmpekpl 168 52129 0 52090 3 0 3 3 0 8 0 vmmpepl 168 830888 0 829226 151 66 85 104 0 357 1 vmsppl 368 9535 0 9506 5 2 3 4 0 8 0 rwobjpl 56 191289 0 184205 106 5 101 103 0 8 0 pdppl 4096 19080 0 19022 98 34 64 66 0 8 6 pvpl 32 4523234 0 4510086 407 288 119 201 0 265 1 pmappl 248 9535 0 9506 3 0 3 3 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 1018 0 72 29 1 28 28 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82832ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 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: 0x7f7ffffe7c90, count: 12 ddb{0}> trace x86_ipi_db(ffffffff82832ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 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: 0x7f7ffffe7c90, count: -3 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8245dec9) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021271270,ffff800000c93790,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c93548,ffff8000212714a8,ffff800021271270,ffff800021271188,ffff800021271350,ab3d2075ae4954a0,ffff800021271490) at pf_map_addr+0x3c3 pf_get_sport(ffff800021271490,ffff800000c93548,ffff800021271270,ffff80002127129e,0,0,b33db9c42f435c43) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c93548,ffff800021271490,ffff800021271350) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff800021271490,ffff800021271588,ffff800021271590,ffff800021271580,ffff800021271560,ffff80002127159e,7abcfdf0c6e3edfd) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(18,1,ffff800000b36000,ffff800021271768) at pf_test+0x1b38 sys/net/pf.c:7140 ip6_input_if(ffff800021271768,ffff800021271774,29,0,ffff800000b36000) at ip6_input_if+0x2da sys/netinet6/ip6_input.c:318 ipv6_input(ffff800000b36000,fffffd8066b66000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 ether_input(ffff800000b36000,fffffd8066b66000) at ether_input+0x573 tun_dev_write(5d01,ffff800021271ad8,0,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff800021271930) at spec_write+0xd4 sys/kern/spec_vnops.c:309 end trace frame: 0xffff8000212719a0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8245dec9) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021271270,ffff800000c93790,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c93548,ffff8000212714a8,ffff800021271270,ffff800021271188,ffff800021271350,ab3d2075ae4954a0,ffff800021271490) at pf_map_addr+0x3c3 pf_get_sport(ffff800021271490,ffff800000c93548,ffff800021271270,ffff80002127129e,0,0,b33db9c42f435c43) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c93548,ffff800021271490,ffff800021271350) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff800021271490,ffff800021271588,ffff800021271590,ffff800021271580,ffff800021271560,ffff80002127159e,7abcfdf0c6e3edfd) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(18,1,ffff800000b36000,ffff800021271768) at pf_test+0x1b38 sys/net/pf.c:7140 ip6_input_if(ffff800021271768,ffff800021271774,29,0,ffff800000b36000) at ip6_input_if+0x2da sys/netinet6/ip6_input.c:318 ipv6_input(ffff800000b36000,fffffd8066b66000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 ether_input(ffff800000b36000,fffffd8066b66000) at ether_input+0x573 tun_dev_write(5d01,ffff800021271ad8,0,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff800021271930) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8079db34e8,ffff800021271ad8,11,fffffd807f7d8780) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8069c6ddc8,ffff800021271ad8,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000226a1ce8,c8,ffff800021271ad8,0,ffff800021271bd0) at dofilewritev+0x19c sys/kern/sys_generic.c:380 sys_write(ffff8000226a1ce8,ffff800021271b70,ffff800021271bd0) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff800021271c40) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021271c40) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x86dfdf5add0, count: -20