panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 1119 42065 0 0x2 0 0 syz-executor.0 *189162 42308 0 0x2 0x4000000 1 syz-fuzzer db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8241850d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9000) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9000) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eae0e18,9,fffffd8068df8a00,0,0,ffff800020ddd118) at tcp_usrreq+0xa55 sosend(fffffd806eae0e18,0,ffff800020ea58a8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddd118,3,ffff800020ea58a8,0,ffff800020ea5990) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddd118,ffff800020ea5940,ffff800020ea5990) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea5a10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea5a10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0003a73c8, 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(ffffffff8241850d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9000) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9000) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eae0e18,9,fffffd8068df8a00,0,0,ffff800020ddd118) at tcp_usrreq+0xa55 sosend(fffffd806eae0e18,0,ffff800020ea58a8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddd118,3,ffff800020ea58a8,0,ffff800020ea5990) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddd118,ffff800020ea5940,ffff800020ea5990) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea5a10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea5a10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0003a73c8, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020ea5410 rbx 0xffff800020ea54c0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81d7bbff kprintf+0x16f r9 0x1 r10 0x2 r11 0x8ec1902e24d9e852 r12 0x3000000008 r13 0xffff800020ea5420 r14 0x100 r15 0x1 rip 0xffffffff81e2db58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020ea5400 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-fuzzer) pid=189162 stat=onproc flags process=2 proc=4000000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ddc9c8,0xffff800020ddc288 process=0xffff800020e38f78 user=0xffff800020ea0000, vmspace=0xfffffd806e8f1a18 estcpu=0, cpticks=1, pctcpu=0.95 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68771 437457 60146 0 2 0 syz-executor.1 68771 141586 60146 0 3 0x4000080 fsleep syz-executor.1 68771 385483 60146 0 2 0x4000000 syz-executor.1 999 303404 0 0 3 0x14280 nfsidl nfsio 95598 38974 0 0 3 0x14280 nfsidl nfsio 53604 9217 0 0 3 0x14280 nfsidl nfsio 30489 1863 0 0 3 0x14280 nfsidl nfsio 31460 135136 0 0 3 0x14280 nfsidl nfsio 7559 492136 0 0 3 0x14280 nfsidl nfsio 96253 486745 0 0 3 0x14280 nfsidl nfsio 63751 423056 0 0 3 0x14280 nfsidl nfsio 20070 454338 0 0 3 0x14280 nfsidl nfsio 38012 15242 0 0 3 0x14280 nfsidl nfsio 22425 41516 0 0 3 0x14280 nfsidl nfsio 71965 421933 0 0 3 0x14280 nfsidl nfsio 15580 118794 0 0 3 0x14280 nfsidl nfsio 71596 422206 0 0 3 0x14280 nfsidl nfsio 46471 362596 0 0 3 0x14280 nfsidl nfsio 50352 412944 0 0 3 0x14280 nfsidl nfsio 61861 32499 0 0 3 0x14280 nfsidl nfsio 79510 509370 0 0 3 0x14280 nfsidl nfsio 93813 405654 0 0 3 0x14280 nfsidl nfsio 97602 211975 0 0 3 0x14280 nfsidl nfsio 77355 199378 0 0 3 0x14200 bored sosplice 60146 198650 42308 0 2 0x2 syz-executor.1 42065 1119 42308 0 7 0x2 syz-executor.0 42308 473736 83143 0 3 0x82 thrsleep syz-fuzzer 42308 210716 83143 0 3 0x4000082 nanosleep syz-fuzzer 42308 310422 83143 0 3 0x4000082 thrsleep syz-fuzzer 42308 149241 83143 0 3 0x4000082 thrsleep syz-fuzzer 42308 468002 83143 0 3 0x4000082 thrsleep syz-fuzzer 42308 480371 83143 0 3 0x4000082 thrsleep syz-fuzzer 42308 212668 83143 0 3 0x4000082 thrsleep syz-fuzzer *42308 189162 83143 0 7 0x4000002 syz-fuzzer 42308 225005 83143 0 3 0x4000082 nanosleep syz-fuzzer 42308 409832 83143 0 3 0x4000082 kqread syz-fuzzer 83143 61604 47600 0 3 0x10008a pause ksh 47600 363996 29116 0 3 0x92 select sshd 5726 14391 1 0 3 0x100083 ttyin getty 29116 351894 1 0 3 0x80 select sshd 54062 514319 88771 74 3 0x100092 bpf pflogd 88771 144997 1 0 3 0x80 netio pflogd 11497 508137 92616 73 3 0x100090 kqread syslogd 92616 44421 1 0 3 0x100082 netio syslogd 17205 284581 1 77 3 0x100090 poll dhclient 22415 491403 1 0 3 0x80 poll dhclient 68054 492152 0 0 3 0x14200 bored smr 31706 68821 0 0 2 0x14200 zerothread 79857 461863 0 0 3 0x14200 aiodoned aiodoned 74317 476870 0 0 3 0x14200 syncer update 19176 190747 0 0 3 0x14200 cleaner cleaner 36168 294215 0 0 3 0x14200 reaper reaper 21166 148598 0 0 3 0x14200 pgdaemon pagedaemon 31870 353537 0 0 3 0x14200 bored crynlk 76728 352328 0 0 3 0x14200 bored crypto 82879 51277 0 0 3 0x40014200 acpi0 acpi0 69368 374395 0 0 3 0x40014200 idle1 39299 318491 0 0 3 0x14200 bored softnet 86431 438172 0 0 3 0x14200 bored systqmp 51345 50659 0 0 3 0x14200 bored systq 34033 471951 0 0 3 0x40014200 bored softclock 51766 451703 0 0 3 0x40014200 idle0 1 480114 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 42065 (syz-executor.0) thread 0xffff800020dddd48 (1119) exclusive rrwlock inode r = 0 (0xfffffd806447cf80) #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 (0xfffffd806b1ff3c8) #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 42308 (syz-fuzzer) thread 0xffff800020ddd118 (189162) exclusive rwlock netlock r = 0 (0xffffffff82757548) #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 9517 6486K 7065K 78643K 11230 0 pcb 13 8K 8K 78643K 51 0 rtable 103 4K 7K 78643K 345 0 ifaddr 66 13K 14K 78643K 116 0 counters 43 33K 34K 78643K 53 0 ioctlops 0 0K 4K 78643K 1490 0 iov 0 0K 12K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1230 77K 78K 78643K 1387 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 10 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 197 0 sigio 0 0K 0K 78643K 1 0 proc 61 63K 95K 78643K 457 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 11 0 in_multi 32 2K 2K 78643K 77 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 7 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 230 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 124 23K 23K 78643K 1576 0 UVM aobj 12 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 32 0 NDP 12 0K 0K 78643K 27 0 temp 99 3859K 3939K 78643K 4714 0 kqueue 4 6K 10K 78643K 17 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 8 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 62 0 22 2 0 2 2 0 8 0 unpcb 120 74 0 64 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 75 0 75 1 1 0 1 0 8 0 tcpcb 544 65 0 61 1 0 1 1 0 8 0 inpcb 296 239 0 230 2 0 2 2 0 8 1 rttmr 72 3 0 3 1 0 1 1 0 8 1 nd6 48 12 0 10 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 0 1 1 0 8 1 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 3 0 3 1 0 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 pfrktable 1344 24 0 24 1 0 1 1 0 8 1 pfstitem 24 19 0 2 1 0 1 1 0 8 0 pfstkey 112 21 0 4 1 0 1 1 0 8 0 pfstate 328 20 0 3 2 0 2 2 0 8 0 pfrule 1360 26 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 238 0 80 13 0 13 13 0 8 0 art_table 32 239 0 80 2 0 2 2 0 8 0 art_node 16 61 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 2 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 10 0 2 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1682 0 276 89 0 89 89 0 8 0 ffsino 272 1682 0 276 95 0 95 95 0 8 0 nchpl 144 2159 0 550 60 0 60 60 0 8 0 uvmvnodes 72 1866 0 0 34 0 34 34 0 8 0 vnodes 208 1866 0 0 99 0 99 99 0 8 0 namei 1024 5887 0 5886 1 0 1 1 0 8 0 percpumem 16 37 0 5 1 0 1 1 0 8 0 vmpool 560 2 0 2 1 1 0 1 0 8 0 pfiaddrpl 120 6 0 6 1 1 0 1 0 8 0 scxspl 192 6691 0 6691 5 2 3 4 0 8 3 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 433 0 381 6 0 6 6 0 8 0 futexpl 56 2825 0 2824 1 0 1 1 0 8 0 knotepl 112 77 0 58 1 0 1 1 0 8 0 kqueuepl 144 31 0 28 1 0 1 1 0 8 0 pipepl 304 99 0 87 2 0 2 2 0 8 1 fdescpl 496 397 0 381 3 0 3 3 0 8 0 filepl 152 2227 0 2120 5 0 5 5 0 8 0 lockfpl 104 80 0 78 1 0 1 1 0 8 0 lockfspl 48 33 0 31 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 190 0 181 1 0 1 1 0 8 0 zombiepl 144 381 0 381 1 0 1 1 0 8 1 processpl 984 433 0 381 7 0 7 7 0 8 0 procpl 624 826 0 763 6 0 6 6 0 8 1 sockpl 400 348 0 329 3 0 3 3 0 8 1 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 194 0 0 24 0 24 24 0 8 0 mtagpl 96 21 0 0 1 0 1 1 0 8 0 mbufpl 256 198 0 0 12 0 12 12 0 8 0 bufpl 280 4015 0 135 278 0 278 278 0 8 0 anonpl 16 54950 0 38400 84 1 83 83 0 124 16 amapchunkpl 152 2025 0 1879 8 1 7 8 0 158 0 amappl16 192 1848 0 946 57 4 53 57 0 8 7 amappl15 184 86 0 83 1 0 1 1 0 8 0 amappl14 176 27 0 22 1 0 1 1 0 8 0 amappl13 168 108 0 104 1 0 1 1 0 8 0 amappl12 160 87 0 84 2 1 1 1 0 8 0 amappl11 152 55 0 40 1 0 1 1 0 8 0 amappl10 144 108 0 101 1 0 1 1 0 8 0 amappl9 136 393 0 391 1 0 1 1 0 8 0 amappl8 128 359 0 320 2 0 2 2 0 8 0 amappl7 120 117 0 105 1 0 1 1 0 8 0 amappl6 112 27 0 20 1 0 1 1 0 8 0 amappl5 104 300 0 282 1 0 1 1 0 8 0 amappl4 96 489 0 462 1 0 1 1 0 8 0 amappl3 88 111 0 106 1 0 1 1 0 8 0 amappl2 80 2401 0 2327 2 0 2 2 0 8 0 amappl1 72 18565 0 18107 23 13 10 18 0 8 0 amappl 80 1049 0 1006 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 399 0 383 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 399 0 383 1 0 1 1 0 8 0 vmmpekpl 168 7147 0 7111 2 0 2 2 0 8 0 vmmpepl 168 55290 0 53206 121 9 112 117 0 357 19 vmsppl 368 398 0 383 2 0 2 2 0 8 0 pdppl 4096 805 0 766 6 0 6 6 0 8 0 pvpl 32 177516 0 157491 198 0 198 198 0 265 36 pmappl 232 398 0 383 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 263 0 3 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82751ff0) 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(ffffffff8292a830) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8292a830) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8292a830,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(ffff800020ee1580,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ee1580,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ee1580,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806f490028,11,ffffffff82470796,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806f490028) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806f490028) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ffs_update(fffffd806b1ff330,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800020ee18c0) at ufs_mkdir+0x42e sys/ufs/ufs/ufs_vnops.c:1197 VOP_MKDIR(fffffd80686b88f0,ffff800020ee1a20,ffff800020ee1a70,ffff800020ee1950) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 end trace frame: 0xffff800020ee1b10, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82751ff0) 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(ffffffff8292a830) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8292a830) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8292a830,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(ffff800020ee1580,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020ee1580,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020ee1580,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806f490028,11,ffffffff82470796,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806f490028) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd806f490028) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 ffs_update(fffffd806b1ff330,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800020ee18c0) at ufs_mkdir+0x42e sys/ufs/ufs/ufs_vnops.c:1197 VOP_MKDIR(fffffd80686b88f0,ffff800020ee1a20,ffff800020ee1a70,ffff800020ee1950) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff800020dddd48,ffffff9c,7f7ffffee970,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 syscall(ffff800020ee1bf0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ee1bf0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffee9e0, 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(ffffffff8241850d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9000) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9000) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eae0e18,9,fffffd8068df8a00,0,0,ffff800020ddd118) at tcp_usrreq+0xa55 sosend(fffffd806eae0e18,0,ffff800020ea58a8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddd118,3,ffff800020ea58a8,0,ffff800020ea5990) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddd118,ffff800020ea5940,ffff800020ea5990) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea5a10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea5a10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0003a73c8, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8241850d) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9000) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9000) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eae0e18,9,fffffd8068df8a00,0,0,ffff800020ddd118) at tcp_usrreq+0xa55 sosend(fffffd806eae0e18,0,ffff800020ea58a8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020ddd118,3,ffff800020ea58a8,0,ffff800020ea5990) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ddd118,ffff800020ea5940,ffff800020ea5990) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ea5a10) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ea5a10) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0003a73c8, count: -9