panic: syn_cache_insert: cacheoverflow: impossible Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 114496 6419 0 0x2 0 0 syz-executor.1 *340333 61508 0 0x14000 0x200 1 softnet db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82409f62) at panic+0x164 sys/kern/subr_prf.c:218 syn_cache_insert(fffffd8063fa8b60,ffff800000ad7aa0) at syn_cache_insert+0x9d4 sys/netinet/tcp_input.c:3235 syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 tcpstat_inc sys/netinet/tcp_var.h:645 [inline] syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 sys/netinet/tcp_input.c:3871 tcp_input(ffff800020da8d98,ffff800020da8da4,6,2) at tcp_input+0x3c85 sys/netinet/tcp_input.c:830 ip_deliver(ffff800020da8d98,ffff800020da8da4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8d98,ffff800020da8da4,0,0) at ip_ours+0x412 ip_input_if(ffff800020da8d98,ffff800020da8da4,4,0,ffff8000006aa000) at ip_input_if+0x6ce ipv4_input(ffff8000006aa000,fffffd80664cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_local(ffff8000006aa000,fffffd80664cad00,2) at if_input_local+0xf9 sys/net/if.c:769 loinput(ffff8000006aa000,fffffd80664cad00) at loinput+0x4d sys/net/if_loop.c:238 if_input_process(ffff8000006aa000,ffff800020da8ed8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff8000006aa400) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: 1 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 syn_cache_insert: cacheoverflow: impossible ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82409f62) at panic+0x164 sys/kern/subr_prf.c:218 syn_cache_insert(fffffd8063fa8b60,ffff800000ad7aa0) at syn_cache_insert+0x9d4 sys/netinet/tcp_input.c:3235 syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 tcpstat_inc sys/netinet/tcp_var.h:645 [inline] syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 sys/netinet/tcp_input.c:3871 tcp_input(ffff800020da8d98,ffff800020da8da4,6,2) at tcp_input+0x3c85 sys/netinet/tcp_input.c:830 ip_deliver(ffff800020da8d98,ffff800020da8da4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8d98,ffff800020da8da4,0,0) at ip_ours+0x412 ip_input_if(ffff800020da8d98,ffff800020da8da4,4,0,ffff8000006aa000) at ip_input_if+0x6ce ipv4_input(ffff8000006aa000,fffffd80664cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_local(ffff8000006aa000,fffffd80664cad00,2) at if_input_local+0xf9 sys/net/if.c:769 loinput(ffff8000006aa000,fffffd80664cad00) at loinput+0x4d sys/net/if_loop.c:238 if_input_process(ffff8000006aa000,ffff800020da8ed8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff8000006aa400) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020da8620 rbx 0xffff800020da86d0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffff800020da85e0 r9 0xffffffff817bd10f kprintf+0x16f r10 0x1 r11 0xa52267c51a988454 r12 0x3000000008 r13 0xffff800020da8630 r14 0x100 r15 0x1 rip 0xffffffff821dd518 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020da8610 ss 0 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=340333 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020d88c30,0xffff800020d88280 process=0xffff800020d8a3e0 user=0xffff800020da4000, vmspace=0xffffffff8292ca08 estcpu=0, cpticks=1, pctcpu=0.39 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 43639 406420 45571 0 2 0 syz-executor.0 43639 381112 45571 0 3 0x4000080 netcon2 syz-executor.0 94949 18909 0 0 3 0x14200 bored sosplice 93063 283698 0 0 3 0x14280 nfsidl nfsio 16580 467745 0 0 3 0x14280 nfsidl nfsio 94305 254582 0 0 3 0x14280 nfsidl nfsio 36750 119919 0 0 3 0x14280 nfsidl nfsio 31872 420545 0 0 3 0x14280 nfsidl nfsio 80924 236047 0 0 3 0x14280 nfsidl nfsio 78849 317 0 0 3 0x14280 nfsidl nfsio 2629 11134 0 0 3 0x14280 nfsidl nfsio 5240 217545 0 0 3 0x14280 nfsidl nfsio 63196 23719 0 0 3 0x14280 nfsidl nfsio 50947 289639 0 0 3 0x14280 nfsidl nfsio 37695 104598 0 0 3 0x14280 nfsidl nfsio 88487 392359 0 0 3 0x14280 nfsidl nfsio 50782 328489 0 0 3 0x14280 nfsidl nfsio 76792 404485 0 0 3 0x14280 nfsidl nfsio 3609 99340 0 0 3 0x14280 nfsidl nfsio 97025 243541 0 0 3 0x14280 nfsidl nfsio 49045 123648 0 0 3 0x14280 nfsidl nfsio 25 435146 0 0 3 0x14280 nfsidl nfsio 5401 137644 0 0 3 0x14280 nfsidl nfsio 6419 114496 66535 0 7 0x2 syz-executor.1 45571 60615 66535 0 3 0x82 nanosleep syz-executor.0 66535 228842 81935 0 3 0x82 thrsleep syz-fuzzer 66535 206402 81935 0 3 0x4000082 nanosleep syz-fuzzer 66535 26104 81935 0 3 0x4000082 thrsleep syz-fuzzer 66535 162543 81935 0 3 0x4000082 thrsleep syz-fuzzer 66535 468610 81935 0 3 0x4000082 nanosleep syz-fuzzer 66535 273337 81935 0 3 0x4000082 thrsleep syz-fuzzer 66535 503674 81935 0 3 0x4000082 thrsleep syz-fuzzer 66535 146678 81935 0 3 0x4000082 kqread syz-fuzzer 81935 429847 86000 0 3 0x10008a pause ksh 86000 230361 59313 0 3 0x92 select sshd 80982 376338 1 0 3 0x100083 ttyin getty 59313 85613 1 0 3 0x80 select sshd 20847 498216 58848 74 3 0x100092 bpf pflogd 58848 440209 1 0 3 0x80 netio pflogd 67870 265580 1804 73 3 0x100090 kqread syslogd 1804 394490 1 0 3 0x100082 netio syslogd 95524 352253 1 77 3 0x100090 poll dhclient 12541 174033 1 0 3 0x80 poll dhclient 15057 261624 0 0 3 0x14200 bored smr 22696 248694 0 0 3 0x14200 pgzero zerothread 49660 362563 0 0 3 0x14200 aiodoned aiodoned 80069 390962 0 0 3 0x14200 syncer update 34233 180812 0 0 3 0x14200 cleaner cleaner 10669 293439 0 0 3 0x14200 reaper reaper 69541 7970 0 0 3 0x14200 pgdaemon pagedaemon 85900 498746 0 0 3 0x14200 bored crynlk 88049 95808 0 0 3 0x14200 bored crypto 19860 490992 0 0 3 0x40014200 acpi0 acpi0 4459 93943 0 0 3 0x40014200 idle1 *61508 340333 0 0 7 0x14200 softnet 8513 347521 0 0 3 0x14200 bored systqmp 46439 2989 0 0 3 0x14200 bored systq 47222 249102 0 0 3 0x40014200 bored softclock 23625 81789 0 0 3 0x40014200 idle0 1 458864 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff828c0138) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 sleep_setup+0xf1 sys/kern/kern_synch.c:380 #2 tsleep+0xe6 sleep_setup_timeout sys/kern/kern_synch.c:435 [inline] #2 tsleep+0xe6 sys/kern/kern_synch.c:151 #3 biowait+0xa6 sys/kern/vfs_bio.c:1262 #4 bwrite+0x215 sys/kern/vfs_bio.c:771 #5 ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 #6 ufs_mkdir+0x665 sys/ufs/ufs/ufs_vnops.c:1232 #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 Process 6419 (syz-executor.1) thread 0xffff800020e4ed50 (114496) exclusive rrwlock inode r = 0 (0xfffffd806e2854d8) #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 (0xfffffd806b1bc6f8) #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 61508 (softnet) thread 0xffff800020d88000 (340333) exclusive rwlock netlock r = 0 (0xffffffff826f8418) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 if_input_process+0xa1 sys/net/if.c:832 #2 ifiq_process+0x80 sys/net/ifq.c:768 #3 taskq_thread+0xec sys/kern/kern_task.c:437 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002c070) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 taskq_thread+0xdf sys/kern/kern_task.c:436 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9503 6659K 7435K 78643K 13539 0 pcb 13 8K 8K 78643K 50 0 rtable 104 4K 7K 78643K 416 0 ifaddr 55 13K 13K 78643K 129 0 counters 43 33K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1548 0 iov 0 0K 12K 78643K 24 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1921 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 12 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 435 0 sigio 0 0K 0K 78643K 4 0 proc 61 63K 83K 78643K 459 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 21 0 in_multi 48 2K 3K 78643K 105 0 ether_multi 1 0K 0K 78643K 5 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 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 219 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 168 74K 76K 78643K 2350 0 UVM aobj 19 2K 2K 78643K 20 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 7 0K 0K 78643K 27 0 temp 89 3858K 3922K 78643K 4164 0 kqueue 3 4K 9K 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 10 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 55 0 53 1 0 1 1 0 8 0 rtentry 112 76 0 35 2 0 2 2 0 8 0 unpcb 120 591 0 581 1 0 1 1 0 8 0 syncache 264 5 0 4 2 1 1 1 0 8 0 tcpqe 32 9 0 9 1 1 0 1 0 8 0 tcpcb 544 61 0 55 1 0 1 1 0 8 0 inpcb 296 489 0 479 4 2 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 18 0 14 1 0 1 1 0 8 0 pffrag 232 86 0 86 3 2 1 1 0 482 1 pffrnode 88 86 0 86 3 2 1 1 0 8 1 pffrent 40 3784 0 3784 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 39 0 37 3 2 1 1 0 8 0 pfstitem 24 48 0 45 1 0 1 1 0 8 0 pfstkey 112 48 0 45 2 0 2 2 0 8 1 pfstate 328 48 0 45 4 2 2 4 0 8 1 pfrule 1360 30 0 28 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 261 0 76 14 0 14 14 0 8 0 art_table 32 263 0 76 2 0 2 2 0 8 0 art_node 16 73 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 4 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 17 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1899 0 497 88 0 88 88 0 8 0 ffsino 272 1899 0 497 94 0 94 94 0 8 0 nchpl 144 2648 0 1042 60 0 60 60 0 8 0 uvmvnodes 72 2611 0 0 48 0 48 48 0 8 0 vnodes 208 2611 0 0 138 0 138 138 0 8 0 namei 1024 7615 0 7614 3 2 1 1 0 8 0 percpumem 16 41 0 9 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 12 3 2 1 1 0 8 0 scxspl 192 7754 0 7754 10 9 1 7 0 8 1 plimitpl 152 32 0 24 1 0 1 1 0 8 0 sigapl 424 671 0 619 6 0 6 6 0 8 0 futexpl 56 5767 0 5767 3 2 1 1 0 8 1 knotepl 112 74 0 54 1 0 1 1 0 8 0 kqueuepl 144 43 0 41 1 0 1 1 0 8 0 pipepl 304 121 0 110 4 2 2 2 0 8 1 fdescpl 496 635 0 619 3 0 3 3 0 8 0 filepl 152 3983 0 3879 6 1 5 6 0 8 1 lockfpl 104 91 0 90 1 0 1 1 0 8 0 lockfspl 48 33 0 32 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 235 0 226 1 0 1 1 0 8 0 zombiepl 144 619 0 619 1 0 1 1 0 8 1 processpl 992 671 0 619 7 0 7 7 0 8 0 procpl 624 1537 0 1477 8 2 6 6 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 1135 0 1114 8 4 4 4 0 8 1 mcl64k 65536 27 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 193 0 0 24 1 23 24 0 8 0 mtagpl 96 17 0 0 1 0 1 1 0 8 0 mbufpl 256 595 0 0 34 0 34 34 0 8 0 bufpl 280 3929 0 127 272 0 272 272 0 8 0 anonpl 16 87935 0 70092 104 15 89 89 0 124 16 amapchunkpl 152 4216 0 3934 26 12 14 25 0 158 0 amappl16 192 2874 0 2039 62 11 51 54 0 8 8 amappl15 184 178 0 174 1 0 1 1 0 8 0 amappl14 176 6 0 1 1 0 1 1 0 8 0 amappl13 168 258 0 253 1 0 1 1 0 8 0 amappl12 160 253 0 247 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 192 0 188 1 0 1 1 0 8 0 amappl9 136 366 0 365 1 0 1 1 0 8 0 amappl8 128 343 0 308 2 0 2 2 0 8 0 amappl7 120 298 0 282 1 0 1 1 0 8 0 amappl6 112 31 0 27 1 0 1 1 0 8 0 amappl5 104 320 0 304 1 0 1 1 0 8 0 amappl4 96 720 0 689 1 0 1 1 0 8 0 amappl3 88 361 0 351 1 0 1 1 0 8 0 amappl2 80 4106 0 4035 2 0 2 2 0 8 0 amappl1 72 27444 0 26995 23 13 10 18 0 8 0 amappl 80 1821 0 1741 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 1 1 0 1 1 0 8 0 uaddrrnd 24 643 0 623 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 643 0 623 1 0 1 1 0 8 0 vmmpekpl 168 9009 0 8970 2 0 2 2 0 8 0 vmmpepl 168 88005 0 85947 137 36 101 116 0 357 7 vmsppl 368 642 0 623 2 0 2 2 0 8 0 pdppl 4096 1293 0 1250 6 0 6 6 0 8 0 pvpl 32 260763 0 239637 227 19 208 209 0 265 32 pmappl 232 642 0 623 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 298 0 12 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82713ff0) 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(ffffffff828ec9f0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828ec9f0,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(ffff800023114430,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800023114430,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800023114430,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806fabda08,11,ffffffff8247949e,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806fabda08) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd806fabda08) at bwrite+0x215 sys/kern/vfs_bio.c:771 ffs_update(fffffd806e285440,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800023114770) at ufs_mkdir+0x665 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd80681b39c8,ffff8000231148d0,ffff800023114920,ffff800023114800) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 end trace frame: 0xffff8000231149c0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff82713ff0) 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(ffffffff828ec9f0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828ec9f0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff828ec9f0,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(ffff800023114430,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800023114430,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800023114430,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd806fabda08,11,ffffffff8247949e,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd806fabda08) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd806fabda08) at bwrite+0x215 sys/kern/vfs_bio.c:771 ffs_update(fffffd806e285440,1) at ffs_update+0x2c2 sys/ufs/ffs/ffs_inode.c:113 ufs_mkdir(ffff800023114770) at ufs_mkdir+0x665 sys/ufs/ufs/ufs_vnops.c:1232 VOP_MKDIR(fffffd80681b39c8,ffff8000231148d0,ffff800023114920,ffff800023114800) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff800020e4ed50,ffffff9c,7f7ffffc3680,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:3051 syscall(ffff800023114aa0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023114aa0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc36f0, 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(ffffffff82409f62) at panic+0x164 sys/kern/subr_prf.c:218 syn_cache_insert(fffffd8063fa8b60,ffff800000ad7aa0) at syn_cache_insert+0x9d4 sys/netinet/tcp_input.c:3235 syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 tcpstat_inc sys/netinet/tcp_var.h:645 [inline] syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 sys/netinet/tcp_input.c:3871 tcp_input(ffff800020da8d98,ffff800020da8da4,6,2) at tcp_input+0x3c85 sys/netinet/tcp_input.c:830 ip_deliver(ffff800020da8d98,ffff800020da8da4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8d98,ffff800020da8da4,0,0) at ip_ours+0x412 ip_input_if(ffff800020da8d98,ffff800020da8da4,4,0,ffff8000006aa000) at ip_input_if+0x6ce ipv4_input(ffff8000006aa000,fffffd80664cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_local(ffff8000006aa000,fffffd80664cad00,2) at if_input_local+0xf9 sys/net/if.c:769 loinput(ffff8000006aa000,fffffd80664cad00) at loinput+0x4d sys/net/if_loop.c:238 if_input_process(ffff8000006aa000,ffff800020da8ed8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff8000006aa400) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: 1 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82409f62) at panic+0x164 sys/kern/subr_prf.c:218 syn_cache_insert(fffffd8063fa8b60,ffff800000ad7aa0) at syn_cache_insert+0x9d4 sys/netinet/tcp_input.c:3235 syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 tcpstat_inc sys/netinet/tcp_var.h:645 [inline] syn_cache_add(ffff800020da8aa0,ffff800020da8a50,fffffd80664cadc4,14,fffffd806f668640,fffffd80664cad00) at syn_cache_add+0x6e9 sys/netinet/tcp_input.c:3871 tcp_input(ffff800020da8d98,ffff800020da8da4,6,2) at tcp_input+0x3c85 sys/netinet/tcp_input.c:830 ip_deliver(ffff800020da8d98,ffff800020da8da4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020da8d98,ffff800020da8da4,0,0) at ip_ours+0x412 ip_input_if(ffff800020da8d98,ffff800020da8da4,4,0,ffff8000006aa000) at ip_input_if+0x6ce ipv4_input(ffff8000006aa000,fffffd80664cad00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 if_input_local(ffff8000006aa000,fffffd80664cad00,2) at if_input_local+0xf9 sys/net/if.c:769 loinput(ffff8000006aa000,fffffd80664cad00) at loinput+0x4d sys/net/if_loop.c:238 if_input_process(ffff8000006aa000,ffff800020da8ed8) at if_input_process+0xda sys/net/if.c:832 ifiq_process(ffff8000006aa400) at ifiq_process+0x80 sys/net/ifq.c:768 taskq_thread(ffff80000002c000) at taskq_thread+0xec sys/kern/kern_task.c:437 end trace frame: 0x0, count: -14