panic: lock (rwlock) solock not locked Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *325696 80567 32767 0x10 0x4000000 1 syz-executor.3 231967 98886 32767 0x10 0x4000000 0K syz-executor.2 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd806f5045d8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd805c7c99a0,5,0,0) at sosplice+0x550 sosetopt(fffffd805c7c99a0,ffff,1023,fffffd806918e900) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff6550,ffff800021310698,ffff8000213106e0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff800021310760) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021310760) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55fa174e380, 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 *cpu1: lock (rwlock) solock not locked ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd806f5045d8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd805c7c99a0,5,0,0) at sosplice+0x550 sosetopt(fffffd805c7c99a0,ffff,1023,fffffd806918e900) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff6550,ffff800021310698,ffff8000213106e0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff800021310760) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021310760) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55fa174e380, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000213103e0 rbx 0xffff800020dd9b8f rdx 0 rcx 0 rax 0xffff8000ffff6550 r8 0x101010101010101 r9 0x8080808080808080 r10 0xbb4a5b9a6b05c240 r11 0xeb940b94711aea6f r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff81fd76c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000213103d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.3) pid=325696 stat=onproc flags process=10 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000289fed20,0xffffffff82b7cfd0 process=0xffff800021299d28 user=0xffff80002130b000, vmspace=0xfffffd80746b28b0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80567 270074 81788 32767 2 0x10 syz-executor.3 80567 281136 81788 32767 3 0x4000090 fsleep syz-executor.3 *80567 325696 81788 32767 7 0x4000010 syz-executor.3 98886 340029 72292 32767 2 0x10 syz-executor.2 98886 231967 72292 32767 7 0x4000010 syz-executor.2 12484 479386 34728 32767 2 0x10 syz-executor.1 32979 311868 61728 32767 3 0x3010 suspend syz-executor.7 32979 48915 61728 32767 2 0x4081090 syz-executor.7 32979 483386 61728 32767 2 0x4081090 syz-executor.7 38469 252049 38367 32767 3 0x90 nanoslp syz-executor.6 38469 392620 38367 32767 3 0x4000090 pipewr syz-executor.6 38469 279513 38367 32767 2 0x4000010 syz-executor.6 38469 14452 38367 32767 3 0x4000090 fsleep syz-executor.6 7639 478516 57382 32767 2 0x10 syz-executor.0 72292 345914 90939 32767 3 0x90 nanoslp syz-executor.2 90939 521955 56681 0 3 0x82 wait syz-executor.2 70581 365947 67816 32767 2 0x10 syz-executor.5 67816 38033 56681 0 3 0x82 wait syz-executor.5 81788 334135 76682 32767 3 0x90 nanoslp syz-executor.3 76682 326836 56681 0 3 0x82 wait syz-executor.3 38367 420446 92443 32767 3 0x90 nanoslp syz-executor.6 92443 188477 56681 0 3 0x82 wait syz-executor.6 57382 7214 62574 32767 3 0x90 nanoslp syz-executor.0 62574 402050 56681 0 3 0x82 wait syz-executor.0 34728 241646 21659 32767 3 0x90 nanoslp syz-executor.1 21659 210737 56681 0 3 0x82 wait syz-executor.1 61728 161387 74842 32767 3 0x90 nanoslp syz-executor.7 74842 27659 56681 0 3 0x82 wait syz-executor.7 4593 100019 0 0 3 0x14200 bored sosplice 56681 478903 16930 0 3 0x82 thrsleep syz-fuzzer 56681 85130 16930 0 3 0x4000082 nanoslp syz-fuzzer 56681 375015 16930 0 3 0x4000082 thrsleep syz-fuzzer 56681 499737 16930 0 3 0x4000082 wait syz-fuzzer 56681 158883 16930 0 2 0x4000002 syz-fuzzer 56681 478739 16930 0 3 0x4000082 thrsleep syz-fuzzer 56681 341684 16930 0 3 0x4000082 wait syz-fuzzer 56681 345754 16930 0 3 0x4000082 thrsleep syz-fuzzer 56681 247186 16930 0 3 0x4000082 thrsleep syz-fuzzer 56681 29575 16930 0 3 0x4000082 wait syz-fuzzer 56681 356641 16930 0 3 0x4000082 wait syz-fuzzer 56681 243772 16930 0 3 0x4000082 wait syz-fuzzer 56681 515540 16930 0 3 0x4000082 thrsleep syz-fuzzer 56681 173838 16930 0 3 0x4000082 wait syz-fuzzer 56681 192483 16930 0 3 0x4000082 wait syz-fuzzer 56681 332626 16930 0 3 0x4000082 thrsleep syz-fuzzer 16930 196757 68846 0 3 0x10008a sigsusp ksh 68846 333538 11717 0 3 0x9a kqread sshd 59842 135603 1 0 3 0x100083 ttyin getty 11717 261918 1 0 3 0x88 kqread sshd 12098 452950 39356 73 3 0x1100090 kqread syslogd 39356 456691 1 0 3 0x100082 netio syslogd 77955 18230 1 0 3 0x100080 kqread resolvd 43227 31643 41414 77 3 0x100092 kqread dhcpleased 84908 35244 41414 77 3 0x100092 kqread dhcpleased 41414 12056 1 0 3 0x80 kqread dhcpleased 21238 19549 0 0 3 0x14200 bored smr 5939 188863 0 0 2 0x14200 zerothread 51013 380274 0 0 3 0x14200 aiodoned aiodoned 22380 187701 0 0 3 0x14200 syncer update 8387 297044 0 0 3 0x14200 cleaner cleaner 98234 475599 0 0 3 0x14200 reaper reaper 39460 228018 0 0 3 0x14200 pgdaemon pagedaemon 65060 305710 0 0 3 0x14200 bored viomb 48544 41476 0 0 3 0x40014200 acpi0 acpi0 86660 69323 0 0 3 0x40014200 idle1 3326 192022 0 0 3 0x14200 bored softnet 62372 413168 0 0 3 0x14200 bored softnet 32646 351098 0 0 3 0x14200 bored softnet 64750 155421 0 0 3 0x14200 bored softnet 97105 45857 0 0 3 0x14200 bored systqmp 82281 333774 0 0 3 0x14200 bored systq 89321 497119 0 0 3 0x40014200 bored softclock 14870 38439 0 0 3 0x40014200 idle0 1 272452 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 80567 (syz-executor.3) thread 0xffff8000ffff6550 (325696) exclusive rwlock netlock r = 0 (0xffffffff82971a40) #0 witness_lock+0x44d #1 sys_setsockopt+0x1de sys/kern/uipc_syscalls.c:1233 #2 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #2 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #3 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a8d100) #0 witness_lock+0x44d #1 syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] #1 syscall+0x41d sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 Process 98886 (syz-executor.2) thread 0xffff8000289ff500 (231967) exclusive rrwlock inode r = 0 (0xfffffd8065c3ac48) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vn_write+0x123 sys/kern/vfs_vnops.c:405 #6 dofilewritev+0x19c sys/kern/sys_generic.c:375 #7 sys_write+0x83 sys/kern/sys_generic.c:295 #8 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 38469 (syz-executor.6) thread 0xffff800021258a88 (392620) shared rwlock vmmaplk r = 0 (0xfffffd80746b2a38) #0 witness_lock+0x44d #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1772 #2 uvm_fault_check+0x3a sys/uvm/uvm_fault.c:673 #3 uvm_fault+0xf2 sys/uvm/uvm_fault.c:601 #4 kpageflttrap+0x209 #5 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #6 alltraps_kern_meltdown+0x7b #7 copyin+0x53 #8 pipe_write+0x373 sys/kern/sys_pipe.c:561 #9 dofilewritev+0x19c sys/kern/sys_generic.c:375 #10 sys_write+0x83 sys/kern/sys_generic.c:295 #11 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #11 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #12 Xsyscall+0x128 Process 70581 (syz-executor.5) thread 0xffff8000212597a8 (365947) exclusive rrwlock inode r = 0 (0xfffffd807e3cb708) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112 #10 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd807e3cb0a8) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412 #6 namei+0x36a sys/kern/vfs_lookup.c:244 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3097 #8 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10190 6407K 6420K 78643K 11592 0 pcb 13 12K 14K 78643K 17 0 rtable 216 6K 7K 78643K 3658 0 ifaddr 75 17K 18K 78643K 811 0 sysctl 3 1K 1K 78643K 3 0 counters 54 35K 35K 78643K 262 0 ioctlops 0 0K 2K 78643K 148 0 iov 0 0K 16K 78643K 645 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1271 79K 79K 78643K 3530 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 38 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 2097 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 22 81K 125K 78643K 6486 0 sigio 0 0K 0K 78643K 131 0 proc 56 78K 139K 78643K 3621 0 subproc 91 5K 6K 78643K 1443 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 379 0 in_multi 88 5K 7K 78643K 1298 0 ether_multi 1 0K 0K 78643K 21 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 103 466K 466K 78643K 103 0 exec 0 0K 2K 78643K 3698 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 291 73K 967K 78643K 39691 0 UVM aobj 131 4K 4K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 95 0 NDP 12 0K 2K 78643K 336 0 temp 116 4725K 4854K 78643K 27515 0 kqueue 12 18K 24K 78643K 424 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 495 0 488 3 2 1 2 0 8 0 rtentry 112 1259 0 1158 4 0 4 4 0 8 0 unpcb 144 9085 0 9071 64 62 2 10 0 8 1 syncache 296 52 0 52 12 11 1 1 0 8 1 tcpqe 32 15 0 15 7 7 0 1 0 8 0 tcpcb 768 1869 0 1859 63 55 8 14 0 8 6 arp 120 229 0 212 1 0 1 1 0 8 0 ipq 40 7 0 7 3 3 0 1 0 8 0 ipqe 40 87 0 87 3 3 0 1 0 8 0 inpcb 368 4546 0 4525 88 81 7 14 0 8 5 nd6 48 343 0 321 1 0 1 1 0 8 0 kcovpl 48 111 0 104 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5076 0 4656 36 6 30 30 0 8 1 art_table 32 5077 0 4656 4 0 4 4 0 8 0 art_node 16 1258 0 1166 1 0 1 1 0 8 0 semapl 112 2095 0 2085 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8163 0 6725 91 0 91 91 0 8 0 ffsino 272 8163 0 6725 97 0 97 97 0 8 0 nchpl 144 15436 0 13806 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 63587 0 63586 5 4 1 2 0 8 0 percpumem 16 143 0 104 1 0 1 1 0 8 0 kstatmem 264 228 0 208 2 0 2 2 0 8 0 scxspl 216 51246 0 51245 28 27 1 7 0 8 0 plimitpl 152 1074 0 1054 3 2 1 2 0 8 0 sigapl 424 6553 0 6502 7 0 7 7 0 8 1 futexpl 64 45184 0 45180 7 6 1 1 0 8 0 knotepl 120 138 0 0 4 0 4 4 0 8 0 kqueuepl 216 1350 0 1342 25 24 1 6 0 8 0 pipepl 320 1829 0 1803 45 41 4 13 0 8 1 fdescpl 496 6535 0 6502 7 2 5 6 0 8 0 filepl 152 41532 0 41306 84 71 13 21 0 8 3 lockfpl 104 530 0 528 1 0 1 1 0 8 0 lockfspl 48 181 0 179 1 0 1 1 0 8 0 sessionpl 144 126 0 111 1 0 1 1 0 8 0 pgrppl 48 136 0 121 1 0 1 1 0 8 0 ucredpl 104 5869 0 5852 1 0 1 1 0 8 0 zombiepl 144 6502 0 6502 1 0 1 1 0 8 1 processpl 1064 6553 0 6502 5 1 4 5 0 8 0 procpl 672 17374 0 17300 14 6 8 9 0 8 0 srpgc 96 1 0 1 1 1 0 1 0 8 0 sosppl 168 87 0 85 10 9 1 1 0 8 0 sockpl 488 14241 0 14202 294 282 12 34 0 8 7 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 34 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 315 0 0 34 6 28 34 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 5934 0 0 355 0 355 355 0 8 0 bufpl 288 12257 0 5927 453 0 453 453 0 8 0 anonpl 24 1308217 0 1294273 171 74 97 108 0 186 0 amapchunkpl 152 358788 0 358150 4436 4405 31 4414 0 158 1 amappl16 200 18439 0 17900 107 75 32 32 0 8 2 amappl15 192 1477 0 1467 1 0 1 1 0 8 0 amappl14 184 398 0 392 1 0 1 1 0 8 0 amappl13 176 1225 0 1224 1 0 1 1 0 8 0 amappl12 168 906 0 900 1 0 1 1 0 8 0 amappl11 160 627 0 611 2 1 1 2 0 8 0 amappl10 152 326 0 316 1 0 1 1 0 8 0 amappl9 144 1939 0 1931 1 0 1 1 0 8 0 amappl8 136 2854 0 2763 4 0 4 4 0 8 0 amappl7 128 1076 0 1055 1 0 1 1 0 8 0 amappl6 120 2352 0 2325 2 1 1 2 0 8 0 amappl5 112 4487 0 4460 1 0 1 1 0 8 0 amappl4 104 4141 0 4109 2 0 2 2 0 8 0 amappl3 96 18580 0 18519 2 0 2 2 0 8 0 amappl2 88 2131 0 2093 3 1 2 2 0 8 0 amappl1 80 159910 0 159191 19 2 17 19 0 8 0 amappl 88 37559 0 37376 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 6536 0 6503 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6536 0 6503 1 0 1 1 0 8 0 vmmpekpl 168 60140 0 60081 4 0 4 4 0 8 0 vmmpepl 168 682478 0 679618 235 88 147 149 0 357 17 vmsppl 368 6535 0 6503 4 0 4 4 0 8 0 rwobjpl 56 168934 0 161304 120 11 109 110 0 8 0 pdppl 4096 13079 0 13006 647 572 75 95 0 8 2 pvpl 32 2938894 0 2919621 390 225 165 256 0 265 1 pmappl 248 6535 0 6503 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1830 0 672 34 0 34 34 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff829b9ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a8cef8) at __mp_lock+0xe6 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82a8cef8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 tsleep(fffffd80692ae6f8,11,ffffffff8261c39f,0) at tsleep+0x179 biowait(fffffd80692ae6f8) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd80692ae6f8) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs2_balloc(fffffd8065c3abb0,ac000,4000,fffffd807f7d7680,2,ffff80002963e538) at ffs2_balloc+0x16f5 sys/ufs/ffs/ffs_balloc.c:757 ffs_write(ffff80002963e5d0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346 VOP_WRITE(fffffd807e150448,ffff80002963e778,5,fffffd807f7d7680) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ca77308,ffff80002963e778,0) at vn_write+0x157 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000289ff500,3,ffff80002963e778,0,ffff80002963e860) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_write(ffff8000289ff500,ffff80002963e818,ffff80002963e860) at sys_write+0x83 sys/kern/sys_generic.c:295 end trace frame: 0xffff80002963e8d0, count: 0 ddb{0}> trace x86_ipi_db(ffffffff829b9ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82a8cef8) at __mp_lock+0xe6 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82a8cef8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 tsleep(fffffd80692ae6f8,11,ffffffff8261c39f,0) at tsleep+0x179 biowait(fffffd80692ae6f8) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd80692ae6f8) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs2_balloc(fffffd8065c3abb0,ac000,4000,fffffd807f7d7680,2,ffff80002963e538) at ffs2_balloc+0x16f5 sys/ufs/ffs/ffs_balloc.c:757 ffs_write(ffff80002963e5d0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346 VOP_WRITE(fffffd807e150448,ffff80002963e778,5,fffffd807f7d7680) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd806ca77308,ffff80002963e778,0) at vn_write+0x157 sys/kern/vfs_vnops.c:408 dofilewritev(ffff8000289ff500,3,ffff80002963e778,0,ffff80002963e860) at dofilewritev+0x19c sys/kern/sys_generic.c:375 sys_write(ffff8000289ff500,ffff80002963e818,ffff80002963e860) at sys_write+0x83 sys/kern/sys_generic.c:295 syscall(ffff80002963e8e0) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002963e8e0) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6bca9824440, count: -16 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:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd806f5045d8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd805c7c99a0,5,0,0) at sosplice+0x550 sosetopt(fffffd805c7c99a0,ffff,1023,fffffd806918e900) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff6550,ffff800021310698,ffff8000213106e0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff800021310760) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021310760) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55fa174e380, count: 6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd806f5045d8,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd806f5045c0,fffffd806f504708) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd805c7c99a0,5,0,0) at sosplice+0x550 sosetopt(fffffd805c7c99a0,ffff,1023,fffffd806918e900) at sosetopt+0x7f4 sys_setsockopt(ffff8000ffff6550,ffff800021310698,ffff8000213106e0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff800021310760) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021310760) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x55fa174e380, count: -9