panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 422342 45902 0 0x2 0 0 syz-executor.1 *423427 770 0 0x12 0 1 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8241437d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada320) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada320) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806ead5c88,9,fffffd807f01e300,0,0,ffff800020e40390) at tcp_usrreq+0xa55 sosend(fffffd806ead5c88,0,ffff800020e04738,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40390,4,ffff800020e04738,0,ffff800020e04820) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40390,ffff800020e047d0,ffff800020e04820) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e048a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e048a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: 6 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 tcp_output: template len != hdrlen - optlen ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8241437d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada320) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada320) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806ead5c88,9,fffffd807f01e300,0,0,ffff800020e40390) at tcp_usrreq+0xa55 sosend(fffffd806ead5c88,0,ffff800020e04738,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40390,4,ffff800020e04738,0,ffff800020e04820) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40390,ffff800020e047d0,ffff800020e04820) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e048a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e048a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e042a0 rbx 0xffff800020e04350 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81ec8d2f kprintf+0x16f r9 0x1 r10 0x2 r11 0x10a39a744d3f3bd5 r12 0x3000000008 r13 0xffff800020e042b0 r14 0x100 r15 0x1 rip 0xffffffff81efc068 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e04290 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=423427 stat=onproc flags process=12 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e3f280,0xffff800020e3f020 process=0xffff8000ffffe7d8 user=0xffff800020dff000, vmspace=0xfffffd806e8f85c8 estcpu=0, cpticks=0, pctcpu=0.17 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28557 496092 76295 0 3 0x80 nanosleep syz-executor.0 28557 450038 76295 0 3 0x4000080 netcon2 syz-executor.0 28557 139346 76295 0 3 0x4000080 fsleep syz-executor.0 45902 422342 2174 0 7 0x2 syz-executor.1 7496 51444 0 0 3 0x14200 bored sosplice 76295 148785 2174 0 3 0x82 nanosleep syz-executor.0 2174 505361 73035 0 3 0x82 thrsleep syz-fuzzer 2174 210531 73035 0 3 0x4000082 nanosleep syz-fuzzer 2174 230319 73035 0 3 0x4000082 thrsleep syz-fuzzer 2174 19509 73035 0 3 0x4000082 thrsleep syz-fuzzer 2174 31950 73035 0 3 0x4000082 kqread syz-fuzzer 2174 205959 73035 0 3 0x4000082 thrsleep syz-fuzzer 2174 446408 73035 0 3 0x4000082 thrsleep syz-fuzzer 2174 144419 73035 0 3 0x4000082 nanosleep syz-fuzzer 2174 514855 73035 0 3 0x4000082 thrsleep syz-fuzzer 2174 414391 73035 0 3 0x4000082 thrsleep syz-fuzzer 73035 421336 770 0 3 0x10008a pause ksh * 770 423427 53225 0 7 0x12 sshd 82167 452769 1 0 3 0x100083 ttyin getty 53225 19496 1 0 3 0x80 select sshd 86655 320709 45739 74 3 0x100092 bpf pflogd 45739 301143 1 0 3 0x80 netio pflogd 29047 2594 78589 73 3 0x100090 kqread syslogd 78589 522460 1 0 3 0x100082 netio syslogd 58712 97119 1 77 3 0x100090 poll dhclient 14190 192722 1 0 3 0x80 poll dhclient 90788 404876 0 0 3 0x14200 bored smr 50501 202755 0 0 3 0x14200 pgzero zerothread 20735 721 0 0 3 0x14200 aiodoned aiodoned 85839 250791 0 0 3 0x14200 syncer update 38636 328700 0 0 3 0x14200 cleaner cleaner 65528 90466 0 0 3 0x14200 reaper reaper 51769 396240 0 0 3 0x14200 pgdaemon pagedaemon 73646 437648 0 0 3 0x14200 bored crynlk 63817 40454 0 0 3 0x14200 bored crypto 74403 239566 0 0 3 0x40014200 acpi0 acpi0 37941 75243 0 0 3 0x40014200 idle1 29519 355882 0 0 3 0x14200 bored softnet 65141 387047 0 0 3 0x14200 bored systqmp 21733 404724 0 0 3 0x14200 bored systq 12242 176114 0 0 3 0x40014200 bored softclock 70580 38580 0 0 3 0x40014200 idle0 1 225894 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 45902 (syz-executor.1) thread 0xffff800020e09c48 (422342) exclusive rrwlock inode r = 0 (0xfffffd8064a2d2c0) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1358 #5 ffs_inode_alloc+0x1e2 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8064a2d5f0) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3036 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 Process 770 (sshd) thread 0xffff800020e40390 (423427) exclusive rwlock netlock r = 0 (0xffffffff826ebbd8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:543 #3 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #4 sys_write+0x83 sys/kern/sys_generic.c:285 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9519 6424K 7579K 78643K 12324 0 pcb 13 8K 8K 78643K 94 0 rtable 109 3K 3K 78643K 612 0 ifaddr 74 14K 15K 78643K 142 0 counters 43 33K 34K 78643K 59 0 ioctlops 0 0K 4K 78643K 1509 0 iov 0 0K 16K 78643K 36 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 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 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 54 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 515 0 sigio 0 0K 0K 78643K 6 0 proc 62 63K 83K 78643K 495 0 subproc 32 2K 2K 78643K 53 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 30 0 in_multi 59 3K 3K 78643K 158 0 ether_multi 1 0K 0K 78643K 18 0 mrt 0 0K 0K 78643K 14 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 231 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 126 55K 55K 78643K 2579 0 UVM aobj 15 2K 2K 78643K 19 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 57 0 NDP 12 0K 0K 78643K 35 0 temp 133 3870K 3936K 78643K 15077 0 kqueue 3 4K 12K 78643K 21 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 12 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 164 0 162 1 0 1 1 0 8 0 rtentry 112 85 0 39 2 0 2 2 0 8 0 unpcb 120 337 0 327 1 0 1 1 0 8 0 syncache 264 11 0 11 2 2 0 1 0 8 0 tcpqe 32 427 0 427 1 1 0 1 0 8 0 tcpcb 544 336 0 330 2 0 2 2 0 8 1 inpcb 296 648 0 639 3 1 2 2 0 8 1 rttmr 72 4 0 4 2 1 1 1 0 8 1 nd6 48 24 0 16 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 0 1 1 0 482 1 pffrnode 88 1 0 1 1 0 1 1 0 8 1 pffrent 40 47 0 47 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 150 0 11 1 0 1 1 0 8 0 pfstkey 112 150 0 11 4 0 4 4 0 8 0 pfstate 328 150 0 11 12 0 12 12 0 8 0 pfrule 1360 23 0 17 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 282 0 78 14 1 13 14 0 8 0 art_table 32 283 0 78 2 0 2 2 0 8 0 art_node 16 84 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 0 1 0 1 1 0 8 0 semapl 112 52 0 42 1 0 1 1 0 8 0 shmpl 112 16 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2017 0 613 89 0 89 89 0 8 0 ffsino 272 2017 0 613 95 0 95 95 0 8 0 nchpl 144 2992 0 1395 60 0 60 60 0 8 0 uvmvnodes 72 2455 0 0 45 0 45 45 0 8 0 vnodes 208 2455 0 0 130 0 130 130 0 8 0 namei 1024 8152 0 8151 1 0 1 1 0 8 0 percpumem 16 40 0 8 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 8252 0 8252 5 4 1 4 0 8 1 plimitpl 152 48 0 40 1 0 1 1 0 8 0 sigapl 424 728 0 696 4 0 4 4 0 8 0 futexpl 56 6596 0 6595 1 0 1 1 0 8 0 knotepl 112 94 0 75 1 0 1 1 0 8 0 kqueuepl 144 64 0 60 1 0 1 1 0 8 0 pipepl 304 155 0 145 4 2 2 2 0 8 1 fdescpl 496 712 0 696 3 0 3 3 0 8 0 filepl 152 4215 0 4114 7 1 6 6 0 8 2 lockfpl 104 79 0 78 1 0 1 1 0 8 0 lockfspl 48 34 0 33 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 326 0 316 1 0 1 1 0 8 0 zombiepl 144 696 0 696 1 0 1 1 0 8 1 processpl 992 728 0 696 5 0 5 5 0 8 0 procpl 624 1758 0 1715 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 400 1153 0 1132 5 1 4 4 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 238 0 0 29 0 29 29 0 8 0 mtagpl 96 89 0 0 3 0 3 3 0 8 0 mbufpl 256 384 0 0 23 0 23 23 0 8 0 bufpl 280 4014 0 132 278 0 278 278 0 8 0 anonpl 16 73297 0 56824 68 1 67 67 0 124 0 amapchunkpl 152 3617 0 3471 8 1 7 8 0 158 0 amappl16 192 2760 0 1864 46 0 46 46 0 8 1 amappl15 184 240 0 238 2 1 1 1 0 8 0 amappl14 176 29 0 22 1 0 1 1 0 8 0 amappl13 168 43 0 39 1 0 1 1 0 8 0 amappl12 160 110 0 104 2 1 1 1 0 8 0 amappl11 152 71 0 56 1 0 1 1 0 8 0 amappl10 144 383 0 376 1 0 1 1 0 8 0 amappl9 136 384 0 383 1 0 1 1 0 8 0 amappl8 128 373 0 339 2 0 2 2 0 8 0 amappl7 120 490 0 476 1 0 1 1 0 8 0 amappl6 112 24 0 21 1 0 1 1 0 8 0 amappl5 104 707 0 691 1 0 1 1 0 8 0 amappl4 96 501 0 473 1 0 1 1 0 8 0 amappl3 88 124 0 117 1 0 1 1 0 8 0 amappl2 80 4647 0 4579 2 0 2 2 0 8 0 amappl1 72 25282 0 24839 24 14 10 18 0 8 0 amappl 80 2025 0 1979 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 18 0 4 1 0 1 1 0 8 0 uaddrrnd 24 715 0 696 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 715 0 696 1 0 1 1 0 8 0 vmmpekpl 168 9234 0 9198 2 0 2 2 0 8 0 vmmpepl 168 93051 0 90981 133 25 108 124 0 357 17 vmsppl 368 714 0 696 2 0 2 2 0 8 0 pdppl 4096 1437 0 1395 6 0 6 6 0 8 0 pvpl 32 234455 0 214855 169 6 163 163 0 265 3 pmappl 232 714 0 696 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 283 0 5 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827a2ff0) 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(ffffffff828c8560) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828c8560,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800021eec0b0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800021eec0b0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800021eec0b0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd807ea1c370,11,ffffffff8246fc91,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd807ea1c370) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd807ea1c370) at bwrite+0x215 sys/kern/vfs_bio.c:771 ffs_update(fffffd8064a2d228,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800021eec3f0) at ufs_mkdir+0x665 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd8064552420,ffff800021eec550,ffff800021eec5a0,ffff800021eec480) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 end trace frame: 0xffff800021eec640, count: 0 ddb{0}> trace x86_ipi_db(ffffffff827a2ff0) 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(ffffffff828c8560) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828c8560) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828c8560,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800021eec0b0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800021eec0b0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800021eec0b0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd807ea1c370,11,ffffffff8246fc91,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd807ea1c370) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd807ea1c370) at bwrite+0x215 sys/kern/vfs_bio.c:771 ffs_update(fffffd8064a2d228,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800021eec3f0) at ufs_mkdir+0x665 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd8064552420,ffff800021eec550,ffff800021eec5a0,ffff800021eec480) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff800020e09c48,ffffff9c,7f7fffffb050,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 syscall(ffff800021eec720) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021eec720) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffffb0c0, count: -17 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(ffffffff8241437d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada320) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada320) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806ead5c88,9,fffffd807f01e300,0,0,ffff800020e40390) at tcp_usrreq+0xa55 sosend(fffffd806ead5c88,0,ffff800020e04738,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40390,4,ffff800020e04738,0,ffff800020e04820) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40390,ffff800020e047d0,ffff800020e04820) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e048a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e048a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8241437d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada320) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada320) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806ead5c88,9,fffffd807f01e300,0,0,ffff800020e40390) at tcp_usrreq+0xa55 sosend(fffffd806ead5c88,0,ffff800020e04738,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40390,4,ffff800020e04738,0,ffff800020e04820) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40390,ffff800020e047d0,ffff800020e04820) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e048a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e048a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: -9