panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 343147 55688 0 0x2 0x4000080 0 syz-fuzzer *112348 17042 0 0x12 0 1 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82417c1c) 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(fffffd806eaefc88,9,fffffd806d79b700,0,0,ffff800020e40870) at tcp_usrreq+0xa55 sosend(fffffd806eaefc88,0,ffff800020e04af8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40870,4,ffff800020e04af8,0,ffff800020e04be0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40870,ffff800020e04b90,ffff800020e04be0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04c60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04c60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7770, 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(ffffffff82417c1c) 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(fffffd806eaefc88,9,fffffd806d79b700,0,0,ffff800020e40870) at tcp_usrreq+0xa55 sosend(fffffd806eaefc88,0,ffff800020e04af8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40870,4,ffff800020e04af8,0,ffff800020e04be0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40870,ffff800020e04b90,ffff800020e04be0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04c60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04c60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7770, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e04660 rbx 0xffff800020e04710 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81e9c95f kprintf+0x16f r9 0x1 r10 0x2 r11 0xbae156f173df7317 r12 0x3000000008 r13 0xffff800020e04670 r14 0x100 r15 0x1 rip 0xffffffff815638a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e04650 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=112348 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e3f4f0,0xffff800020e3f770 process=0xffff8000ffffe3f8 user=0xffff800020dff000, vmspace=0xfffffd806e905008 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55886 283976 0 0 3 0x14280 nfsidl nfsio 99065 43446 0 0 3 0x14280 nfsidl nfsio 28610 78646 0 0 3 0x14280 nfsidl nfsio 67230 274595 0 0 3 0x14280 nfsidl nfsio 81197 46445 0 0 3 0x14280 nfsidl nfsio 95012 131639 0 0 3 0x14280 nfsidl nfsio 32746 157341 0 0 3 0x14280 nfsidl nfsio 94102 436019 0 0 3 0x14280 nfsidl nfsio 11010 376172 0 0 3 0x14280 nfsidl nfsio 2698 97948 0 0 3 0x14280 nfsidl nfsio 33470 405308 0 0 3 0x14280 nfsidl nfsio 22890 151394 0 0 3 0x14280 nfsidl nfsio 22365 127589 0 0 3 0x14280 nfsidl nfsio 47655 452501 0 0 3 0x14280 nfsidl nfsio 33465 4170 0 0 3 0x14280 nfsidl nfsio 87170 326560 0 0 3 0x14280 nfsidl nfsio 11064 388547 0 0 3 0x14280 nfsidl nfsio 77932 462810 0 0 3 0x14280 nfsidl nfsio 13481 80914 0 0 3 0x14280 nfsidl nfsio 95038 358894 0 0 3 0x14280 nfsidl nfsio 98045 456786 0 0 3 0x14200 bored sosplice 68538 112712 55688 0 3 0x82 piperd syz-executor.1 78535 199644 55688 0 2 0x2 syz-executor.0 55688 212573 49505 0 3 0x82 thrsleep syz-fuzzer 55688 374946 49505 0 3 0x4000082 nanosleep syz-fuzzer 55688 452673 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 343147 49505 0 7 0x4000082 syz-fuzzer 55688 155482 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 68200 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 347462 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 515849 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 442038 49505 0 3 0x4000082 thrsleep syz-fuzzer 55688 475168 49505 0 2 0x4000002 syz-fuzzer 49505 340546 17042 0 3 0x10008a pause ksh *17042 112348 44138 0 7 0x12 sshd 30653 334561 1 0 3 0x100083 ttyin getty 44138 326770 1 0 3 0x80 select sshd 88540 36469 48569 74 3 0x100092 bpf pflogd 48569 509098 1 0 3 0x80 netio pflogd 5205 260501 73230 73 3 0x100090 kqread syslogd 73230 173412 1 0 3 0x100082 netio syslogd 94306 346122 1 77 3 0x100090 poll dhclient 84206 31199 1 0 3 0x80 poll dhclient 74167 35212 0 0 3 0x14200 bored smr 6135 120604 0 0 2 0x14200 zerothread 98949 386942 0 0 3 0x14200 aiodoned aiodoned 25371 109321 0 0 3 0x14200 syncer update 76088 205760 0 0 3 0x14200 cleaner cleaner 92699 142041 0 0 3 0x14200 reaper reaper 35955 82906 0 0 3 0x14200 pgdaemon pagedaemon 38513 204384 0 0 3 0x14200 bored crynlk 19368 66003 0 0 3 0x14200 bored crypto 25040 463944 0 0 3 0x40014200 acpi0 acpi0 52382 357981 0 0 3 0x40014200 idle1 71710 41329 0 0 3 0x14200 bored softnet 65537 385296 0 0 3 0x14200 bored systqmp 12646 265207 0 0 3 0x14200 bored systq 23597 160410 0 0 3 0x40014200 bored softclock 10421 158744 0 0 3 0x40014200 idle0 1 474346 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 78535 (syz-executor.0) thread 0xffff800020ddd5f8 (199644) exclusive rrwlock inode r = 0 (0xfffffd806e6ce700) #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 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b1fd6f8) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1853 #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 17042 (sshd) thread 0xffff800020e40870 (112348) exclusive rwlock netlock r = 0 (0xffffffff82787348) #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 9511 6476K 7439K 78643K 12943 0 pcb 13 8K 8K 78643K 436 0 rtable 83 2K 3K 78643K 972 0 ifaddr 66 13K 14K 78643K 102 0 counters 43 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1588 0 iov 0 0K 12K 78643K 46 0 mount 1 1K 1K 78643K 1 0 vnodes 1226 77K 77K 78643K 1773 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 85 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 852 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 95K 78643K 464 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 28 0 in_multi 45 2K 2K 78643K 138 0 ether_multi 1 0K 0K 78643K 3 0 mrt 0 0K 0K 78643K 435 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 216 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 128 71K 75K 78643K 3324 0 UVM aobj 17 6K 6K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 10 0K 0K 78643K 31 0 temp 104 3865K 3929K 78643K 4404 0 kqueue 3 4K 12K 78643K 47 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 34 0 32 1 0 1 1 0 8 0 rtentry 112 295 0 262 2 0 2 2 0 8 0 unpcb 120 393 0 383 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 sackhl 24 3 0 3 1 1 0 1 0 8 0 tcpqe 32 204 0 204 1 1 0 1 0 8 0 tcpcb 544 89 0 85 1 0 1 1 0 8 0 inpcb 296 1127 0 1120 3 1 2 2 0 8 1 rttmr 72 212 0 212 2 1 1 1 0 8 1 nd6 48 27 0 22 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 1 0 1 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 pfstitem 24 234 0 161 2 0 2 2 0 8 0 pfstkey 112 234 0 161 7 0 7 7 0 8 0 pfstate 328 234 0 161 19 2 17 19 0 8 5 pfrule 1360 23 0 20 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 389 0 244 13 0 13 13 0 8 2 art_table 32 390 0 244 2 0 2 2 0 8 0 art_node 16 294 0 266 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 2 1 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 17 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2351 0 947 90 2 88 89 0 8 0 ffsino 272 2351 0 947 95 1 94 95 0 8 0 nchpl 144 4379 0 2771 60 0 60 60 0 8 0 uvmvnodes 72 2904 0 0 53 0 53 53 0 8 0 vnodes 208 2904 0 0 153 0 153 153 0 8 0 namei 1024 12496 0 12496 1 0 1 1 0 8 1 percpumem 16 34 0 2 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 3 1 0 1 1 0 8 0 scxspl 192 10495 0 10495 10 9 1 7 0 8 1 plimitpl 152 36 0 28 1 0 1 1 0 8 0 sigapl 424 1088 0 1037 6 0 6 6 0 8 0 futexpl 56 15030 0 15030 1 0 1 1 0 8 1 knotepl 112 130 0 111 1 0 1 1 0 8 0 kqueuepl 144 342 0 337 1 0 1 1 0 8 0 pipepl 304 137 0 127 3 2 1 2 0 8 0 fdescpl 496 1052 0 1037 3 0 3 3 0 8 0 filepl 152 7843 0 7743 5 0 5 5 0 8 1 lockfpl 104 125 0 124 1 0 1 1 0 8 0 lockfspl 48 39 0 38 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 30 0 19 1 0 1 1 0 8 0 ucredpl 96 1542 0 1533 1 0 1 1 0 8 0 zombiepl 144 1037 0 1037 1 0 1 1 0 8 1 processpl 992 1088 0 1037 7 0 7 7 0 8 0 procpl 624 2562 0 2502 6 0 6 6 0 8 1 sosppl 128 15 0 15 2 1 1 1 0 8 1 sockpl 400 1557 0 1538 3 0 3 3 0 8 1 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 171 0 0 21 0 21 21 0 8 0 mtagpl 96 38 0 0 1 0 1 1 0 8 0 mbufpl 256 294 0 0 15 0 15 15 0 8 0 bufpl 280 4489 0 133 312 0 312 312 0 8 0 anonpl 16 100719 0 84714 80 15 65 74 0 124 0 amapchunkpl 152 5323 0 5187 25 8 17 20 0 158 10 amappl16 192 4522 0 3657 54 10 44 50 0 8 0 amappl15 184 3 0 1 1 0 1 1 0 8 0 amappl14 176 34 0 29 1 0 1 1 0 8 0 amappl13 168 30 0 26 1 0 1 1 0 8 0 amappl12 160 726 0 725 2 1 1 1 0 8 0 amappl11 152 67 0 51 1 0 1 1 0 8 0 amappl10 144 21 0 16 1 0 1 1 0 8 0 amappl9 136 484 0 482 1 0 1 1 0 8 0 amappl8 128 452 0 412 2 0 2 2 0 8 0 amappl7 120 116 0 105 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 1685 0 1670 1 0 1 1 0 8 0 amappl4 96 495 0 465 1 0 1 1 0 8 0 amappl3 88 116 0 109 1 0 1 1 0 8 0 amappl2 80 7474 0 7412 2 0 2 2 0 8 0 amappl1 72 37465 0 37037 23 13 10 18 0 8 0 amappl 80 2791 0 2745 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 19 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1060 0 1040 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1060 0 1040 1 0 1 1 0 8 0 vmmpekpl 168 10729 0 10689 2 0 2 2 0 8 0 vmmpepl 168 137364 0 135415 128 36 92 117 0 357 1 vmsppl 368 1059 0 1040 2 0 2 2 0 8 0 pdppl 4096 2127 0 2085 6 0 6 6 0 8 0 pvpl 32 329980 0 310796 189 24 165 178 0 265 8 pmappl 232 1059 0 1040 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 265 0 6 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82783ff0) 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(ffffffff82925f10) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82925f10) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82925f10,2) 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(ffff800020e88060,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e88060,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e88060,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806e8f5d80,118,ffffffff8246172e,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 kqueue_sleep(fffffd806e8f5d80,0) at kqueue_sleep+0x1a0 sys/kern/kern_event.c:885 kqueue_scan(fffffd806e8f5d80,40,c00004d698,0,ffff800020e40ae0,ffff800020e8853c) at kqueue_scan+0x2b6 sys/kern/kern_event.c:928 sys_kevent(ffff800020e40ae0,ffff800020e885b0,ffff800020e88600) at sys_kevent+0x464 sys/kern/kern_event.c:640 syscall(ffff800020e88680) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e88680) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00004de98, count: 1 ddb{0}> trace x86_ipi_db(ffffffff82783ff0) 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(ffffffff82925f10) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82925f10) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82925f10,2) 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(ffff800020e88060,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e88060,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e88060,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806e8f5d80,118,ffffffff8246172e,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 kqueue_sleep(fffffd806e8f5d80,0) at kqueue_sleep+0x1a0 sys/kern/kern_event.c:885 kqueue_scan(fffffd806e8f5d80,40,c00004d698,0,ffff800020e40ae0,ffff800020e8853c) at kqueue_scan+0x2b6 sys/kern/kern_event.c:928 sys_kevent(ffff800020e40ae0,ffff800020e885b0,ffff800020e88600) at sys_kevent+0x464 sys/kern/kern_event.c:640 syscall(ffff800020e88680) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e88680) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00004de98, count: -14 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(ffffffff82417c1c) 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(fffffd806eaefc88,9,fffffd806d79b700,0,0,ffff800020e40870) at tcp_usrreq+0xa55 sosend(fffffd806eaefc88,0,ffff800020e04af8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40870,4,ffff800020e04af8,0,ffff800020e04be0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40870,ffff800020e04b90,ffff800020e04be0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04c60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04c60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7770, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82417c1c) 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(fffffd806eaefc88,9,fffffd806d79b700,0,0,ffff800020e40870) at tcp_usrreq+0xa55 sosend(fffffd806eaefc88,0,ffff800020e04af8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40870,4,ffff800020e04af8,0,ffff800020e04be0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40870,ffff800020e04b90,ffff800020e04be0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04c60) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04c60) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7770, count: -9