panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 415425 60996 0 0x2 0 0 syz-executor.0 *116367 58046 0 0x12 0 1 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82418bdf) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada540) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada540) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaecaf8,9,fffffd806d62dc00,0,0,ffff800020e41ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaecaf8,0,ffff800020e63228,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e41ae0,4,ffff800020e63228,0,ffff800020e63310) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e41ae0,ffff800020e632c0,ffff800020e63310) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e63390) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e63390) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc6760, 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(ffffffff82418bdf) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada540) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada540) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaecaf8,9,fffffd806d62dc00,0,0,ffff800020e41ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaecaf8,0,ffff800020e63228,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e41ae0,4,ffff800020e63228,0,ffff800020e63310) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e41ae0,ffff800020e632c0,ffff800020e63310) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e63390) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e63390) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc6760, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e62d90 rbx 0xffff800020e62e40 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81e4919f kprintf+0x16f r9 0x1 r10 0x2 r11 0xa0cbf1404f22d480 r12 0x3000000008 r13 0xffff800020e62da0 r14 0x100 r15 0x1 rip 0xffffffff82098318 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e62d80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=116367 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e40c40,0xffff800020e40770 process=0xffff800020e383f0 user=0xffff800020e5e000, vmspace=0xfffffd806e8fd008 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78119 128181 56814 0 2 0 syz-executor.1 78119 445729 56814 0 3 0x4000080 ttyout syz-executor.1 78119 10290 56814 0 3 0x4000080 ttyout syz-executor.1 78119 522360 56814 0 3 0x4000080 fsleep syz-executor.1 56814 247402 4281 0 3 0x82 nanosleep syz-executor.1 64051 178420 0 0 3 0x14200 bored sosplice 96272 453181 0 0 3 0x14200 acct acct 60996 415425 4281 0 7 0x2 syz-executor.0 4281 168715 98212 0 3 0x82 kqread syz-fuzzer 4281 431753 98212 0 3 0x4000082 nanosleep syz-fuzzer 4281 252533 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 24932 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 332321 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 254738 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 78683 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 232433 98212 0 3 0x4000082 thrsleep syz-fuzzer 4281 485282 98212 0 2 0x4000002 syz-fuzzer 4281 341848 98212 0 3 0x4000082 thrsleep syz-fuzzer 98212 485357 58046 0 3 0x10008a pause ksh *58046 116367 73188 0 7 0x12 sshd 30523 26667 1 0 3 0x100083 ttyin getty 73188 162241 1 0 3 0x80 select sshd 97412 170957 52226 74 3 0x100092 bpf pflogd 52226 199353 1 0 3 0x80 netio pflogd 75603 405931 50721 73 3 0x100090 kqread syslogd 50721 81346 1 0 3 0x100082 netio syslogd 75422 145153 1 77 3 0x100090 poll dhclient 13221 89934 1 0 3 0x80 poll dhclient 17984 181931 0 0 3 0x14200 bored smr 34426 403396 0 0 3 0x14200 pgzero zerothread 24351 201113 0 0 3 0x14200 aiodoned aiodoned 2902 20938 0 0 3 0x14200 syncer update 13403 184317 0 0 3 0x14200 cleaner cleaner 15245 329447 0 0 3 0x14200 reaper reaper 6958 179205 0 0 3 0x14200 pgdaemon pagedaemon 68645 423138 0 0 3 0x14200 bored crynlk 87936 88002 0 0 3 0x14200 bored crypto 58237 186840 0 0 3 0x40014200 acpi0 acpi0 94239 460441 0 0 3 0x40014200 idle1 55589 317964 0 0 3 0x14200 bored softnet 95503 229969 0 0 3 0x14200 bored systqmp 46743 402856 0 0 3 0x14200 bored systq 95933 431486 0 0 3 0x40014200 bored softclock 58654 91337 0 0 3 0x40014200 idle0 1 233329 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 60996 (syz-executor.0) thread 0xffff800020dddd48 (415425) exclusive rrwlock inode r = 0 (0xfffffd8072e01f88) #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 (0xfffffd806874c700) #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 58046 (sshd) thread 0xffff800020e41ae0 (116367) exclusive rwlock netlock r = 0 (0xffffffff826e5d18) #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 9545 6441K 6806K 78643K 11514 0 pcb 13 8K 8K 78643K 133 0 rtable 126 7K 10K 78643K 631 0 ifaddr 94 18K 19K 78643K 242 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 83 0 ioctlops 0 0K 4K 78643K 1605 0 iov 0 0K 16K 78643K 534 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1543 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 12 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 130 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 680 0 sigio 0 0K 0K 78643K 16 0 proc 63 63K 95K 78643K 529 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 38 0 in_multi 63 3K 3K 78643K 202 0 ether_multi 1 0K 0K 78643K 15 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 284 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 136 88K 88K 78643K 3339 0 UVM aobj 29 4K 4K 78643K 29 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 100 0 NDP 15 0K 0K 78643K 58 0 temp 126 3864K 3930K 78643K 12581 0 kqueue 3 4K 10K 78643K 31 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 10 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 113 0 68 2 0 2 2 0 8 0 unpcb 120 393 0 382 1 0 1 1 0 8 0 syncache 264 7 0 7 3 3 0 1 0 8 0 tcpqe 32 562 0 562 1 1 0 1 0 8 0 tcpcb 544 227 0 223 1 0 1 1 0 8 0 inpcb 296 764 0 757 14 13 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 35 0 25 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 3 0 3 2 2 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 1 0 1 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 55 0 49 3 2 1 2 0 8 0 pfstitem 24 19 0 17 1 0 1 1 0 8 0 pfstkey 112 19 0 17 1 0 1 1 0 8 0 pfstate 328 19 0 17 2 1 1 2 0 8 0 pfsrctr 152 21 0 21 1 1 0 1 0 8 0 pfrule 1360 31 0 23 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 560 0 260 19 0 19 19 0 8 0 art_table 32 561 0 260 3 0 3 3 0 8 0 art_node 16 110 0 69 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 16 1 0 1 1 0 8 0 semapl 112 128 0 118 1 0 1 1 0 8 0 shmpl 112 27 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2318 0 915 90 1 89 89 0 8 0 ffsino 272 2318 0 915 96 2 94 95 0 8 0 nchpl 144 3724 0 2127 60 0 60 60 0 8 0 uvmvnodes 72 2576 0 0 47 0 47 47 0 8 0 vnodes 208 2576 0 0 136 0 136 136 0 8 0 namei 1024 11698 0 11697 3 2 1 1 0 8 0 percpumem 16 52 0 20 1 0 1 1 0 8 0 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 17 0 13 1 0 1 1 0 8 0 scxspl 192 10127 0 10127 12 11 1 7 0 8 1 plimitpl 152 46 0 38 1 0 1 1 0 8 0 sigapl 424 894 0 861 4 0 4 4 0 8 0 futexpl 56 10545 0 10544 3 2 1 1 0 8 0 knotepl 112 99 0 80 1 0 1 1 0 8 0 kqueuepl 144 80 0 78 1 0 1 1 0 8 0 pipepl 304 158 0 148 3 2 1 2 0 8 0 fdescpl 496 877 0 861 3 0 3 3 0 8 0 filepl 152 6420 0 6315 7 2 5 5 0 8 0 lockfpl 104 163 0 162 1 0 1 1 0 8 0 lockfspl 48 59 0 58 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 1805 0 1796 1 0 1 1 0 8 0 zombiepl 144 861 0 861 3 2 1 1 0 8 1 processpl 984 894 0 861 6 1 5 5 0 8 0 procpl 624 2495 0 2450 4 0 4 4 0 8 0 sosppl 128 5 0 5 3 3 0 1 0 8 0 sockpl 400 1200 0 1180 7 4 3 4 0 8 0 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 6 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 227 0 0 27 1 26 27 0 8 0 mtagpl 96 53 0 0 2 0 2 2 0 8 0 mbufpl 256 393 0 0 16 0 16 16 0 8 0 bufpl 280 4569 0 134 317 0 317 317 0 8 0 anonpl 16 102955 0 85945 107 36 71 85 0 124 0 amapchunkpl 152 5689 0 5533 20 13 7 14 0 158 0 amappl16 192 4605 0 3683 78 31 47 58 0 8 0 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 23 0 19 1 0 1 1 0 8 0 amappl13 168 137 0 134 1 0 1 1 0 8 0 amappl12 160 15 0 11 2 1 1 1 0 8 0 amappl11 152 66 0 50 1 0 1 1 0 8 0 amappl10 144 26 0 21 1 0 1 1 0 8 0 amappl9 136 691 0 689 1 0 1 1 0 8 0 amappl8 128 703 0 663 2 0 2 2 0 8 0 amappl7 120 132 0 119 1 0 1 1 0 8 0 amappl6 112 27 0 21 1 0 1 1 0 8 0 amappl5 104 788 0 772 1 0 1 1 0 8 0 amappl4 96 611 0 578 1 0 1 1 0 8 0 amappl3 88 142 0 135 1 0 1 1 0 8 0 amappl2 80 5971 0 5902 2 0 2 2 0 8 0 amappl1 72 29266 0 28814 23 13 10 18 0 8 0 amappl 80 2774 0 2722 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 28 0 0 1 0 1 1 0 8 0 uaddrrnd 24 885 0 861 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 885 0 861 1 0 1 1 0 8 0 vmmpekpl 168 10305 0 10264 2 0 2 2 0 8 0 vmmpepl 168 114048 0 111934 175 77 98 125 0 357 1 vmsppl 368 884 0 861 3 0 3 3 0 8 0 pdppl 4096 1777 0 1730 9 2 7 7 0 8 0 pvpl 32 296605 0 276400 258 93 165 201 0 265 0 pmappl 232 884 0 861 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 288 0 15 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff827a9ff0) 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 __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 kd_curproc sys/dev/kcov.c:397 [inline] __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 sys/dev/kcov.c:135 __mp_lock(ffffffff829230c8) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829230c8) at __mp_lock+0x139 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829230c8,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(ffff800020ed5860,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ed5860,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ed5860,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806f05d258,11,ffffffff8246e23d,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806f05d258) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806f05d258) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ffs_update(fffffd806874c668,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800020ed5ba0) at ufs_mkdir+0x42e sys/ufs/ufs/ufs_vnops.c:1197 end trace frame: 0xffff800020ed5c10, count: 0 ddb{0}> trace x86_ipi_db(ffffffff827a9ff0) 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 __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 kd_curproc sys/dev/kcov.c:397 [inline] __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 trace_cmp sys/dev/kcov.c:104 [inline] __sanitizer_cov_trace_cmp4(d0908,d0907) at __sanitizer_cov_trace_cmp4+0x11 sys/dev/kcov.c:135 __mp_lock(ffffffff829230c8) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829230c8) at __mp_lock+0x139 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff829230c8,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(ffff800020ed5860,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ed5860,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ed5860,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806f05d258,11,ffffffff8246e23d,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806f05d258) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806f05d258) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ffs_update(fffffd806874c668,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800020ed5ba0) at ufs_mkdir+0x42e sys/ufs/ufs/ufs_vnops.c:1197 VOP_MKDIR(fffffd806875f5b0,ffff800020ed5d00,ffff800020ed5d50,ffff800020ed5c30) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff800020dddd48,ffffff9c,7f7ffffe27c0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 syscall(ffff800020ed5ed0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ed5ed0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe2830, count: -18 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(ffffffff82418bdf) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada540) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada540) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaecaf8,9,fffffd806d62dc00,0,0,ffff800020e41ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaecaf8,0,ffff800020e63228,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e41ae0,4,ffff800020e63228,0,ffff800020e63310) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e41ae0,ffff800020e632c0,ffff800020e63310) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e63390) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e63390) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc6760, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82418bdf) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada540) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada540) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaecaf8,9,fffffd806d62dc00,0,0,ffff800020e41ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaecaf8,0,ffff800020e63228,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e41ae0,4,ffff800020e63228,0,ffff800020e63310) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e41ae0,ffff800020e632c0,ffff800020e63310) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e63390) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e63390) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc6760, count: -9