panic: Thread 0xffff800020b92018 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 405381 2784 73 0x100010 0 0 syslogd *371340 92014 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(cf0d33b748e33f5e) 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 0xffff800020b92018 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(cf0d33b748e33f5e) 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 0xffff800020b67940 rbx 0xffff800020b679e0 rdx 0xffffffff81ecc876 cmd0646_9_tim_udma+0x15f95 rcx 0 rax 0 r8 0xffffffff81c79d54 kprintf+0x174 r9 0x1 r10 0x94999e00b55dc1a6 r11 0x6b6661ff349a0012 r12 0x3000000008 r13 0xffff800020b67950 r14 0x100 r15 0x1 rip 0xffffffff81885668 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67930 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=371340 stat=onproc flags process=14000 proc=200 pri=4, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800020b204b0,0xffff800020b21528 process=0xffff800020b5ad28 user=0xffff800020b62000, vmspace=0xffffffff822f21c0 estcpu=3, cpticks=2, pctcpu=0.54 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 48436 342778 52343 32767 2 0x10 syz-executor0 48436 32392 52343 32767 3 0x4000010 inode syz-executor0 52343 2235 22212 32767 3 0x90 nanosleep syz-executor0 22212 241274 28664 0 3 0x82 wait syz-executor0 90944 496271 55906 32767 3 0x90 nanosleep syz-executor1 55906 323800 28664 0 3 0x82 wait syz-executor1 7516 175494 0 0 3 0x14200 bored sosplice 28664 117972 93996 0 3 0x82 thrsleep syz-fuzzer 28664 45751 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 326230 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 3781 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 180275 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 273484 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 366147 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 412464 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 223525 93996 0 3 0x4000082 thrsleep syz-fuzzer 28664 179530 93996 0 3 0x4000082 kqread syz-fuzzer 93996 327558 93532 0 3 0x10008a pause ksh 93532 266835 49644 0 3 0x92 select sshd 30440 284339 1 0 3 0x100083 ttyin getty 49644 404554 1 0 3 0x80 select sshd 2784 405381 16695 73 7 0x100010 syslogd 16695 249763 1 0 3 0x100082 netio syslogd 11686 153541 1 77 3 0x100090 poll dhclient 59805 381815 1 0 3 0x80 poll dhclient 28223 299131 0 0 3 0x14200 pgzero zerothread 35509 115648 0 0 3 0x14200 aiodoned aiodoned 19088 207101 0 0 3 0x14200 syncer update 42985 354033 0 0 3 0x14200 cleaner cleaner *92014 371340 0 0 7 0x14200 reaper 59440 370302 0 0 3 0x14200 pgdaemon pagedaemon 33883 129128 0 0 3 0x14200 bored crynlk 65074 620 0 0 3 0x14200 bored crypto 75485 249445 0 0 3 0x40014200 acpi0 acpi0 27775 282389 0 0 3 0x40014200 idle1 758 371309 0 0 3 0x14200 bored softnet 39303 31785 0 0 3 0x14200 bored systqmp 88564 498376 0 0 3 0x14200 bored systq 83801 481287 0 0 3 0x40014200 bored softclock 67414 245359 0 0 3 0x40014200 idle0 1 505085 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper