panic: m_copydata: null mbuf Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *448819 38942 0 0 0 1K syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82646cb3) at panic+0x177 sys/kern/subr_prf.c:202 m_copydata(fffffd80750fc500,30,1c,ffff8000212014b0) at m_copydata+0x140 sys/kern/uipc_mbuf.c:723 pf_walk_option(ffff800021201680,30,30,4c,ffff80002120190e) at pf_walk_option+0x64 pf_walk_header(ffff800021201680,ffff800021201630,ffff80002120190e) at pf_walk_header+0x180 sys/net/pf.c:6443 pf_test_state_icmp(ffff800021201800,ffff800021201900,ffff80002120190e) at pf_test_state_icmp+0x4a1 sys/net/pf.c:5231 pf_test(2,1,ffff800000bbc000,ffff800021201a28) at pf_test+0xc45 sys/net/pf.c:7127 ip_input_if(ffff800021201a28,ffff800021201a34,4,0,ffff800000bbc000) at ip_input_if+0x126 sys/netinet/ip_input.c:403 ipv4_input(ffff800000bbc000,fffffd80750fc500) at ipv4_input+0x48 sys/netinet/ip_input.c:277 ether_input(ffff800000bbc000,fffffd80750fc500) at ether_input+0x573 tun_dev_write(5d00,ffff800021201d98,11,2) at tun_dev_write+0x203 sys/net/if_tun.c:903 spec_write(ffff800021201bf0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e5c3768,ffff800021201d98,11,fffffd807f7d7900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e5e9ac0,ffff800021201d98,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 end trace frame: 0xffff800021201d80, 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: m_copydata: null mbuf ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82646cb3) at panic+0x177 sys/kern/subr_prf.c:202 m_copydata(fffffd80750fc500,30,1c,ffff8000212014b0) at m_copydata+0x140 sys/kern/uipc_mbuf.c:723 pf_walk_option(ffff800021201680,30,30,4c,ffff80002120190e) at pf_walk_option+0x64 pf_walk_header(ffff800021201680,ffff800021201630,ffff80002120190e) at pf_walk_header+0x180 sys/net/pf.c:6443 pf_test_state_icmp(ffff800021201800,ffff800021201900,ffff80002120190e) at pf_test_state_icmp+0x4a1 sys/net/pf.c:5231 pf_test(2,1,ffff800000bbc000,ffff800021201a28) at pf_test+0xc45 sys/net/pf.c:7127 ip_input_if(ffff800021201a28,ffff800021201a34,4,0,ffff800000bbc000) at ip_input_if+0x126 sys/netinet/ip_input.c:403 ipv4_input(ffff800000bbc000,fffffd80750fc500) at ipv4_input+0x48 sys/netinet/ip_input.c:277 ether_input(ffff800000bbc000,fffffd80750fc500) at ether_input+0x573 tun_dev_write(5d00,ffff800021201d98,11,2) at tun_dev_write+0x203 sys/net/if_tun.c:903 spec_write(ffff800021201bf0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e5c3768,ffff800021201d98,11,fffffd807f7d7900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e5e9ac0,ffff800021201d98,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000fffeed20,c8,ffff800021201d98,0,ffff800021201e90) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000fffeed20,ffff800021201e30,ffff800021201e90) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021201f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021201f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6b40, count: -18 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800021201390 rbx 0xffff800020ce9c5f rdx 0x3fd rcx 0 rax 0x1d r8 0x101010101010101 r9 0x8080808080808080 r10 0x579d7d13258032ab r11 0x249476c69fdcf686 r12 0xffff800020ce9a60 r13 0 r14 0 r15 0x1 rip 0xffffffff8215c888 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021201380 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=448819 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000fffefce0,0xffffffff82b2e9a0 process=0xffff8000ffff90a8 user=0xffff8000211fc000, vmspace=0xfffffd806ee61a18 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *38942 448819 92149 0 7 0 syz-executor.0 92149 249504 84863 0 3 0x82 nanoslp syz-executor.0 84863 20267 2253 0 3 0x82 thrsleep syz-execprog 84863 274152 2253 0 3 0x4000082 nanoslp syz-execprog 84863 131295 2253 0 3 0x4000082 nanoslp syz-execprog 84863 145458 2253 0 3 0x4000082 thrsleep syz-execprog 84863 159323 2253 0 3 0x4000082 thrsleep syz-execprog 84863 235046 2253 0 3 0x4000082 thrsleep syz-execprog 84863 54393 2253 0 3 0x4000082 kqread syz-execprog 84863 136321 2253 0 3 0x4000082 thrsleep syz-execprog 84863 222928 2253 0 3 0x4000082 thrsleep syz-execprog 2253 518417 21862 0 3 0x10008a sigsusp ksh 21862 367728 19207 0 3 0x9a kqread sshd 13273 109750 1 0 3 0x100083 ttyin getty 19207 481986 1 0 3 0x88 kqread sshd 39325 349803 27941 74 3 0x1100092 bpf pflogd 27941 516227 1 0 3 0x80 netio pflogd 85005 507459 10541 73 3 0x1100090 kqread syslogd 10541 316263 1 0 3 0x100082 netio syslogd 59381 318471 1 0 3 0x100080 kqread resolvd 26722 90094 44434 77 3 0x100092 kqread dhcpleased 27572 223046 44434 77 3 0x100092 kqread dhcpleased 44434 58236 1 0 3 0x80 kqread dhcpleased 69897 58335 0 0 3 0x14200 bored smr 10242 392279 0 0 3 0x14200 pgzero zerothread 9108 69280 0 0 3 0x14200 aiodoned aiodoned 74057 92634 0 0 3 0x14200 syncer update 23223 193622 0 0 3 0x14200 cleaner cleaner 64221 64710 0 0 3 0x14200 reaper reaper 36965 324970 0 0 3 0x14200 pgdaemon pagedaemon 14595 334107 0 0 3 0x14200 bored viomb 14592 402606 0 0 3 0x40014200 acpi0 acpi0 76010 401174 0 0 3 0x40014200 idle1 43013 42531 0 0 3 0x14200 bored softnet 62357 319492 0 0 3 0x14200 bored softnet 45652 241710 0 0 3 0x14200 bored softnet 20088 466332 0 0 3 0x14200 bored softnet 75336 16884 0 0 3 0x14200 bored systqmp 43178 25754 0 0 3 0x14200 bored systq 53455 371156 0 0 3 0x40014200 bored softclock 25735 277823 0 0 7 0x40014200 idle0 1 327655 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 38942 (syz-executor.0) thread 0xffff8000fffeed20 (448819) shared rwlock pf_state_lock r = 0 (0xffffffff82947700) #0 witness_lock+0x44d #1 pf_test+0xc31 #2 ip_input_if+0x126 sys/netinet/ip_input.c:403 #3 ipv4_input+0x48 sys/netinet/ip_input.c:277 #4 ether_input+0x573 #5 tun_dev_write+0x203 sys/net/if_tun.c:903 #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:381 #10 sys_write+0x83 sys/kern/sys_generic.c:301 #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 (0xffffffff829cc640) #0 witness_lock+0x44d #1 tun_dev_write+0x1f8 sys/net/if_tun.c:902 #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:381 #6 sys_write+0x83 sys/kern/sys_generic.c:301 #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 (0xffffffff82a9dbf0) #0 witness_lock+0x44d #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x19c sys/kern/sys_generic.c:381 #3 sys_write+0x83 sys/kern/sys_generic.c:301 #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 10155 6458K 6458K 78643K 11245 0 pcb 13 8K 8K 78643K 13 0 rtable 80 2K 2K 78643K 138 0 ifaddr 37 9K 9K 78643K 40 0 counters 42 33K 33K 78643K 42 0 ioctlops 0 0K 4K 78643K 1480 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1167 73K 73K 78643K 1180 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 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 12548 0 file desc 3 8K 12K 78643K 18 0 proc 67 91K 103K 78643K 310 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 481 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 100 14K 14K 78643K 1757 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 7 0K 0K 78643K 7 0 temp 28 4717K 4781K 78643K 2812 0 kqueue 12 18K 18K 78643K 25 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 19 0 16 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 136 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 4 0 0 1 0 1 1 0 8 0 inpcb 312 36 0 30 1 0 1 1 0 8 0 nd6 48 3 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 10 0 2 1 0 1 1 0 8 0 pfstkey 112 10 0 2 1 0 1 1 0 8 0 pfstate 336 10 0 2 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 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1452 0 49 88 0 88 88 0 8 0 ffsino 272 1452 0 49 94 0 94 94 0 8 0 nchpl 144 1694 0 59 61 0 61 61 0 8 0 uvmvnodes 80 1462 0 0 30 0 30 30 0 8 0 vnodes 224 1462 0 0 86 0 86 86 0 8 0 namei 1024 5194 0 5194 3 1 2 2 0 8 2 percpumem 16 33 0 0 1 0 1 1 0 8 0 kstatmem 264 10 0 0 1 0 1 1 0 8 0 scxspl 216 5405 0 5405 10 9 1 8 0 8 1 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 350 0 316 5 0 5 5 0 8 0 knotepl 120 56 0 0 2 0 2 2 0 8 0 kqueuepl 216 21 0 13 1 0 1 1 0 8 0 pipepl 336 106 0 99 2 1 1 1 0 8 0 fdescpl 496 333 0 316 4 0 4 4 0 8 1 filepl 152 1386 0 1316 4 0 4 4 0 8 1 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 316 0 316 2 1 1 1 0 8 1 processpl 1064 350 0 316 3 0 3 3 0 8 0 procpl 672 358 0 316 5 0 5 5 0 8 1 sockpl 480 90 0 66 5 1 4 4 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 82 0 0 11 1 10 11 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 148 0 0 9 0 9 9 0 8 0 bufpl 288 3543 0 145 243 0 243 243 0 8 0 anonpl 24 44948 0 41600 44 4 40 40 0 186 18 amapchunkpl 152 3528 0 3274 17 1 16 16 0 158 3 amappl16 200 203 0 142 5 0 5 5 0 8 0 amappl15 192 4 0 2 1 0 1 1 0 8 0 amappl14 184 1 0 1 1 0 1 1 0 8 1 amappl13 176 50 0 48 2 1 1 1 0 8 0 amappl12 168 6 0 4 2 1 1 1 0 8 0 amappl11 160 82 0 64 1 0 1 1 0 8 0 amappl10 152 23 0 19 1 0 1 1 0 8 0 amappl9 144 471 0 467 1 0 1 1 0 8 0 amappl8 136 414 0 397 1 0 1 1 0 8 0 amappl7 128 73 0 65 1 0 1 1 0 8 0 amappl6 120 160 0 144 2 0 2 2 0 8 0 amappl5 112 93 0 80 1 0 1 1 0 8 0 amappl4 104 692 0 667 2 0 2 2 0 8 1 amappl3 96 432 0 402 1 0 1 1 0 8 0 amappl2 88 571 0 525 3 0 3 3 0 8 1 amappl1 80 10433 0 9964 21 1 20 20 0 8 9 amappl 88 1424 0 1357 3 0 3 3 0 92 1 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 333 0 316 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 333 0 316 1 0 1 1 0 8 0 vmmpekpl 168 8126 0 8108 2 0 2 2 0 8 1 vmmpepl 168 32113 0 30958 100 8 92 92 0 357 40 vmsppl 368 332 0 316 3 0 3 3 0 8 1 rwobjpl 56 10997 0 8787 42 1 41 41 0 8 6 pdppl 4096 673 0 632 79 30 49 57 0 8 8 pvpl 32 210272 0 203867 258 12 246 246 0 265 190 pmappl 248 332 0 316 2 0 2 2 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 555 0 36 15 0 15 15 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff829bcff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:574 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:148 __mp_lock(ffffffff82a9d9e8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a9d9e8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff8000210ff300,ffff80000067c080) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff829bcff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 6 ddb{0}> trace x86_ipi_db(ffffffff829bcff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 kd_curproc sys/dev/kcov.c:574 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x16 sys/dev/kcov.c:148 __mp_lock(ffffffff82a9d9e8) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a9d9e8) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff8000210ff300,ffff80000067c080) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff829bcff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: -9 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:437 panic(ffffffff82646cb3) at panic+0x177 sys/kern/subr_prf.c:202 m_copydata(fffffd80750fc500,30,1c,ffff8000212014b0) at m_copydata+0x140 sys/kern/uipc_mbuf.c:723 pf_walk_option(ffff800021201680,30,30,4c,ffff80002120190e) at pf_walk_option+0x64 pf_walk_header(ffff800021201680,ffff800021201630,ffff80002120190e) at pf_walk_header+0x180 sys/net/pf.c:6443 pf_test_state_icmp(ffff800021201800,ffff800021201900,ffff80002120190e) at pf_test_state_icmp+0x4a1 sys/net/pf.c:5231 pf_test(2,1,ffff800000bbc000,ffff800021201a28) at pf_test+0xc45 sys/net/pf.c:7127 ip_input_if(ffff800021201a28,ffff800021201a34,4,0,ffff800000bbc000) at ip_input_if+0x126 sys/netinet/ip_input.c:403 ipv4_input(ffff800000bbc000,fffffd80750fc500) at ipv4_input+0x48 sys/netinet/ip_input.c:277 ether_input(ffff800000bbc000,fffffd80750fc500) at ether_input+0x573 tun_dev_write(5d00,ffff800021201d98,11,2) at tun_dev_write+0x203 sys/net/if_tun.c:903 spec_write(ffff800021201bf0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e5c3768,ffff800021201d98,11,fffffd807f7d7900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e5e9ac0,ffff800021201d98,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 end trace frame: 0xffff800021201d80, count: 0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82646cb3) at panic+0x177 sys/kern/subr_prf.c:202 m_copydata(fffffd80750fc500,30,1c,ffff8000212014b0) at m_copydata+0x140 sys/kern/uipc_mbuf.c:723 pf_walk_option(ffff800021201680,30,30,4c,ffff80002120190e) at pf_walk_option+0x64 pf_walk_header(ffff800021201680,ffff800021201630,ffff80002120190e) at pf_walk_header+0x180 sys/net/pf.c:6443 pf_test_state_icmp(ffff800021201800,ffff800021201900,ffff80002120190e) at pf_test_state_icmp+0x4a1 sys/net/pf.c:5231 pf_test(2,1,ffff800000bbc000,ffff800021201a28) at pf_test+0xc45 sys/net/pf.c:7127 ip_input_if(ffff800021201a28,ffff800021201a34,4,0,ffff800000bbc000) at ip_input_if+0x126 sys/netinet/ip_input.c:403 ipv4_input(ffff800000bbc000,fffffd80750fc500) at ipv4_input+0x48 sys/netinet/ip_input.c:277 ether_input(ffff800000bbc000,fffffd80750fc500) at ether_input+0x573 tun_dev_write(5d00,ffff800021201d98,11,2) at tun_dev_write+0x203 sys/net/if_tun.c:903 spec_write(ffff800021201bf0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e5c3768,ffff800021201d98,11,fffffd807f7d7900) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806e5e9ac0,ffff800021201d98,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000fffeed20,c8,ffff800021201d98,0,ffff800021201e90) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_write(ffff8000fffeed20,ffff800021201e30,ffff800021201e90) at sys_write+0x83 sys/kern/sys_generic.c:301 syscall(ffff800021201f00) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021201f00) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe6b40, count: -18 ddb{1}>