panic: lock (rwlock) solock not locked Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *246440 53967 32767 0x10 0x4000000 1K syz-executor.6 119705 42843 32767 0x10 0 0 syz-executor.7 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(fffffd80776bd620,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd80776bdbc0,0,0,0) at sosplice+0x550 sosetopt(fffffd80776bdbc0,ffff,1023,fffffd805bb5e600) at sosetopt+0x7f4 sys_setsockopt(ffff800021300550,ffff80002962aa98,ffff80002962aae0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002962ab60) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002962ab60) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce6ee60f890, 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(fffffd80776bd620,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd80776bdbc0,0,0,0) at sosplice+0x550 sosetopt(fffffd80776bdbc0,ffff,1023,fffffd805bb5e600) at sosetopt+0x7f4 sys_setsockopt(ffff800021300550,ffff80002962aa98,ffff80002962aae0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002962ab60) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002962ab60) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce6ee60f890, count: -9 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80002962a7e0 rbx 0xffff800020dd9b8f rdx 0xffff800000bdab00 rcx 0 rax 0xffff800021300550 r8 0x101010101010101 r9 0x8080808080808080 r10 0x1d960853836f62d0 r11 0xca536eab53a645a5 r12 0xffff800020dd9990 r13 0 r14 0 r15 0x1 rip 0xffffffff81fd76c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002962a7d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.6) pid=246440 stat=onproc flags process=10 proc=4000000 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff8000213017b0,0xffff800021300aa0 process=0xffff800021298c88 user=0xffff800029625000, vmspace=0xfffffd806baf4010 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45757 496928 6791 32767 2 0x10 syz-executor.1 78419 291327 75728 32767 2 0x10 syz-executor.4 37301 73588 59279 32767 2 0x10 syz-executor.3 53967 128237 46867 32767 2 0x10 syz-executor.6 *53967 246440 46867 32767 7 0x4000010 syz-executor.6 41806 158682 11491 32767 3 0x90 nanoslp syz-executor.5 41806 401561 11491 32767 3 0x4000090 fsleep syz-executor.5 11491 346685 1949 32767 3 0x90 nanoslp syz-executor.5 1949 352325 69170 0 3 0x82 wait syz-executor.5 42843 119705 10997 32767 7 0x10 syz-executor.7 10997 469853 69170 0 3 0x82 wait syz-executor.7 59279 236131 86972 32767 3 0x90 nanoslp syz-executor.3 86972 359651 69170 0 3 0x82 wait syz-executor.3 5119 118118 0 0 3 0x14200 bored sosplice 75728 73819 83805 32767 3 0x90 nanoslp syz-executor.4 83805 380075 69170 0 3 0x82 wait syz-executor.4 46867 446746 59754 32767 3 0x90 nanoslp syz-executor.6 59754 370730 69170 0 3 0x82 wait syz-executor.6 18971 367227 68152 32767 3 0x10 biowait syz-executor.2 6791 459322 71059 32767 3 0x90 nanoslp syz-executor.1 68152 442460 69170 0 3 0x82 wait syz-executor.2 50934 327642 21356 32767 3 0x90 piperd syz-executor.0 71059 419770 69170 0 3 0x82 wait syz-executor.1 21356 393488 69170 0 3 0x82 wait syz-executor.0 69170 170114 52890 0 3 0x82 wait syz-fuzzer 69170 407867 52890 0 3 0x4000082 nanoslp syz-fuzzer 69170 306435 52890 0 3 0x4000082 thrsleep syz-fuzzer 69170 313589 52890 0 3 0x4000082 thrsleep syz-fuzzer 69170 281350 52890 0 3 0x4000082 thrsleep syz-fuzzer 69170 508335 52890 0 3 0x4000082 wait syz-fuzzer 69170 501419 52890 0 3 0x4000082 wait syz-fuzzer 69170 364544 52890 0 3 0x4000082 nanoslp syz-fuzzer 69170 414932 52890 0 3 0x4000082 thrsleep syz-fuzzer 69170 502433 52890 0 3 0x4000082 wait syz-fuzzer 69170 499805 52890 0 3 0x4000082 thrsleep syz-fuzzer 69170 449362 52890 0 3 0x4000082 wait syz-fuzzer 69170 316955 52890 0 3 0x4000082 wait syz-fuzzer 69170 432698 52890 0 3 0x4000082 kqread syz-fuzzer 69170 296788 52890 0 3 0x4000082 wait syz-fuzzer 69170 277567 52890 0 3 0x4000082 wait syz-fuzzer 52890 474682 60363 0 3 0x10008a sigsusp ksh 60363 252811 81597 0 3 0x9a kqread sshd 25965 378443 1 0 3 0x100083 ttyin getty 81597 416276 1 0 3 0x88 kqread sshd 93745 496165 56546 73 3 0x1100090 kqread syslogd 56546 323403 1 0 3 0x100082 netio syslogd 96201 245676 1 0 3 0x100080 kqread resolvd 812 170491 52331 77 3 0x100092 kqread dhcpleased 55853 289135 52331 77 3 0x100092 kqread dhcpleased 52331 113671 1 0 3 0x80 kqread dhcpleased 77875 95454 0 0 3 0x14200 bored smr 254 159799 0 0 2 0x14200 zerothread 45486 406417 0 0 3 0x14200 aiodoned aiodoned 36899 138644 0 0 3 0x14200 syncer update 59431 196339 0 0 3 0x14200 cleaner cleaner 58790 243005 0 0 3 0x14200 reaper reaper 80017 171153 0 0 3 0x14200 pgdaemon pagedaemon 2226 279555 0 0 3 0x14200 bored viomb 94541 396078 0 0 3 0x40014200 acpi0 acpi0 43890 381496 0 0 3 0x40014200 idle1 67712 215467 0 0 3 0x14200 bored softnet 65761 284136 0 0 3 0x14200 bored softnet 37966 223573 0 0 3 0x14200 bored softnet 19811 81362 0 0 3 0x14200 bored softnet 99352 429838 0 0 3 0x14200 bored systqmp 30933 123772 0 0 3 0x14200 bored systq 14289 111935 0 0 3 0x40014200 bored softclock 79783 276118 0 0 3 0x40014200 idle0 1 481777 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 53967 (syz-executor.6) thread 0xffff800021300550 (246440) 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 42843 (syz-executor.7) thread 0xffff80002c26a000 (119705) exclusive rrwlock inode r = 0 (0xfffffd8069043920) #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 vget+0x1fc sys/kern/vfs_subr.c:676 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x7c sys/ufs/ffs/ffs_vfsops.c:1324 #8 ufs_lookup+0x13ba sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x58 sys/kern/vfs_vops.c:85 #10 vfs_lookup+0x6e5 sys/kern/vfs_lookup.c:560 #11 namei+0x36a sys/kern/vfs_lookup.c:244 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #13 syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #13 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8077abeb38) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #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 Process 18971 (syz-executor.2) thread 0xffff80002127d268 (367227) exclusive rrwlock inode r = 0 (0xfffffd806a8ab5f0) #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 (0xfffffd8069244a28) #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 10219 6413K 6420K 78643K 11332 0 pcb 13 12K 14K 78643K 17 0 rtable 246 7K 7K 78643K 1499 0 ifaddr 82 17K 17K 78643K 135 0 sysctl 2 0K 2K 78643K 7 0 counters 56 35K 35K 78643K 70 0 ioctlops 0 0K 2K 78643K 65 0 iov 0 0K 32K 78643K 1197 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1271 79K 79K 78643K 6540 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 152 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 2805 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 117K 78643K 8981 0 sigio 0 0K 0K 78643K 129 0 proc 56 78K 115K 78643K 1249 0 subproc 104 6K 6K 78643K 195 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 715 0 in_multi 99 6K 7K 78643K 347 0 ether_multi 1 0K 0K 78643K 77 0 mrt 2 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 259 1155K 1155K 78643K 259 0 exec 0 0K 2K 78643K 1875 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 341 93K 105K 78643K 56518 0 UVM aobj 131 6K 6K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 275 0 NDP 11 0K 2K 78643K 48 0 temp 124 4726K 4854K 78643K 25230 0 kqueue 12 18K 28K 78643K 1127 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 4676 0 4673 58 57 1 5 0 8 0 rtentry 112 206 0 90 4 0 4 4 0 8 0 unpcb 144 10369 0 10355 94 88 6 10 0 8 5 syncache 296 106 0 106 23 23 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 40 0 40 15 15 0 1 0 8 0 tcpcb 768 4087 0 4062 157 150 7 16 0 8 4 arp 120 34 0 15 1 0 1 1 0 8 0 ipq 40 11 0 11 4 4 0 1 0 8 0 ipqe 40 139 0 139 4 4 0 1 0 8 0 inpcb 368 9151 0 9132 191 181 10 14 0 8 8 nd6 48 61 0 32 1 0 1 1 0 8 0 kcovpl 48 15 0 7 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 829 0 360 33 2 31 31 0 8 0 art_table 32 830 0 360 4 0 4 4 0 8 0 art_node 16 205 0 99 1 0 1 1 0 8 0 semapl 112 2803 0 2793 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 17079 0 15626 92 0 92 92 0 8 0 ffsino 272 17079 0 15626 98 0 98 98 0 8 0 nchpl 144 29940 0 28307 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 110590 0 110589 6 5 1 2 0 8 0 percpumem 16 47 0 7 1 0 1 1 0 8 0 kstatmem 264 36 0 14 2 0 2 2 0 8 0 scxspl 216 75424 0 75423 37 35 2 8 0 8 1 plimitpl 152 2052 0 2029 8 7 1 2 0 8 0 sigapl 424 9259 0 9207 7 0 7 7 0 8 0 futexpl 64 86810 0 86809 6 5 1 1 0 8 0 knotepl 120 892 0 0 18 2 16 17 0 8 0 kqueuepl 216 2550 0 2541 47 46 1 5 0 8 0 pipepl 320 1851 0 1823 50 47 3 13 0 8 0 fdescpl 496 9241 0 9207 7 1 6 6 0 8 0 filepl 152 83097 0 82855 173 158 15 19 0 8 4 lockfpl 104 1300 0 1298 2 1 1 2 0 8 0 lockfspl 48 412 0 410 1 0 1 1 0 8 0 sessionpl 144 30 0 14 1 0 1 1 0 8 0 pgrppl 48 201 0 185 1 0 1 1 0 8 0 ucredpl 104 26242 0 26224 1 0 1 1 0 8 0 zombiepl 144 9207 0 9207 4 3 1 1 0 8 1 processpl 1064 9259 0 9207 4 0 4 4 0 8 0 procpl 672 27504 0 27435 30 22 8 9 0 8 0 sosppl 168 95 0 93 16 15 1 1 0 8 0 sockpl 488 24524 0 24490 598 585 13 34 0 8 8 mcl64k 65536 26 0 0 3 0 3 3 0 8 0 mcl16k 16384 33 0 0 4 1 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 28 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 3 0 3 3 0 8 0 mcl4k 4096 33 0 0 3 0 3 3 0 8 0 mcl2k2 2112 10 0 0 1 0 1 1 0 8 0 mcl2k 2048 480 0 0 41 21 20 41 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 7044 0 0 416 0 416 416 0 8 0 bufpl 288 17173 0 10847 453 0 453 453 0 8 0 anonpl 24 1937783 0 1925923 287 160 127 132 0 186 26 amapchunkpl 152 174470 0 173835 102 73 29 47 0 158 1 amappl16 200 32777 0 32394 215 191 24 46 0 8 3 amappl15 192 2151 0 2144 1 0 1 1 0 8 0 amappl14 184 40 0 34 1 0 1 1 0 8 0 amappl13 176 1219 0 1216 1 0 1 1 0 8 0 amappl12 168 1619 0 1610 1 0 1 1 0 8 0 amappl11 160 1942 0 1925 1 0 1 1 0 8 0 amappl10 152 20 0 19 2 1 1 1 0 8 0 amappl9 144 573 0 569 1 0 1 1 0 8 0 amappl8 136 3243 0 3101 6 1 5 5 0 8 0 amappl7 128 2419 0 2394 1 0 1 1 0 8 0 amappl6 120 341 0 325 2 1 1 2 0 8 0 amappl5 112 8360 0 8345 1 0 1 1 0 8 0 amappl4 104 3197 0 3151 2 0 2 2 0 8 0 amappl3 96 29971 0 29913 3 1 2 3 0 8 0 amappl2 88 2563 0 2522 2 1 1 2 0 8 0 amappl1 80 232300 0 231622 27 10 17 19 0 8 0 amappl 88 55362 0 55185 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 9242 0 9208 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9242 0 9208 1 0 1 1 0 8 0 vmmpekpl 168 81024 0 80956 4 0 4 4 0 8 0 vmmpepl 168 918347 0 915691 285 141 144 149 0 357 13 vmsppl 368 9241 0 9208 4 0 4 4 0 8 0 rwobjpl 56 239983 0 232515 135 25 110 113 0 8 0 pdppl 4096 18491 0 18416 423 342 81 91 0 8 6 pvpl 32 3652126 0 3635135 564 346 218 255 0 265 45 pmappl 248 9241 0 9208 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1777 0 554 36 0 36 36 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 __mp_acquire_count(ffffffff82a8cef8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff80002963a290,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd806d845390,11,ffffffff8261c39f,0) at tsleep+0x12c sys/kern/kern_synch.c:155 biowait(fffffd806d845390) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd806d845390) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs_update(fffffd8069043888,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd8069043888,0,4,fffffd807f7d73a8) at ffs_truncate+0xcec ufs_rmdir(ffff80002963a698) at ufs_rmdir+0x3e1 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd80697d6b38,fffffd806ac421c0,ffff80002963a778) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 end trace frame: 0xffff80002963a810, 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0xb sys/dev/kcov.c:144 __mp_acquire_count(ffffffff82a8cef8,1) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff80002963a290,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 tsleep(fffffd806d845390,11,ffffffff8261c39f,0) at tsleep+0x12c sys/kern/kern_synch.c:155 biowait(fffffd806d845390) at biowait+0x91 sys/kern/vfs_bio.c:1268 bwrite(fffffd806d845390) at bwrite+0x21b sys/kern/vfs_bio.c:769 ffs_update(fffffd8069043888,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd8069043888,0,4,fffffd807f7d73a8) at ffs_truncate+0xcec ufs_rmdir(ffff80002963a698) at ufs_rmdir+0x3e1 sys/ufs/ufs/ufs_vnops.c:1343 VOP_RMDIR(fffffd80697d6b38,fffffd806ac421c0,ffff80002963a778) at VOP_RMDIR+0x122 sys/kern/vfs_vops.c:407 dounlinkat(ffff80002c26a000,ffffff9c,7f7ffffcad00,8) at dounlinkat+0x20e sys/kern/vfs_syscalls.c:1881 syscall(ffff80002963a8f0) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002963a8f0) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcacf0, 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:437 panic(ffffffff82585177) at panic+0x177 sys/kern/subr_prf.c:198 witness_assert(fffffd80776bd620,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd80776bdbc0,0,0,0) at sosplice+0x550 sosetopt(fffffd80776bdbc0,ffff,1023,fffffd805bb5e600) at sosetopt+0x7f4 sys_setsockopt(ffff800021300550,ffff80002962aa98,ffff80002962aae0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002962ab60) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002962ab60) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce6ee60f890, 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(fffffd80776bd620,4) at witness_assert+0x3ef sys/kern/subr_witness.c:1950 sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 soassertlocked sys/kern/uipc_socket2.c:414 [inline] sbunlock(fffffd80776bd608,fffffd80776bd750) at sbunlock+0xc9 sys/kern/uipc_socket2.c:479 sosplice(fffffd80776bdbc0,0,0,0) at sosplice+0x550 sosetopt(fffffd80776bdbc0,ffff,1023,fffffd805bb5e600) at sosetopt+0x7f4 sys_setsockopt(ffff800021300550,ffff80002962aa98,ffff80002962aae0) at sys_setsockopt+0x1f6 sys/kern/uipc_syscalls.c:1233 syscall(ffff80002962ab60) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002962ab60) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xce6ee60f890, count: -9