panic: Thread 0xffff800020b939e0 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 17778 85478 32767 0x10 0x480 0 syz-executor0 *105359 87616 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(b5b461b519ef372) 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 0xffff800020b939e0 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(b5b461b519ef372) 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 0xffff800020b679c0 rbx 0xffff800020b67a60 rdx 0xffffffff81ec7fae cmd0646_9_tim_udma+0x14d39 rcx 0 rax 0 r8 0xffffffff81ba5254 kprintf+0x174 r9 0x1 r10 0x329cb3b70ead5791 r11 0x9f8562ce9fd769ab r12 0x3000000008 r13 0xffff800020b679d0 r14 0x100 r15 0x1 rip 0xffffffff817aed68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b679b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=105359 stat=onproc flags process=14000 proc=200 pri=4, usrpri=57, nice=20 forw=0xffffffffffffffff, list=0xffff800020b20e10,0xffff800020b21528 process=0xffff800020b5a350 user=0xffff800020b62000, vmspace=0xffffffff82313430 estcpu=7, cpticks=3, pctcpu=0.59 user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 16871 148299 29640 32767 2 0x10 syz-executor1 16871 420115 29640 32767 2 0x4000010 syz-executor1 29640 218488 95996 32767 2 0x490 syz-executor1 95996 458449 58607 0 3 0x82 wait syz-executor1 85478 17778 51428 32767 7 0x490 syz-executor0 51428 253903 58607 0 3 0x82 wait syz-executor0 2840 518704 0 0 3 0x14200 bored sosplice 58607 407680 43422 0 3 0x82 thrsleep syz-fuzzer 58607 259766 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 361937 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 478289 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 354955 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 265137 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 335628 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 230428 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 201588 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 125348 43422 0 3 0x4000082 thrsleep syz-fuzzer 58607 442339 43422 0 3 0x4000082 kqread syz-fuzzer 58607 441581 43422 0 3 0x4000082 thrsleep syz-fuzzer 43422 305752 32344 0 3 0x10008a pause ksh 32344 116748 48987 0 3 0x92 select sshd 80998 61028 1 0 3 0x100083 ttyin getty 48987 121952 1 0 3 0x80 select sshd 81901 171579 42147 73 3 0x100010 ffs_fsync syslogd 42147 498419 1 0 3 0x100082 netio syslogd 71465 332234 1 77 3 0x100090 poll dhclient 73875 36898 1 0 3 0x80 poll dhclient 78314 313291 0 0 3 0x14200 pgzero zerothread 73440 104090 0 0 3 0x14200 aiodoned aiodoned 63707 412227 0 0 3 0x14200 syncer update 3052 470490 0 0 3 0x14200 cleaner cleaner *87616 105359 0 0 7 0x14200 reaper 64111 473077 0 0 3 0x14200 pgdaemon pagedaemon 38454 227815 0 0 3 0x14200 bored crynlk 30339 205062 0 0 3 0x14200 bored crypto 53177 303052 0 0 3 0x40014200 acpi0 acpi0 54837 357272 0 0 3 0x40014200 idle1 3004 145673 0 0 3 0x14200 bored softnet 76297 211627 0 0 3 0x14200 bored systqmp 16537 106934 0 0 3 0x14200 bored systq 23479 376970 0 0 3 0x40014200 bored softclock 41958 145079 0 0 3 0x40014200 idle0 1 359628 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper