panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 150982 56586 0 0x2 0 0 syz-executor.0 *471320 33682 0 0x12 0 1 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82410b37) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaef968,9,fffffd806d851900,0,0,ffff800020e4eeb0) at tcp_usrreq+0xa55 sosend(fffffd806eaef968,0,ffff800020e09ad8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e4eeb0,4,ffff800020e09ad8,0,ffff800020e09bc0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e4eeb0,ffff800020e09b70,ffff800020e09bc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e09c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e09c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc0b0, 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(ffffffff82410b37) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaef968,9,fffffd806d851900,0,0,ffff800020e4eeb0) at tcp_usrreq+0xa55 sosend(fffffd806eaef968,0,ffff800020e09ad8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e4eeb0,4,ffff800020e09ad8,0,ffff800020e09bc0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e4eeb0,ffff800020e09b70,ffff800020e09bc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e09c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e09c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc0b0, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e09640 rbx 0xffff800020e096f0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8169a45f kprintf+0x16f r9 0x1 r10 0x2 r11 0x547b537378a3be3a r12 0x3000000008 r13 0xffff800020e09650 r14 0x100 r15 0x1 rip 0xffffffff820e2a78 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e09630 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=471320 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e4e9d0,0xffff800020e4f3a0 process=0xffff800020e38018 user=0xffff800020e04000, vmspace=0xfffffd806e902008 estcpu=0, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56586 150982 40040 0 7 0x2 syz-executor.0 41049 296690 0 0 3 0x14200 acct acct 13336 178955 0 0 3 0x14200 bored sosplice 39305 468873 1 0 3 0x100083 ttyin getty 31643 51260 40040 0 3 0x82 piperd syz-executor.1 40040 464129 15735 0 3 0x82 thrsleep syz-fuzzer 40040 189716 15735 0 3 0x4000082 nanosleep syz-fuzzer 40040 335873 15735 0 3 0x4000082 kqread syz-fuzzer 40040 417158 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 428937 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 504374 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 288562 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 452239 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 162921 15735 0 3 0x4000082 thrsleep syz-fuzzer 40040 58165 15735 0 2 0x4000002 syz-fuzzer 15735 194323 33682 0 3 0x10008a pause ksh *33682 471320 21837 0 7 0x12 sshd 21837 523886 1 0 3 0x80 select sshd 82244 154187 4813 74 3 0x100092 bpf pflogd 4813 242516 1 0 3 0x80 netio pflogd 19596 284554 31198 73 3 0x100090 kqread syslogd 31198 49595 1 0 3 0x100082 netio syslogd 95217 70756 1 77 3 0x100090 poll dhclient 48529 285735 1 0 3 0x80 poll dhclient 74281 310984 0 0 3 0x14200 bored smr 88420 427739 0 0 3 0x14200 pgzero zerothread 37997 112830 0 0 3 0x14200 aiodoned aiodoned 41348 433073 0 0 3 0x14200 syncer update 90535 165422 0 0 3 0x14200 cleaner cleaner 56509 488060 0 0 3 0x14200 reaper reaper 61702 228263 0 0 3 0x14200 pgdaemon pagedaemon 9437 274036 0 0 3 0x14200 bored crynlk 95512 226731 0 0 3 0x14200 bored crypto 88353 241597 0 0 3 0x40014200 acpi0 acpi0 55932 65039 0 0 3 0x40014200 idle1 1646 508178 0 0 3 0x14200 bored softnet 54451 186268 0 0 3 0x14200 bored systqmp 19671 193745 0 0 3 0x14200 bored systq 56473 182756 0 0 3 0x40014200 bored softclock 39488 278166 0 0 3 0x40014200 idle0 1 211183 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 56586 (syz-executor.0) thread 0xffff800020e469d8 (150982) exclusive rrwlock inode r = 0 (0xfffffd8066bdcf80) #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 (0xfffffd8066bdc810) #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 33682 (sshd) thread 0xffff800020e4eeb0 (471320) exclusive rwlock netlock r = 0 (0xffffffff826eff88) #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 9544 6433K 6750K 78643K 11450 0 pcb 13 8K 8K 78643K 122 0 rtable 114 7K 10K 78643K 764 0 ifaddr 88 16K 17K 78643K 259 0 counters 43 33K 34K 78643K 79 0 ioctlops 0 0K 4K 78643K 1550 0 iov 0 0K 24K 78643K 83 0 mount 1 1K 1K 78643K 1 0 vnodes 1236 78K 78K 78643K 1659 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 127 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 781 0 sigio 0 0K 0K 78643K 40 0 proc 61 63K 95K 78643K 616 0 subproc 32 2K 3K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 406 0 in_multi 53 2K 3K 78643K 289 0 ether_multi 1 0K 0K 78643K 11 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 1K 78643K 325 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 55K 57K 78643K 3489 0 UVM aobj 36 2K 2K 78643K 43 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 87 0 NDP 15 0K 0K 78643K 60 0 temp 125 3864K 3928K 78643K 24514 0 kqueue 3 4K 16K 78643K 235 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 17 0 12 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 63 0 61 1 0 1 1 0 8 0 rtentry 112 156 0 117 2 0 2 2 0 8 0 unpcb 120 302 0 292 1 0 1 1 0 8 0 syncache 264 10 0 10 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 342 0 342 1 1 0 1 0 8 0 tcpcb 544 476 0 472 1 0 1 1 0 8 0 inpcb 296 1064 0 1057 13 12 1 2 0 8 0 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 44 0 41 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 3 0 3 2 2 0 1 0 482 0 pffrnode 88 3 0 3 2 2 0 1 0 8 0 pffrent 40 51 0 51 3 2 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 65 0 60 3 2 1 1 0 8 0 pfstitem 24 35 0 33 1 0 1 1 0 8 0 pfstkey 112 35 0 33 1 0 1 1 0 8 0 pfstate 328 35 0 33 3 2 1 3 0 8 0 pfrule 1360 42 0 29 3 1 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 749 0 542 21 7 14 14 0 8 0 art_table 32 751 0 542 2 0 2 2 0 8 0 art_node 16 155 0 118 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 121 0 111 1 0 1 1 0 8 0 shmpl 112 41 0 7 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2488 0 1082 89 0 89 89 0 8 0 ffsino 272 2488 0 1082 95 0 95 95 0 8 0 nchpl 144 3727 0 2130 60 0 60 60 0 8 0 uvmvnodes 72 2798 0 0 51 0 51 51 0 8 0 vnodes 208 2798 0 0 148 0 148 148 0 8 0 namei 1024 12461 0 12460 2 1 1 1 0 8 0 percpumem 16 50 0 18 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 19 0 16 3 2 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 11167 0 11167 13 10 3 7 0 8 3 plimitpl 152 63 0 55 1 0 1 1 0 8 0 sigapl 424 984 0 952 4 0 4 4 0 8 0 futexpl 56 12546 0 12546 2 1 1 1 0 8 1 knotepl 112 386 0 367 1 0 1 1 0 8 0 kqueuepl 144 409 0 405 1 0 1 1 0 8 0 pipelkpl 48 484 0 474 1 0 1 1 0 8 0 pipepl 120 968 0 949 1 0 1 1 0 8 0 fdescpl 496 967 0 952 3 0 3 3 0 8 0 filepl 152 7648 0 7548 5 0 5 5 0 8 0 lockfpl 104 149 0 148 1 0 1 1 0 8 0 lockfspl 48 60 0 59 1 0 1 1 0 8 0 sessionpl 112 24 0 13 1 0 1 1 0 8 0 pgrppl 48 28 0 17 1 0 1 1 0 8 0 ucredpl 96 2169 0 2160 1 0 1 1 0 8 0 zombiepl 144 952 0 952 1 0 1 1 0 8 1 processpl 984 984 0 952 5 0 5 5 0 8 0 procpl 624 2606 0 2565 5 1 4 5 0 8 0 srpgc 64 4 0 4 1 1 0 1 0 8 0 sosppl 128 4 0 4 2 2 0 1 0 8 0 sockpl 400 1433 0 1414 11 8 3 4 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 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 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 199 0 0 22 0 22 22 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 455 0 0 18 0 18 18 0 8 0 bufpl 280 5005 0 137 348 0 348 348 0 8 0 anonpl 16 98694 0 82132 72 3 69 70 0 124 0 amapchunkpl 152 6262 0 6111 30 16 14 20 0 158 7 amappl16 192 4031 0 3114 58 11 47 48 0 8 1 amappl15 184 4 0 3 1 0 1 1 0 8 0 amappl14 176 96 0 90 1 0 1 1 0 8 0 amappl13 168 57 0 53 1 0 1 1 0 8 0 amappl12 160 74 0 73 2 1 1 1 0 8 0 amappl11 152 62 0 46 1 0 1 1 0 8 0 amappl10 144 434 0 426 1 0 1 1 0 8 0 amappl9 136 582 0 579 1 0 1 1 0 8 0 amappl8 128 639 0 601 2 0 2 2 0 8 0 amappl7 120 454 0 440 1 0 1 1 0 8 0 amappl6 112 33 0 27 2 1 1 1 0 8 0 amappl5 104 887 0 870 1 0 1 1 0 8 0 amappl4 96 542 0 510 1 0 1 1 0 8 0 amappl3 88 130 0 125 1 0 1 1 0 8 0 amappl2 80 6536 0 6472 2 0 2 2 0 8 0 amappl1 72 30633 0 30207 24 14 10 18 0 8 0 amappl 80 2876 0 2831 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 42 0 7 1 0 1 1 0 8 0 uaddrrnd 24 971 0 954 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 971 0 954 1 0 1 1 0 8 0 vmmpekpl 168 11779 0 11738 3 0 3 3 0 8 0 vmmpepl 168 125842 0 123860 191 96 95 132 0 357 0 vmsppl 368 970 0 954 2 0 2 2 0 8 0 pdppl 4096 1949 0 1910 6 0 6 6 0 8 0 pvpl 32 311339 0 291679 200 34 166 171 0 265 2 pmappl 232 970 0 954 4 2 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 288 0 20 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82759ff0) 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(ffffffff828f7648) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f7648) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828f7648,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(ffff800022f38e50,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800022f38e50,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800022f38e50,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd807e53e130,11,ffffffff824683b3,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd807e53e130) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd807e53e130) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 VOP_BWRITE(fffffd807e53e130) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:724 ufs_direnter(fffffd807363f5b0,fffffd806481f690,ffff800022f390a0,ffff800022f393f0,fffffd80651cb028) at ufs_direnter+0x8e3 sys/ufs/ufs/ufs_lookup.c:909 ufs_mkdir(ffff800022f39240) at ufs_mkdir+0x70b sys/ufs/ufs/ufs_vnops.c:1251 end trace frame: 0xffff800022f392b0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82759ff0) 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(ffffffff828f7648) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828f7648) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828f7648,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(ffff800022f38e50,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800022f38e50,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800022f38e50,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd807e53e130,11,ffffffff824683b3,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd807e53e130) at biowait+0xa6 sys/kern/vfs_bio.c:1256 bwrite(fffffd807e53e130) at bwrite+0x1e4 sys/kern/vfs_bio.c:765 VOP_BWRITE(fffffd807e53e130) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:724 ufs_direnter(fffffd807363f5b0,fffffd806481f690,ffff800022f390a0,ffff800022f393f0,fffffd80651cb028) at ufs_direnter+0x8e3 sys/ufs/ufs/ufs_lookup.c:909 ufs_mkdir(ffff800022f39240) at ufs_mkdir+0x70b sys/ufs/ufs/ufs_vnops.c:1251 VOP_MKDIR(fffffd807363f5b0,ffff800022f393a0,ffff800022f393f0,ffff800022f392d0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff800020e469d8,ffffff9c,7f7ffffd7970,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 syscall(ffff800022f39570) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022f39570) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd79e0, 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(ffffffff82410b37) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaef968,9,fffffd806d851900,0,0,ffff800020e4eeb0) at tcp_usrreq+0xa55 sosend(fffffd806eaef968,0,ffff800020e09ad8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e4eeb0,4,ffff800020e09ad8,0,ffff800020e09bc0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e4eeb0,ffff800020e09b70,ffff800020e09bc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e09c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e09c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc0b0, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82410b37) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ada100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ada100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaef968,9,fffffd806d851900,0,0,ffff800020e4eeb0) at tcp_usrreq+0xa55 sosend(fffffd806eaef968,0,ffff800020e09ad8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e4eeb0,4,ffff800020e09ad8,0,ffff800020e09bc0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e4eeb0,ffff800020e09b70,ffff800020e09bc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e09c40) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e09c40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcc0b0, count: -9