panic: Thread 0xffff800020b92e28 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 231494 34183 0 0x2 0x4000480 1 syz-fuzzer *182618 10746 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(c1c24746d78abc71) 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 0xffff800020b92e28 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(c1c24746d78abc71) 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 0xffff800020b67a30 rbx 0xffff800020b67ad0 rdx 0xffffffff81ecc876 cmd0646_9_tim_udma+0x15f95 rcx 0 rax 0 r8 0xffffffff81c79d54 kprintf+0x174 r9 0x1 r10 0xf260ffbdda07bbed r11 0xd9f00425bc07a59 r12 0x3000000008 r13 0xffff800020b67a40 r14 0x100 r15 0x1 rip 0xffffffff81885668 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67a20 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=182618 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b20e10,0xffff800020b21780 process=0xffff800020b5a008 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 14945 180222 67046 32767 2 0x10 syz-executor0 67046 263337 34183 0 3 0x82 wait syz-executor0 46869 217894 87704 32767 2 0x490 syz-executor1 87704 295289 34183 0 3 0x82 wait syz-executor1 88356 452740 0 0 3 0x14200 bored sosplice 34183 409075 85855 0 3 0x82 thrsleep syz-fuzzer 34183 231494 85855 0 7 0x4000482 syz-fuzzer 34183 499664 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 40070 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 5835 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 286054 85855 0 3 0x4000082 kqread syz-fuzzer 34183 70984 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 386793 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 80240 85855 0 3 0x4000082 thrsleep syz-fuzzer 34183 343267 85855 0 3 0x4000082 thrsleep syz-fuzzer 85855 436195 22940 0 3 0x10008a pause ksh 22940 69314 35012 0 3 0x92 select sshd 40536 103663 1 0 3 0x100083 ttyin getty 35012 23546 1 0 3 0x80 select sshd 6940 250237 69708 73 2 0x100010 syslogd 69708 435735 1 0 3 0x100082 netio syslogd 33040 348739 1 77 3 0x100090 poll dhclient 74784 399712 1 0 3 0x80 poll dhclient 38948 334880 0 0 3 0x14200 pgzero zerothread 49003 513249 0 0 3 0x14200 aiodoned aiodoned 7665 34007 0 0 3 0x14200 syncer update 51125 368340 0 0 3 0x14200 cleaner cleaner *10746 182618 0 0 7 0x14200 reaper 33737 469267 0 0 3 0x14200 pgdaemon pagedaemon 97997 242652 0 0 3 0x14200 bored crynlk 84 430347 0 0 3 0x14200 bored crypto 41276 235262 0 0 3 0x40014200 acpi0 acpi0 16416 54509 0 0 3 0x40014200 idle1 99110 339569 0 0 3 0x14200 bored softnet 91815 91217 0 0 3 0x14200 bored systqmp 51123 281380 0 0 3 0x14200 bored systq 49443 377453 0 0 3 0x40014200 bored softclock 61512 190494 0 0 3 0x40014200 idle0 1 492620 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper