panic: Thread 0xffff800020bbb9e0 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 440894 70138 73 0x100010 0 1K syslogd *232677 42039 0 0x14000 0x200 0 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(195efa937a2dc9cb) 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{0}> ddb{0}> set $lines = 0 ddb{0}> show panic Thread 0xffff800020bbb9e0 cannot exit while holding sleeplocks ddb{0}> 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(195efa937a2dc9cb) 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{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b67be0 rbx 0xffff800020b67c80 rdx 0xffffffff81ecc876 cmd0646_9_tim_udma+0x15f95 rcx 0 rax 0 r8 0xffffffff81c79d54 kprintf+0x174 r9 0x1 r10 0xf3d7ca300cfa99a5 r11 0xc2835cf8d3d5811 r12 0x3000000008 r13 0xffff800020b67bf0 r14 0x100 r15 0x1 rip 0xffffffff81885668 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67bd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=232677 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b20960,0xffff800020b21078 process=0xffff800020b5a350 user=0xffff800020b62000, vmspace=0xffffffff822f21c0 estcpu=1, cpticks=6, pctcpu=0.20 user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 70823 382311 52928 32767 3 0x3010 suspend syz-executor0 70823 475709 52928 32767 3 0x4081010 inode syz-executor0 52928 262605 26774 32767 2 0x490 syz-executor0 26774 7475 95770 0 3 0x82 wait syz-executor0 97176 491481 81817 32767 2 0x490 syz-executor1 81817 213841 95770 0 3 0x82 wait syz-executor1 16389 495500 0 0 3 0x14200 bored sosplice 95770 171428 12529 0 3 0x82 thrsleep syz-fuzzer 95770 82874 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 436764 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 432811 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 383471 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 334928 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 174560 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 382725 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 270285 12529 0 3 0x4000082 kqread syz-fuzzer 95770 477412 12529 0 3 0x4000082 thrsleep syz-fuzzer 95770 101002 12529 0 3 0x4000082 thrsleep syz-fuzzer 12529 422602 28186 0 3 0x10008a pause ksh 28186 257919 97564 0 3 0x92 select sshd 82460 522630 1 0 3 0x100083 ttyin getty 97564 145797 1 0 3 0x80 select sshd 70138 440894 92655 73 7 0x100010 syslogd 92655 321734 1 0 3 0x100082 netio syslogd 18781 159223 1 77 3 0x100090 poll dhclient 52069 419091 1 0 3 0x80 poll dhclient 16685 69682 0 0 3 0x14200 pgzero zerothread 69083 311095 0 0 3 0x14200 aiodoned aiodoned 30347 349781 0 0 3 0x14200 syncer update 97509 436154 0 0 3 0x14200 cleaner cleaner *42039 232677 0 0 7 0x14200 reaper 90431 244795 0 0 3 0x14200 pgdaemon pagedaemon 78257 129122 0 0 3 0x14200 bored crynlk 32733 43100 0 0 3 0x14200 bored crypto 96235 176954 0 0 3 0x40014200 acpi0 acpi0 53816 233623 0 0 3 0x40014200 idle1 61340 215995 0 0 3 0x14200 bored softnet 50550 118021 0 0 3 0x14200 bored systqmp 93237 521962 0 0 3 0x14200 bored systq 83383 492308 0 0 3 0x40014200 bored softclock 71235 507446 0 0 3 0x40014200 idle0 1 55960 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper