ÄeÍ«¶’\¸5Û±s™ÀÄeÍ«¶’\¸5Û±s™Àpanic: unhandled af 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 383797 8905 0 0 0 0 syz-executor.1 *480488 8905 0 0 0x4000000 1K syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823efa2a) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021f12770,ffff800000b4ace0,0) at pf_addrcpy+0x99 sys/net/pf.c:409 pf_map_addr(0,ffff800000b4aa98,ffff800021f12a38,ffff800021f12770,ffff800021f12680,ffff800021f128d8) at pf_map_addr+0x3f7 sys/net/pf_lb.c:393 pf_get_sport(ffff800021f12a20,ffff800000b4aa98,ffff800021f12770,ffff800021f12796,0,0) at pf_get_sport+0xc7 sys/net/pf_lb.c:159 pf_get_transaddr_af(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8) at pf_get_transaddr_af+0x154 sys/net/pf_lb.c:733 pf_get_transaddr(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8,ffff800021f12900) at pf_get_transaddr+0x89 sys/net/pf_lb.c:657 pf_test_rule(ffff800021f12a20,ffff800021f12b10,ffff800021f12b20,ffff800021f12b00,ffff800021f12ae8,3) at pf_test_rule+0x495 sys/net/pf.c:3822 pf_test(2,1,ffff800000af4000,ffff800021f12c38) at pf_test+0x1909 sys/net/pf.c:7101 ip_input_if(ffff800021f12c38,ffff800021f12c44,4,0,ffff800000af4000) at ip_input_if+0x59e sys/netinet/ip_input.c:316 ipv4_input(ffff800000af4000,fffffd8064691800) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff800000af4000,fffffd8064691800,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d if_ih_input sys/net/if.c:908 [inline] if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d sys/net/if.c:969 end trace frame: 0xffff800021f12db0, 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 unhandled af 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823efa2a) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021f12770,ffff800000b4ace0,0) at pf_addrcpy+0x99 sys/net/pf.c:409 pf_map_addr(0,ffff800000b4aa98,ffff800021f12a38,ffff800021f12770,ffff800021f12680,ffff800021f128d8) at pf_map_addr+0x3f7 sys/net/pf_lb.c:393 pf_get_sport(ffff800021f12a20,ffff800000b4aa98,ffff800021f12770,ffff800021f12796,0,0) at pf_get_sport+0xc7 sys/net/pf_lb.c:159 pf_get_transaddr_af(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8) at pf_get_transaddr_af+0x154 sys/net/pf_lb.c:733 pf_get_transaddr(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8,ffff800021f12900) at pf_get_transaddr+0x89 sys/net/pf_lb.c:657 pf_test_rule(ffff800021f12a20,ffff800021f12b10,ffff800021f12b20,ffff800021f12b00,ffff800021f12ae8,3) at pf_test_rule+0x495 sys/net/pf.c:3822 pf_test(2,1,ffff800000af4000,ffff800021f12c38) at pf_test+0x1909 sys/net/pf.c:7101 ip_input_if(ffff800021f12c38,ffff800021f12c44,4,0,ffff800000af4000) at ip_input_if+0x59e sys/netinet/ip_input.c:316 ipv4_input(ffff800000af4000,fffffd8064691800) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff800000af4000,fffffd8064691800,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d if_ih_input sys/net/if.c:908 [inline] if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d sys/net/if.c:969 tun_dev_write(5d01,ffff800021f13008,f9,2) at tun_dev_write+0x1fc sys/net/if_tun.c:871 spec_write(ffff800021f12e50) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e3d61a8,ffff800021f13008,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd80673f0b60,ffff800021f13008,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e22eb8,f0,ffff800021f13008,0,ffff800021f130f0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e22eb8,ffff800021f130a0,ffff800021f130f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f13170) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f13170) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd897e20760, count: -22 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021f12410 rbx 0xffff800021f124c0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8113e8df kprintf+0x16f r9 0x1 r10 0x2 r11 0x44c98b4110019747 r12 0x3000000008 r13 0xffff800021f12420 r14 0x100 r15 0x1 rip 0xffffffff81c51768 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021f12400 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=480488 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=72, nice=20 forw=0xffffffffffffffff, list=0xffff800020e22288,0xffff800020e23618 process=0xffff800020e09730 user=0xffff800021f0e000, vmspace=0xfffffd807f000b80 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 8905 383797 5225 0 7 0 syz-executor.1 * 8905 480488 5225 0 7 0x4000000 syz-executor.1 40974 170949 47764 0 2 0 syz-executor.0 40974 466572 47764 0 3 0x4000080 fsleep syz-executor.0 40974 447547 47764 0 3 0x4000080 fsleep syz-executor.0 41013 263108 0 0 3 0x14200 acct acct 22179 422656 0 0 3 0x14200 bored sosplice 51920 376286 1 0 3 0x100083 ttyin getty 5225 523378 11911 0 3 0x82 nanosleep syz-executor.1 47764 215491 11911 0 3 0x82 nanosleep syz-executor.0 11911 11596 84039 0 3 0x82 thrsleep syz-fuzzer 11911 6730 84039 0 3 0x4000082 nanosleep syz-fuzzer 11911 71875 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 464634 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 357144 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 383436 84039 0 3 0x4000082 kqread syz-fuzzer 11911 236139 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 449020 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 478998 84039 0 3 0x4000082 thrsleep syz-fuzzer 11911 329359 84039 0 3 0x4000082 thrsleep syz-fuzzer 84039 258410 71941 0 3 0x10008a pause ksh 71941 434199 60631 0 3 0x92 select sshd 60631 49033 1 0 3 0x80 select sshd 36259 128760 20916 74 3 0x100092 bpf pflogd 20916 187819 1 0 3 0x80 netio pflogd 78635 421846 82644 73 3 0x100090 kqread syslogd 82644 398027 1 0 3 0x100082 netio syslogd 11548 509591 1 77 3 0x100090 poll dhclient 94453 239186 1 0 3 0x80 poll dhclient 75986 501310 0 0 3 0x14200 bored smr 4605 164862 0 0 2 0x14200 zerothread 32383 148300 0 0 3 0x14200 aiodoned aiodoned 27123 139314 0 0 3 0x14200 syncer update 49143 96097 0 0 3 0x14200 cleaner cleaner 8890 467168 0 0 3 0x14200 reaper reaper 34385 455317 0 0 3 0x14200 pgdaemon pagedaemon 75368 436987 0 0 3 0x14200 bored crynlk 62515 20606 0 0 3 0x14200 bored crypto 54741 455803 0 0 3 0x40014200 acpi0 acpi0 70313 47030 0 0 3 0x40014200 idle1 3093 164175 0 0 3 0x14200 bored softnet 2443 328715 0 0 3 0x14200 bored systqmp 48681 450903 0 0 3 0x14200 bored systq 28842 169775 0 0 3 0x40014200 bored softclock 63108 210044 0 0 3 0x40014200 idle0 1 399247 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 8905 (syz-executor.1) thread 0xffff800020e22eb8 (480488) exclusive rwlock netlock r = 0 (0xffffffff826d0b78) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 tun_dev_write+0x1f1 sys/net/if_tun.c:870 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 #4 vn_write+0x14e sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #6 sys_write+0x83 sys/kern/sys_generic.c:285 #7 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff828d13e8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9542 6433K 6949K 78643K 12057 0 pcb 16 8K 9K 78643K 1214 0 rtable 115 7K 9K 78643K 606 0 ifaddr 113 23K 24K 78643K 306 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 103 0 ioctlops 0 0K 4K 78643K 1898 0 iov 0 0K 32K 78643K 183 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1670 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 11 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 1242 0 sigio 0 0K 0K 78643K 47 0 proc 62 63K 95K 78643K 553 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 85 0 in_multi 90 3K 4K 78643K 210 0 ether_multi 1 0K 0K 78643K 30 0 mrt 0 0K 0K 78643K 15 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 289 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 157 57K 65K 78643K 5237 0 UVM aobj 41 2K 2K 78643K 44 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 159 0 NDP 15 0K 0K 78643K 56 0 temp 147 3859K 4101K 78643K 15328 0 kqueue 3 4K 16K 78643K 75 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 7 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 68 0 66 1 0 1 1 0 8 0 rtentry 112 88 0 49 2 0 2 2 0 8 0 unpcb 120 753 0 743 1 0 1 1 0 8 0 syncache 264 16 0 16 4 3 1 1 0 8 1 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 642 0 642 2 1 1 1 0 8 1 tcpcb 544 375 0 370 2 1 1 2 0 8 0 inpcb 280 2040 0 2029 5 3 2 2 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 15 0 13 1 0 1 1 0 8 0 pkpcb 40 8 0 8 4 4 0 1 0 8 0 ppxss 1128 4 0 4 3 3 0 1 0 8 0 pfstscr 40 102 0 101 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 37 0 29 2 1 1 2 0 8 0 pftag 88 5 0 4 2 1 1 1 0 8 0 pfstitem 24 197 0 192 1 0 1 1 0 8 0 pfstkey 112 197 0 192 1 0 1 1 0 8 0 pfstate 328 119 0 115 2 0 2 2 0 8 0 pfsrctr 152 111 0 106 2 1 1 1 0 8 0 pfrule 1360 38 0 24 4 2 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 424 0 262 17 5 12 14 0 8 1 art_table 32 425 0 262 2 0 2 2 0 8 0 art_node 16 87 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 49 0 28 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 9 0 1 1 0 1 1 0 8 0 shmpl 112 42 0 3 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3363 0 1956 89 0 89 89 0 8 0 ffsino 272 3363 0 1956 95 0 95 95 0 8 0 nchpl 144 5378 0 3777 60 0 60 60 0 8 0 uvmvnodes 72 3712 0 0 68 0 68 68 0 8 0 vnodes 208 3712 0 0 196 0 196 196 0 8 0 namei 1024 15542 0 15542 2 1 1 1 0 8 1 percpumem 16 62 0 30 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 10 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 18 0 10 1 0 1 1 0 8 0 scxspl 192 15986 0 15986 13 12 1 7 0 8 1 plimitpl 152 93 0 85 1 0 1 1 0 8 0 sigapl 424 1460 0 1426 4 0 4 4 0 8 0 futexpl 56 18322 0 18320 2 1 1 1 0 8 0 knotepl 112 159 0 140 1 0 1 1 0 8 0 kqueuepl 144 169 0 166 1 0 1 1 0 8 0 pipelkpl 48 236 0 226 1 0 1 1 0 8 0 pipepl 120 472 0 453 2 1 1 2 0 8 0 fdescpl 496 1443 0 1426 3 0 3 3 0 8 0 filepl 152 9517 0 9413 7 2 5 6 0 8 0 lockfpl 104 228 0 227 1 0 1 1 0 8 0 lockfspl 48 79 0 78 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 26 0 15 1 0 1 1 0 8 0 ucredpl 96 1121 0 1111 1 0 1 1 0 8 0 zombiepl 144 1426 0 1426 1 0 1 1 0 8 1 processpl 984 1460 0 1426 5 0 5 5 0 8 0 procpl 624 4154 0 4108 4 0 4 4 0 8 0 sosppl 128 11 0 11 4 3 1 1 0 8 1 sockpl 400 2893 0 2870 8 4 4 5 0 8 1 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 172 0 0 21 0 21 21 0 8 0 mtagpl 80 44 0 0 1 0 1 1 0 8 0 mbufpl 256 650 0 0 35 0 35 35 0 8 0 bufpl 280 6063 0 144 423 0 423 423 0 8 0 anonpl 16 131052 0 114658 98 29 69 83 0 124 0 amapchunkpl 152 7980 0 7810 13 5 8 12 0 158 0 amappl16 192 6103 0 5219 70 25 45 57 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 270 0 265 1 0 1 1 0 8 0 amappl13 168 1253 0 1246 1 0 1 1 0 8 0 amappl12 160 9 0 8 1 0 1 1 0 8 0 amappl11 152 59 0 44 1 0 1 1 0 8 0 amappl10 144 618 0 610 1 0 1 1 0 8 0 amappl9 136 387 0 384 1 0 1 1 0 8 0 amappl8 128 388 0 341 2 0 2 2 0 8 0 amappl7 120 118 0 108 1 0 1 1 0 8 0 amappl6 112 29 0 23 2 1 1 1 0 8 0 amappl5 104 743 0 725 1 0 1 1 0 8 0 amappl4 96 1124 0 1091 1 0 1 1 0 8 0 amappl3 88 760 0 752 1 0 1 1 0 8 0 amappl2 80 10693 0 10614 2 0 2 2 0 8 0 amappl1 72 40298 0 39844 23 13 10 18 0 8 0 amappl 80 4420 0 4366 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 43 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1453 0 1432 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1453 0 1432 1 0 1 1 0 8 0 vmmpekpl 168 13365 0 13327 2 0 2 2 0 8 0 vmmpepl 168 180173 0 177995 133 36 97 110 0 357 1 vmsppl 368 1452 0 1432 2 0 2 2 0 8 0 pdppl 4096 2913 0 2868 7 1 6 6 0 8 0 pvpl 32 399091 0 379333 226 61 165 201 0 265 3 pmappl 232 1452 0 1432 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 300 0 16 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8270bff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828d11e0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d11e0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc userret(ffff800020e22288) at userret+0x360 sys/kern/kern_sig.c:1898 syscall(ffff800021eff720) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800021eff720) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbcd00, count: 5 ddb{0}> trace x86_ipi_db(ffffffff8270bff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828d11e0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828d11e0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc userret(ffff800020e22288) at userret+0x360 sys/kern/kern_sig.c:1898 syscall(ffff800021eff720) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800021eff720) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbcd00, count: -10 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:398 panic(ffffffff823efa2a) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021f12770,ffff800000b4ace0,0) at pf_addrcpy+0x99 sys/net/pf.c:409 pf_map_addr(0,ffff800000b4aa98,ffff800021f12a38,ffff800021f12770,ffff800021f12680,ffff800021f128d8) at pf_map_addr+0x3f7 sys/net/pf_lb.c:393 pf_get_sport(ffff800021f12a20,ffff800000b4aa98,ffff800021f12770,ffff800021f12796,0,0) at pf_get_sport+0xc7 sys/net/pf_lb.c:159 pf_get_transaddr_af(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8) at pf_get_transaddr_af+0x154 sys/net/pf_lb.c:733 pf_get_transaddr(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8,ffff800021f12900) at pf_get_transaddr+0x89 sys/net/pf_lb.c:657 pf_test_rule(ffff800021f12a20,ffff800021f12b10,ffff800021f12b20,ffff800021f12b00,ffff800021f12ae8,3) at pf_test_rule+0x495 sys/net/pf.c:3822 pf_test(2,1,ffff800000af4000,ffff800021f12c38) at pf_test+0x1909 sys/net/pf.c:7101 ip_input_if(ffff800021f12c38,ffff800021f12c44,4,0,ffff800000af4000) at ip_input_if+0x59e sys/netinet/ip_input.c:316 ipv4_input(ffff800000af4000,fffffd8064691800) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff800000af4000,fffffd8064691800,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d if_ih_input sys/net/if.c:908 [inline] if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d sys/net/if.c:969 end trace frame: 0xffff800021f12db0, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff823efa2a) at panic+0x15c sys/kern/subr_prf.c:207 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff800021f12770,ffff800000b4ace0,0) at pf_addrcpy+0x99 sys/net/pf.c:409 pf_map_addr(0,ffff800000b4aa98,ffff800021f12a38,ffff800021f12770,ffff800021f12680,ffff800021f128d8) at pf_map_addr+0x3f7 sys/net/pf_lb.c:393 pf_get_sport(ffff800021f12a20,ffff800000b4aa98,ffff800021f12770,ffff800021f12796,0,0) at pf_get_sport+0xc7 sys/net/pf_lb.c:159 pf_get_transaddr_af(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8) at pf_get_transaddr_af+0x154 sys/net/pf_lb.c:733 pf_get_transaddr(ffff800000b4aa98,ffff800021f12a20,ffff800021f128d8,ffff800021f12900) at pf_get_transaddr+0x89 sys/net/pf_lb.c:657 pf_test_rule(ffff800021f12a20,ffff800021f12b10,ffff800021f12b20,ffff800021f12b00,ffff800021f12ae8,3) at pf_test_rule+0x495 sys/net/pf.c:3822 pf_test(2,1,ffff800000af4000,ffff800021f12c38) at pf_test+0x1909 sys/net/pf.c:7101 ip_input_if(ffff800021f12c38,ffff800021f12c44,4,0,ffff800000af4000) at ip_input_if+0x59e sys/netinet/ip_input.c:316 ipv4_input(ffff800000af4000,fffffd8064691800) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff800000af4000,fffffd8064691800,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d if_ih_input sys/net/if.c:908 [inline] if_vinput(ffff800000af4000,fffffd8064691800) at if_vinput+0x10d sys/net/if.c:969 tun_dev_write(5d01,ffff800021f13008,f9,2) at tun_dev_write+0x1fc sys/net/if_tun.c:871 spec_write(ffff800021f12e50) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e3d61a8,ffff800021f13008,11,fffffd807f7bf780) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:268 vn_write(fffffd80673f0b60,ffff800021f13008,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800020e22eb8,f0,ffff800021f13008,0,ffff800021f130f0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e22eb8,ffff800021f130a0,ffff800021f130f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800021f13170) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f13170) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd897e20760, count: -22