panic: Thread 0xffff800020b93080 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 93251 58043 73 0x100010 0 0 syslogd *347869 65088 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(23d9656bbcb68686) 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 0xffff800020b93080 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(23d9656bbcb68686) 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 0xffff800020b66eb0 rbx 0xffff800020b66f50 rdx 0xffffffff81ec7fae cmd0646_9_tim_udma+0x14d39 rcx 0 rax 0 r8 0xffffffff81ba5254 kprintf+0x174 r9 0x1 r10 0xeb02a034be565b5 r11 0x624ffd1614902f31 r12 0x3000000008 r13 0xffff800020b66ec0 r14 0x100 r15 0x1 rip 0xffffffff817aed68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b66ea0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=347869 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b20e10,0xffff800020b21c30 process=0xffff800020b5a008 user=0xffff800020b62000, vmspace=0xffffffff82313430 estcpu=1, cpticks=3, pctcpu=0.41 user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 32638 334771 41650 32767 3 0x90 piperd syz-executor1 41650 103798 31426 0 3 0x82 wait syz-executor1 48360 458377 44384 32767 3 0x90 nanosleep syz-executor0 44384 481078 31426 0 3 0x82 wait syz-executor0 42839 415125 0 0 3 0x14200 bored sosplice 31426 406843 27944 0 3 0x82 thrsleep syz-fuzzer 31426 385006 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 517942 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 411996 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 449637 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 280580 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 341213 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 413832 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 50241 27944 0 3 0x4000082 thrsleep syz-fuzzer 31426 116023 27944 0 3 0x4000082 kqread syz-fuzzer 27944 395095 12405 0 3 0x10008a pause ksh 12405 3490 47115 0 3 0x92 select sshd 89780 87920 1 0 3 0x100083 ttyin getty 47115 12313 1 0 3 0x80 select sshd 58043 93251 23768 73 7 0x100010 syslogd 23768 126573 1 0 3 0x100082 netio syslogd 14718 426778 1 77 3 0x100090 poll dhclient 275 225655 1 0 3 0x80 poll dhclient 63603 27383 0 0 3 0x14200 pgzero zerothread 63845 493282 0 0 3 0x14200 aiodoned aiodoned 24286 131650 0 0 3 0x14200 syncer update 73798 499894 0 0 3 0x14200 cleaner cleaner *65088 347869 0 0 7 0x14200 reaper 12830 348383 0 0 3 0x14200 pgdaemon pagedaemon 29121 231757 0 0 3 0x14200 bored crynlk 30440 149835 0 0 3 0x14200 bored crypto 16681 166905 0 0 3 0x40014200 acpi0 acpi0 98296 409179 0 0 3 0x40014200 idle1 84095 77449 0 0 3 0x14200 bored softnet 33856 397668 0 0 3 0x14200 bored systqmp 86142 175111 0 0 3 0x14200 bored systq 57348 4290 0 0 3 0x40014200 bored softclock 67582 413812 0 0 3 0x40014200 idle0 1 60609 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper