panic: Thread 0xffff800020bbabd0 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 130376 83267 73 0x100010 0 0 syslogd *265774 26977 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(7b12b28af0881201) 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 0xffff800020bbabd0 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(7b12b28af0881201) 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 0xffff800020b67ce0 rbx 0xffff800020b67d80 rdx 0xffffffff81ecc876 cmd0646_9_tim_udma+0x15f95 rcx 0 rax 0 r8 0xffffffff81c79d54 kprintf+0x174 r9 0x1 r10 0x36257e42c9022bcc r11 0xc9da81bd48c5ea78 r12 0x3000000008 r13 0xffff800020b67cf0 r14 0x100 r15 0x1 rip 0xffffffff81885668 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67cd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=265774 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b20e10,0xffff800020b219d8 process=0xffff800020b5b3b8 user=0xffff800020b62000, vmspace=0xffffffff822f21c0 estcpu=1, cpticks=2, pctcpu=0.72 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20745 260140 1657 32767 3 0x90 piperd syz-executor0 1657 222681 44653 0 3 0x82 wait syz-executor0 34697 178052 7408 32767 3 0x90 nanosleep syz-executor1 7408 286926 44653 0 3 0x82 wait syz-executor1 95351 11765 0 0 3 0x14200 bored sosplice 44653 32242 21529 0 3 0x82 thrsleep syz-fuzzer 44653 346089 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 50081 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 420321 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 85316 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 463564 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 442158 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 409323 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 128503 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 324532 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 193364 21529 0 3 0x4000082 thrsleep syz-fuzzer 44653 374360 21529 0 3 0x4000082 kqread syz-fuzzer 21529 454372 36829 0 3 0x10008a pause ksh 36829 376395 83494 0 3 0x92 select sshd 97226 294692 1 0 3 0x100083 ttyin getty 83494 233233 1 0 3 0x80 select sshd 83267 130376 96995 73 7 0x100010 syslogd 96995 93647 1 0 3 0x100082 netio syslogd 63679 186332 1 77 3 0x100090 poll dhclient 53930 441931 1 0 3 0x80 poll dhclient 16739 382866 0 0 3 0x14200 pgzero zerothread 27280 355115 0 0 3 0x14200 aiodoned aiodoned 25727 487905 0 0 3 0x14200 syncer update 83851 329565 0 0 3 0x14200 cleaner cleaner *26977 265774 0 0 7 0x14200 reaper 45090 499213 0 0 3 0x14200 pgdaemon pagedaemon 23637 161227 0 0 3 0x14200 bored crynlk 89640 247621 0 0 3 0x14200 bored crypto 24141 276334 0 0 3 0x40014200 acpi0 acpi0 52315 316498 0 0 3 0x40014200 idle1 48017 398479 0 0 3 0x14200 bored softnet 65848 183589 0 0 3 0x14200 bored systqmp 18413 185376 0 0 3 0x14200 bored systq 27940 343540 0 0 3 0x40014200 bored softclock 61202 466787 0 0 3 0x40014200 idle0 1 225582 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper