panic: unhandled af 0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 65136 26063 0 0 0x4000000 0K syz-executor.3 438784 93820 0 0 0 1 syz-executor.2 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8258460f) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff80002e34c5f0,ffff800000c14cd8,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c14a90,ffff80002e34c828,ffff80002e34c5f0,ffff80002e34c508,ffff80002e34c6d0,f5c8f776d2c895f,ffff80002e34c810) at pf_map_addr+0x3c3 pf_get_sport(ffff80002e34c810,ffff800000c14a90,ffff80002e34c5f0,ffff80002e34c61e,0,0,302d9ca82055e66e) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c14a90,ffff80002e34c810,ffff80002e34c6d0) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff80002e34c810,ffff80002e34c908,ffff80002e34c910,ffff80002e34c900,ffff80002e34c8e0,fffffd8076f008f0,5cf6357ee08daa42) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(2,1,ffff800000bf5800,ffff80002e34ca38) at pf_test+0x1d9e sys/net/pf.c:7032 ip_input_if(ffff80002e34ca38,ffff80002e34ca44,4,0,ffff800000bf5800) at ip_input_if+0x126 sys/netinet/ip_input.c:369 ipv4_input(ffff800000bf5800,fffffd8076f00800) at ipv4_input+0x48 sys/netinet/ip_input.c:243 ether_input(ffff800000bf5800,fffffd8076f00800) at ether_input+0x573 tun_dev_write(5d03,ffff80002e34cda8,ffff800029d11000,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff80002e34cc00) at spec_write+0xd4 sys/kern/spec_vnops.c:309 end trace frame: 0xffff80002e34cc70, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: unhandled af 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8258460f) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff80002e34c5f0,ffff800000c14cd8,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c14a90,ffff80002e34c828,ffff80002e34c5f0,ffff80002e34c508,ffff80002e34c6d0,f5c8f776d2c895f,ffff80002e34c810) at pf_map_addr+0x3c3 pf_get_sport(ffff80002e34c810,ffff800000c14a90,ffff80002e34c5f0,ffff80002e34c61e,0,0,302d9ca82055e66e) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c14a90,ffff80002e34c810,ffff80002e34c6d0) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff80002e34c810,ffff80002e34c908,ffff80002e34c910,ffff80002e34c900,ffff80002e34c8e0,fffffd8076f008f0,5cf6357ee08daa42) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(2,1,ffff800000bf5800,ffff80002e34ca38) at pf_test+0x1d9e sys/net/pf.c:7032 ip_input_if(ffff80002e34ca38,ffff80002e34ca44,4,0,ffff800000bf5800) at ip_input_if+0x126 sys/netinet/ip_input.c:369 ipv4_input(ffff800000bf5800,fffffd8076f00800) at ipv4_input+0x48 sys/netinet/ip_input.c:243 ether_input(ffff800000bf5800,fffffd8076f00800) at ether_input+0x573 tun_dev_write(5d03,ffff80002e34cda8,ffff800029d11000,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff80002e34cc00) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e1eee68,ffff80002e34cda8,11,fffffd807f7d88a0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8067b0dbf0,ffff80002e34cda8,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000ffff4fc8,c8,ffff80002e34cda8,0,ffff80002e34cea0) at dofilewritev+0x19c sys/kern/sys_generic.c:380 sys_write(ffff8000ffff4fc8,ffff80002e34ce40,ffff80002e34cea0) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff80002e34cf10) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e34cf10) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x44dfb096f20, count: -20 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002e34c290 rbx 0xffffffff8293dbff cpu_info_full_primary+0x2bff rdx 0xffff800000bc5a80 rcx 0 rax 0xffff8000ffff4fc8 r8 0x101010101010101 r9 0x8080808080808080 r10 0x6a089ba3e0acf1ab r11 0xcf2d95c5a60b3449 r12 0xffffffff8293da00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff81eec1f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002e34c280 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=65136 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff47e8,0xffff8000ffff57b8 process=0xffff8000ffff0868 user=0xffff80002e347000, vmspace=0xfffffd807f000b80 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 25280 303815 61454 0 2 0 syz-executor.0 82306 80497 78093 0 2 0 syz-executor.5 26063 450431 4749 0 2 0 syz-executor.3 *26063 65136 4749 0 7 0x4000000 syz-executor.3 94420 148317 69959 0 2 0 syz-executor.7 93820 438784 91823 0 7 0 syz-executor.2 93820 156721 91823 0 2 0x4000000 syz-executor.2 72104 252851 79541 0 2 0 syz-executor.6 72104 155505 79541 0 2 0x4000000 syz-executor.6 48735 484468 16490 0 2 0 syz-executor.4 48735 173493 16490 0 2 0x4000000 syz-executor.4 16490 221183 447 0 2 0x2 syz-executor.4 61454 150412 447 0 2 0x2 syz-executor.0 3751 62446 0 0 3 0x14200 bored sosplice 4749 143900 447 0 3 0x82 nanoslp syz-executor.3 69959 297199 447 0 3 0x82 nanoslp syz-executor.7 79541 337776 447 0 3 0x82 nanoslp syz-executor.6 78093 87849 447 0 3 0x82 nanoslp syz-executor.5 91823 469895 447 0 3 0x82 nanoslp syz-executor.2 94341 104391 447 0 2 0x2 syz-executor.1 447 353457 54722 0 3 0x82 thrsleep syz-fuzzer 447 160130 54722 0 3 0x4000082 thrsleep syz-fuzzer 447 287981 54722 0 3 0x4000082 thrsleep syz-fuzzer 447 414170 54722 0 3 0x4000082 kqread syz-fuzzer 447 203751 54722 0 3 0x4000082 thrsleep syz-fuzzer 447 397428 54722 0 3 0x4000082 thrsleep syz-fuzzer 447 57466 54722 0 3 0x4000082 thrsleep syz-fuzzer 447 140406 54722 0 3 0x4000082 thrsleep syz-fuzzer 54722 299274 77876 0 3 0x10008a sigsusp ksh 77876 175260 39849 0 3 0x9a poll sshd 43947 344396 1 0 3 0x100083 ttyin getty 39849 202096 1 0 3 0x88 poll sshd 76660 364464 87032 74 3 0x100092 bpf pflogd 87032 150365 1 0 3 0x80 netio pflogd 83365 330749 16501 73 3 0x100090 kqread syslogd 16501 274586 1 0 3 0x100082 netio syslogd 66200 17353 1 0 3 0x100080 kqread resolvd 84311 166144 10402 77 3 0x100092 kqread dhcpleased 99884 128079 10402 77 3 0x100092 kqread dhcpleased 10402 379357 1 0 3 0x80 kqread dhcpleased 97338 20517 0 0 3 0x14200 bored smr 73214 454104 0 0 2 0x14200 zerothread 74971 30895 0 0 3 0x14200 aiodoned aiodoned 17254 168687 0 0 3 0x14200 syncer update 50108 467238 0 0 3 0x14200 cleaner cleaner 31847 338970 0 0 3 0x14200 reaper reaper 3383 227847 0 0 3 0x14200 pgdaemon pagedaemon 43483 283344 0 0 3 0x14200 bored viomb 76491 9670 0 0 3 0x40014200 acpi0 acpi0 80564 328885 0 0 3 0x40014200 idle1 40755 226880 0 0 3 0x14200 bored softnet 9471 499876 0 0 3 0x14200 bored systqmp 23467 434050 0 0 3 0x14200 bored systq 18676 286889 0 0 3 0x40014200 bored softclock 81704 90797 0 0 3 0x40014200 idle0 1 321485 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 26063 (syz-executor.3) thread 0xffff8000ffff4fc8 (65136) exclusive rwlock pf_lock r = 0 (0xffffffff8299ffa0) #0 witness_lock+0x44d #1 pf_test+0x1d74 #2 ip_input_if+0x126 sys/netinet/ip_input.c:369 #3 ipv4_input+0x48 sys/netinet/ip_input.c:243 #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 (0xffffffff829a5ea0) #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 (0xffffffff82a37870) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10174 6477K 7247K 78643K 15172 0 pcb 13 11K 12K 78643K 153 0 rtable 252 9K 11K 78643K 622 0 ifaddr 90 18K 19K 78643K 182 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 84 0 ioctlops 0 0K 4K 78643K 1712 0 iov 0 0K 16K 78643K 140 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1347 84K 84K 78643K 2360 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 14 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 24 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 17 61K 78K 78643K 1195 0 sigio 0 0K 0K 78643K 79 0 proc 69 87K 111K 78643K 669 0 subproc 104 13K 13K 78643K 169 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 42 0 in_multi 95 6K 7K 78643K 209 0 ether_multi 1 0K 0K 78643K 16 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 2K 78643K 845 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 350 240K 240K 78643K 16680 0 UVM aobj 63 3K 3K 78643K 63 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 84 0 NDP 12 0K 1K 78643K 53 0 temp 138 4715K 4786K 78643K 14458 0 kqueue 10 14K 18K 78643K 60 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 87 0 84 1 0 1 1 0 8 0 rtentry 112 188 0 77 4 0 4 4 0 8 0 unpcb 136 698 0 683 6 5 1 6 0 8 0 syncache 296 11 0 11 3 2 1 1 0 8 1 tcpcb 736 481 0 462 17 8 9 10 0 8 7 arp 120 32 0 14 1 0 1 1 0 8 0 inpcb 304 1593 0 1586 7 1 6 7 0 8 5 nd6 48 44 0 19 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1248 6 0 6 1 1 0 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 47 0 47 1 1 0 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 pfrktable 1344 29 0 25 2 1 1 1 0 8 0 pfstitem 24 27 0 17 1 0 1 1 0 8 0 pfstkey 112 27 0 17 1 0 1 1 0 8 0 pfstate 320 27 0 17 3 0 3 3 0 8 0 pfrule 1360 52 0 30 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 765 0 296 31 1 30 31 0 8 0 art_table 32 766 0 296 4 0 4 4 0 8 0 art_node 16 187 0 86 1 0 1 1 0 8 0 sysvmsgpl 40 55 0 15 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 60 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2743 0 1299 91 0 91 91 0 8 0 ffsino 272 2743 0 1299 97 0 97 97 0 8 0 nchpl 144 4365 0 2738 63 0 63 63 0 8 0 uvmvnodes 80 3856 0 0 79 0 79 79 0 8 0 vnodes 224 3856 0 0 227 0 227 227 0 8 0 namei 1024 15234 0 15234 1 0 1 1 0 8 1 percpumem 16 54 0 14 1 0 1 1 0 8 0 vcpupl 2048 13 0 0 2 0 2 2 0 8 0 vmpool 560 18 0 5 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 8 2 1 1 1 0 8 0 scxspl 216 13156 0 13156 9 8 1 8 0 8 1 plimitpl 152 91 0 76 1 0 1 1 0 8 0 sigapl 424 1485 0 1440 6 0 6 6 0 8 0 futexpl 64 10280 0 10280 1 0 1 1 0 8 1 knotepl 112 113 0 0 4 0 4 4 0 8 0 kqueuepl 216 404 0 398 8 3 5 5 0 8 4 pipepl 336 333 0 305 11 3 8 8 0 8 5 fdescpl 496 1470 0 1440 5 1 4 5 0 8 0 filepl 152 8657 0 8419 21 6 15 18 0 8 5 lockfpl 104 461 0 459 3 1 2 2 0 8 1 lockfspl 48 141 0 139 1 0 1 1 0 8 0 sessionpl 144 29 0 12 1 0 1 1 0 8 0 pgrppl 48 29 0 12 1 0 1 1 0 8 0 ucredpl 96 548 0 536 1 0 1 1 0 8 0 zombiepl 144 1440 0 1440 1 0 1 1 0 8 1 processpl 1064 1485 0 1440 4 0 4 4 0 8 0 procpl 672 3617 0 3561 8 2 6 7 0 8 0 sosppl 168 6 0 6 2 2 0 1 0 8 0 sockpl 480 2382 0 2357 28 16 12 21 0 8 8 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 11 0 0 2 0 2 2 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 193 0 0 21 0 21 21 0 8 0 mtagpl 96 823 0 0 20 0 20 20 0 8 0 mbufpl 256 1890 0 0 118 0 118 118 0 8 0 bufpl 288 5347 0 155 371 0 371 371 0 8 0 anonpl 24 375523 0 355168 159 23 136 155 0 186 0 amapchunkpl 152 41571 0 40753 41 3 38 39 0 158 0 amappl16 200 3621 0 2918 48 9 39 47 0 8 0 amappl15 192 359 0 350 1 0 1 1 0 8 0 amappl14 184 116 0 115 2 1 1 1 0 8 0 amappl13 176 305 0 298 1 0 1 1 0 8 0 amappl12 168 260 0 250 1 0 1 1 0 8 0 amappl11 160 300 0 284 1 0 1 1 0 8 0 amappl10 152 29 0 25 1 0 1 1 0 8 0 amappl9 144 593 0 588 1 0 1 1 0 8 0 amappl8 136 713 0 653 3 0 3 3 0 8 0 amappl7 128 160 0 150 1 0 1 1 0 8 0 amappl6 120 312 0 289 1 0 1 1 0 8 0 amappl5 112 653 0 632 1 0 1 1 0 8 0 amappl4 104 1541 0 1514 2 0 2 2 0 8 0 amappl3 96 634 0 612 1 0 1 1 0 8 0 amappl2 88 858 0 808 2 0 2 2 0 8 0 amappl1 80 30061 0 29513 14 0 14 14 0 8 1 amappl 88 16120 0 15872 7 0 7 7 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 62 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1488 0 1445 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1488 0 1445 1 0 1 1 0 8 0 vmmpekpl 168 15048 0 14975 4 0 4 4 0 8 0 vmmpepl 168 140324 0 137659 167 25 142 152 0 357 17 vmsppl 368 1487 0 1445 4 0 4 4 0 8 0 rwobjpl 56 38533 0 32942 80 1 79 79 0 8 0 pdppl 4096 2983 0 2903 142 61 81 81 0 8 1 pvpl 32 722658 0 699495 246 25 221 241 0 265 18 pmappl 248 1487 0 1445 3 0 3 3 0 8 0 extentpl 40 57 0 38 1 0 1 1 0 8 0 phpool 112 923 0 76 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff8258460f) at panic+0x177 sys/kern/subr_prf.c:202 unhandled_af(0) at unhandled_af+0x16 pf_addrcpy(ffff80002e34c5f0,ffff800000c14cd8,0) at pf_addrcpy+0x9e sys/net/pf.c:413 pf_map_addr(0,ffff800000c14a90,ffff80002e34c828,ffff80002e34c5f0,ffff80002e34c508,ffff80002e34c6d0,f5c8f776d2c895f,ffff80002e34c810) at pf_map_addr+0x3c3 pf_get_sport(ffff80002e34c810,ffff800000c14a90,ffff80002e34c5f0,ffff80002e34c61e,0,0,302d9ca82055e66e) at pf_get_sport+0xc5 sys/net/pf_lb.c:161 pf_get_transaddr_af(ffff800000c14a90,ffff80002e34c810,ffff80002e34c6d0) at pf_get_transaddr_af+0x153 sys/net/pf_lb.c:756 pf_test_rule(ffff80002e34c810,ffff80002e34c908,ffff80002e34c910,ffff80002e34c900,ffff80002e34c8e0,fffffd8076f008f0,5cf6357ee08daa42) at pf_test_rule+0x480 sys/net/pf.c:3891 pf_test(2,1,ffff800000bf5800,ffff80002e34ca38) at pf_test+0x1d9e sys/net/pf.c:7032 ip_input_if(ffff80002e34ca38,ffff80002e34ca44,4,0,ffff800000bf5800) at ip_input_if+0x126 sys/netinet/ip_input.c:369 ipv4_input(ffff800000bf5800,fffffd8076f00800) at ipv4_input+0x48 sys/netinet/ip_input.c:243 ether_input(ffff800000bf5800,fffffd8076f00800) at ether_input+0x573 tun_dev_write(5d03,ffff80002e34cda8,ffff800029d11000,2) at tun_dev_write+0x203 sys/net/if_tun.c:874 spec_write(ffff80002e34cc00) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e1eee68,ffff80002e34cda8,11,fffffd807f7d88a0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8067b0dbf0,ffff80002e34cda8,0) at vn_write+0x157 sys/kern/vfs_vnops.c:414 dofilewritev(ffff8000ffff4fc8,c8,ffff80002e34cda8,0,ffff80002e34cea0) at dofilewritev+0x19c sys/kern/sys_generic.c:380 sys_write(ffff8000ffff4fc8,ffff80002e34ce40,ffff80002e34cea0) at sys_write+0x83 sys/kern/sys_generic.c:300 syscall(ffff80002e34cf10) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002e34cf10) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x44dfb096f20, count: -20 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) 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: 0x7f7ffffd39b0, count: 12 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) 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: 0x7f7ffffd39b0, count: -3