login: witness: thread 0xffff800020be5078 exiting with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806d38f0a8) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 panic: thread 0xffff800020be5078 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 269727 25430 73 0x100010 0 0 syslogd * 26549 44126 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x16c sys/kern/subr_prf.c:208 witness_thread_exit(c47ebb29993326db) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377 reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412 end trace frame: 0x0, count: 11 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}> show panic thread 0xffff800020be5078 cannot exit while holding sleeplocks ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x16c sys/kern/subr_prf.c:208 witness_thread_exit(c47ebb29993326db) at witness_thread_exit+0x244 sys/kern/subr_witness.c:1377 reaper(0) at reaper+0x14f sys/kern/kern_exit.c:412 end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b674f0 rbx 0xffff800020b67590 rdx 0xffffffff81f33250 cy_pio_rec+0x41b4 rcx 0x201 rax 0x1 r8 0xffffffff81df7814 kprintf+0x174 r9 0x1 r10 0x85db9422cdeed693 r11 0xb911823ec3742b12 r12 0x3000000008 r13 0xffff800020b67500 r14 0x100 r15 0x1 rip 0xffffffff8100c2e8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b674e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}>