panic: tcp_output: template len != hdrlen - optlen Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 26700 85296 0 0x2 0 1 syz-executor.1 *207360 16918 0 0x12 0 0 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82419dad) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaf0648,9,fffffd8068bfd700,0,0,ffff800020e40ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaf0648,0,ffff800020e04908,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40ae0,4,ffff800020e04908,0,ffff800020e049f0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40ae0,ffff800020e049a0,ffff800020e049f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04a70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04a70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe9070, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic tcp_output: template len != hdrlen - optlen ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82419dad) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaf0648,9,fffffd8068bfd700,0,0,ffff800020e40ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaf0648,0,ffff800020e04908,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40ae0,4,ffff800020e04908,0,ffff800020e049f0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40ae0,ffff800020e049a0,ffff800020e049f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04a70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04a70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe9070, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020e04470 rbx 0xffff800020e04520 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81c9288f kprintf+0x16f r9 0x1 r10 0x2 r11 0x6254fe56b00ca89b r12 0x3000000008 r13 0xffff800020e04480 r14 0x100 r15 0x1 rip 0xffffffff82161af8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020e04460 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (sshd) pid=207360 stat=onproc flags process=12 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020e3f4f0,0xffff800020e3f290 process=0xffff8000ffffe7d8 user=0xffff800020dff000, vmspace=0xfffffd806e9042e8 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 85296 26700 90699 0 7 0x2 syz-executor.1 63362 381341 0 0 3 0x14280 nfsidl nfsio 85825 471588 0 0 3 0x14280 nfsidl nfsio 96770 322822 0 0 3 0x14280 nfsidl nfsio 57492 521756 0 0 3 0x14280 nfsidl nfsio 48826 120891 0 0 3 0x14280 nfsidl nfsio 17805 370787 0 0 3 0x14280 nfsidl nfsio 56075 508484 0 0 3 0x14280 nfsidl nfsio 66049 120422 0 0 3 0x14280 nfsidl nfsio 36550 186844 0 0 3 0x14280 nfsidl nfsio 42670 446553 0 0 3 0x14280 nfsidl nfsio 39100 272379 0 0 3 0x14280 nfsidl nfsio 95664 445315 0 0 3 0x14280 nfsidl nfsio 18515 194559 0 0 3 0x14280 nfsidl nfsio 64396 278332 0 0 3 0x14280 nfsidl nfsio 28922 488824 0 0 3 0x14280 nfsidl nfsio 41657 232893 0 0 3 0x14280 nfsidl nfsio 95372 465528 0 0 3 0x14280 nfsidl nfsio 46564 201459 0 0 3 0x14280 nfsidl nfsio 50817 450202 0 0 3 0x14280 nfsidl nfsio 66486 400108 0 0 3 0x14280 nfsidl nfsio 38520 41940 0 0 3 0x14200 bored sosplice 84426 360441 90699 0 3 0x82 nanosleep syz-executor.0 26170 77048 0 0 3 0x14200 acct acct 90699 305434 12471 0 3 0x82 thrsleep syz-fuzzer 90699 77748 12471 0 3 0x4000082 nanosleep syz-fuzzer 90699 288501 12471 0 3 0x4000082 kqread syz-fuzzer 90699 139920 12471 0 3 0x4000082 thrsleep syz-fuzzer 90699 146321 12471 0 3 0x4000082 thrsleep syz-fuzzer 90699 156147 12471 0 3 0x4000082 thrsleep syz-fuzzer 90699 139011 12471 0 3 0x4000082 thrsleep syz-fuzzer 90699 287924 12471 0 3 0x4000082 thrsleep syz-fuzzer 90699 302650 12471 0 3 0x4000082 nanosleep syz-fuzzer 90699 176492 12471 0 3 0x4000082 thrsleep syz-fuzzer 12471 342460 16918 0 3 0x10008a pause ksh *16918 207360 15089 0 7 0x12 sshd 67479 491929 1 0 3 0x100083 ttyin getty 15089 484027 1 0 3 0x80 select sshd 2915 319656 69076 74 3 0x100092 bpf pflogd 69076 381133 1 0 3 0x80 netio pflogd 87930 493834 17008 73 3 0x100090 kqread syslogd 17008 33026 1 0 3 0x100082 netio syslogd 40714 317107 1 77 3 0x100090 poll dhclient 50060 365041 1 0 3 0x80 poll dhclient 96363 77264 0 0 3 0x14200 bored smr 48232 492649 0 0 3 0x14200 pgzero zerothread 90363 136947 0 0 3 0x14200 aiodoned aiodoned 12043 355085 0 0 3 0x14200 syncer update 6821 154794 0 0 3 0x14200 cleaner cleaner 80877 200858 0 0 3 0x14200 reaper reaper 963 508857 0 0 3 0x14200 pgdaemon pagedaemon 44548 49098 0 0 3 0x14200 bored crynlk 23845 451617 0 0 3 0x14200 bored crypto 36759 275655 0 0 3 0x40014200 acpi0 acpi0 32319 401004 0 0 3 0x40014200 idle1 35807 299006 0 0 3 0x14200 bored softnet 12378 357521 0 0 3 0x14200 bored systqmp 66582 347797 0 0 3 0x14200 bored systq 33134 472 0 0 3 0x40014200 bored softclock 7030 354515 0 0 3 0x40014200 idle0 1 371987 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 85296 (syz-executor.1) thread 0xffff800020e9c138 (26700) exclusive rrwlock inode r = 0 (0xfffffd8068c82920) #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 (0xfffffd806b1ea6f8) #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 16918 (sshd) thread 0xffff800020e40ae0 (207360) exclusive rwlock netlock r = 0 (0xffffffff8271a3c8) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9505 6418K 7323K 78643K 12856 0 pcb 13 8K 8K 78643K 59 0 rtable 114 3K 7K 78643K 433 0 ifaddr 65 13K 14K 78643K 151 0 counters 43 33K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1504 0 iov 0 0K 16K 78643K 37 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1807 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 72 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 9K 25K 78643K 687 0 sigio 0 0K 0K 78643K 5 0 proc 61 63K 95K 78643K 550 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 902 0 in_multi 57 3K 3K 78643K 178 0 ether_multi 1 0K 0K 78643K 10 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 260 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 115 22K 39K 78643K 3138 0 UVM aobj 22 2K 2K 78643K 26 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 10 0K 0K 78643K 41 0 temp 104 3861K 3928K 78643K 18733 0 kqueue 3 4K 8K 78643K 17 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 10 0 4 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 95 0 47 2 0 2 2 0 8 0 unpcb 120 175 0 165 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 112 0 112 1 1 0 1 0 8 0 tcpcb 544 692 0 688 1 0 1 1 0 8 0 inpcb 296 1003 0 995 2 0 2 2 0 8 1 nd6 48 31 0 23 1 0 1 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 3 2 1 1 1 0 482 1 pffrnode 88 3 0 3 2 1 1 1 0 8 1 pffrent 40 6 0 6 2 1 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 14 0 14 2 1 1 1 0 8 1 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstitem 24 48 0 16 1 0 1 1 0 8 0 pfstkey 112 50 0 18 1 0 1 1 0 8 0 pfstate 328 48 0 16 3 0 3 3 0 8 0 pfrule 1360 24 0 19 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 396 0 186 16 2 14 14 0 8 0 art_table 32 398 0 186 2 0 2 2 0 8 0 art_node 16 94 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 68 0 58 1 0 1 1 0 8 0 shmpl 112 23 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2192 0 789 89 0 89 89 0 8 0 ffsino 272 2192 0 789 95 0 95 95 0 8 0 nchpl 144 3304 0 1707 60 0 60 60 0 8 0 uvmvnodes 72 2776 0 0 51 0 51 51 0 8 0 vnodes 208 2776 0 0 147 0 147 147 0 8 0 namei 1024 9519 0 9519 1 0 1 1 0 8 1 percpumem 16 41 0 9 1 0 1 1 0 8 0 vcpupl 1984 1 0 1 1 0 1 1 0 8 1 vmpool 560 1 0 1 1 0 1 1 0 8 1 pfiaddrpl 120 4 0 4 2 1 1 1 0 8 1 scxspl 192 9659 0 9659 11 8 3 7 0 8 3 plimitpl 152 55 0 47 1 0 1 1 0 8 0 sigapl 424 918 0 866 7 0 7 7 0 8 1 futexpl 56 9178 0 9178 1 0 1 1 0 8 1 knotepl 112 121 0 102 2 1 1 2 0 8 0 kqueuepl 144 60 0 58 1 0 1 1 0 8 0 pipepl 304 147 0 137 3 1 2 2 0 8 1 fdescpl 496 881 0 866 3 0 3 3 0 8 0 filepl 152 4877 0 4777 5 0 5 5 0 8 1 lockfpl 104 203 0 202 1 0 1 1 0 8 0 lockfspl 48 81 0 80 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 549 0 540 1 0 1 1 0 8 0 zombiepl 144 866 0 865 1 0 1 1 0 8 0 processpl 992 918 0 865 7 0 7 7 0 8 0 procpl 624 2286 0 2224 6 0 6 6 0 8 0 sosppl 128 8 0 8 3 2 1 1 0 8 1 sockpl 400 1217 0 1198 4 1 3 4 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 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 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 240 0 0 29 0 29 29 0 8 0 mtagpl 96 43 0 0 2 0 2 2 0 8 0 mbufpl 256 265 0 0 17 1 16 16 0 8 0 bufpl 280 4480 0 134 311 0 311 311 0 8 0 anonpl 16 102725 0 85987 77 1 76 76 0 124 6 amapchunkpl 152 5070 0 4915 12 0 12 12 0 158 4 amappl16 192 3781 0 2844 61 6 55 60 0 8 7 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 231 0 228 1 0 1 1 0 8 0 amappl13 168 54 0 49 1 0 1 1 0 8 0 amappl12 160 13 0 12 2 1 1 1 0 8 0 amappl11 152 300 0 285 1 0 1 1 0 8 0 amappl10 144 319 0 315 1 0 1 1 0 8 0 amappl9 136 470 0 468 1 0 1 1 0 8 0 amappl8 128 401 0 371 2 0 2 2 0 8 0 amappl7 120 433 0 421 1 0 1 1 0 8 0 amappl6 112 53 0 47 2 1 1 1 0 8 0 amappl5 104 562 0 547 1 0 1 1 0 8 0 amappl4 96 729 0 697 1 0 1 1 0 8 0 amappl3 88 330 0 325 1 0 1 1 0 8 0 amappl2 80 5968 0 5902 2 0 2 2 0 8 0 amappl1 72 34977 0 34552 23 13 10 18 0 8 0 amappl 80 2561 0 2518 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 25 0 4 1 0 1 1 0 8 0 uaddrrnd 24 882 0 867 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 882 0 867 1 0 1 1 0 8 0 vmmpekpl 168 10599 0 10552 3 0 3 3 0 8 0 vmmpepl 168 119638 0 117644 160 33 127 129 0 357 30 vmsppl 368 881 0 867 2 0 2 2 0 8 0 pdppl 4096 1771 0 1734 6 0 6 6 0 8 0 pvpl 32 309231 0 289301 190 6 184 184 0 265 17 pmappl 232 881 0 867 3 1 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 280 0 7 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82419dad) at panic+0x15c sys/kern/subr_prf.c:207 tcp_output(ffff800000ad9100) at tcp_output+0x2c4b tcp_setpersist sys/netinet/tcp_output.c:1130 [inline] tcp_output(ffff800000ad9100) at tcp_output+0x2c4b sys/netinet/tcp_output.c:333 tcp_usrreq(fffffd806eaf0648,9,fffffd8068bfd700,0,0,ffff800020e40ae0) at tcp_usrreq+0xa55 sosend(fffffd806eaf0648,0,ffff800020e04908,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:555 dofilewritev(ffff800020e40ae0,4,ffff800020e04908,0,ffff800020e049f0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020e40ae0,ffff800020e049a0,ffff800020e049f0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020e04a70) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e04a70) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe9070, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d70ff0) 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(ffffffff8291ad58) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8291ad58) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8291ad58,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(ffff8000230f9cd0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff8000230f9cd0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff8000230f9cd0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd8069b62900,11,ffffffff82474973,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd8069b62900) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd8069b62900) at bwrite+0x215 sys/kern/vfs_bio.c:771 ufs_dirremove(fffffd807da90698,fffffd8068c82888,800c,1) at ufs_dirremove+0x291 ufs_rmdir(ffff8000230f9ef8) at ufs_rmdir+0x247 sys/ufs/ufs/ufs_vnops.c:1328 VOP_RMDIR(fffffd807da90698,fffffd80649e1c38,ffff8000230f9ff8) at VOP_RMDIR+0xf8 sys/kern/vfs_vops.c:474 end trace frame: 0xffff8000230fa090, count: 0 ddb{1}> trace x86_ipi_db(ffff800020d70ff0) 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(ffffffff8291ad58) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8291ad58) at __mp_lock+0x127 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8291ad58,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(ffff8000230f9cd0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff8000230f9cd0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff8000230f9cd0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(fffffd8069b62900,11,ffffffff82474973,0) at tsleep+0x1cc sys/kern/kern_synch.c:155 biowait(fffffd8069b62900) at biowait+0xa6 sys/kern/vfs_bio.c:1262 bwrite(fffffd8069b62900) at bwrite+0x215 sys/kern/vfs_bio.c:771 ufs_dirremove(fffffd807da90698,fffffd8068c82888,800c,1) at ufs_dirremove+0x291 ufs_rmdir(ffff8000230f9ef8) at ufs_rmdir+0x247 sys/ufs/ufs/ufs_vnops.c:1328 VOP_RMDIR(fffffd807da90698,fffffd80649e1c38,ffff8000230f9ff8) at VOP_RMDIR+0xf8 sys/kern/vfs_vops.c:474 dounlinkat(ffff800020e9c138,ffffff9c,7f7ffffc3740,8) at dounlinkat+0x14c sys/kern/vfs_syscalls.c:1886 syscall(ffff8000230fa170) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000230fa170) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3730, count: -17