panic: Thread 0xffff800020be5c30 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 72548 42107 73 0x100010 0 0 syslogd * 35487 94007 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(9ad0fa457711f6ad) 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 0xffff800020be5c30 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(9ad0fa457711f6ad) 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 0xffff800020b67660 rbx 0xffff800020b67700 rdx 0xffffffff81ec577a cmd0646_9_tim_udma+0x16395 rcx 0x201 rax 0x1 r8 0xffffffff81788154 kprintf+0x174 r9 0x1 r10 0x820d8a603a7a6d1c r11 0x8b90e648a3f226e5 r12 0x3000000008 r13 0xffff800020b67670 r14 0x100 r15 0x1 rip 0xffffffff81107618 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67650 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=35487 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b21068,0xffff800020b219d8 process=0xffff800020b5ad28 user=0xffff800020b62000, vmspace=0xffffffff822fc8c0 estcpu=1, cpticks=4, pctcpu=0.1 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60629 81220 93523 0 2 0 syz-executor1 60629 366306 93523 0 2 0x4000000 syz-executor1 93523 501112 75265 0 3 0x82 nanosleep syz-executor1 92842 177179 75265 0 3 0x82 nanosleep syz-executor0 75265 493344 22801 0 2 0x82 syz-execprog 75265 440881 22801 0 3 0x4000082 thrsleep syz-execprog 75265 286026 22801 0 3 0x4000082 thrsleep syz-execprog 75265 78768 22801 0 3 0x4000082 thrsleep syz-execprog 75265 3814 22801 0 3 0x4000082 thrsleep syz-execprog 75265 248799 22801 0 3 0x4000082 thrsleep syz-execprog 75265 195700 22801 0 3 0x4000082 thrsleep syz-execprog 75265 94167 22801 0 3 0x4000082 thrsleep syz-execprog 75265 263773 22801 0 3 0x4000082 thrsleep syz-execprog 22801 128058 47721 0 3 0x10008a pause ksh 47721 349486 7025 0 3 0x92 select sshd 9249 165317 1 0 3 0x100083 ttyin getty 7025 161996 1 0 3 0x80 select sshd 42107 72548 26640 73 7 0x100010 syslogd 26640 336869 1 0 3 0x100082 netio syslogd 69215 57949 1 77 3 0x100090 poll dhclient 45910 393411 1 0 3 0x80 poll dhclient 19898 347558 0 0 2 0x14200 zerothread 60889 377782 0 0 3 0x14200 aiodoned aiodoned 76076 493088 0 0 3 0x14200 syncer update 24084 228594 0 0 3 0x14200 cleaner cleaner *94007 35487 0 0 7 0x14200 reaper 37163 520346 0 0 3 0x14200 pgdaemon pagedaemon 79323 34906 0 0 3 0x14200 bored crynlk 96550 371971 0 0 3 0x14200 bored crypto 31147 10730 0 0 3 0x40014200 acpi0 acpi0 23411 518585 0 0 3 0x40014200 idle1 68613 502692 0 0 3 0x14200 bored softnet 4781 279742 0 0 3 0x14200 bored systqmp 46194 403891 0 0 3 0x14200 bored systq 31239 330625 0 0 3 0x40014200 bored softclock 17422 151897 0 0 3 0x40014200 idle0 1 440113 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}>