Warning: Permanently added '10.128.0.154' (ECDSA) to the list of known hosts. 2019/01/24 11:23:04 parsed 1 programs 2019/01/24 11:23:10 executed programs: 0 Thread 0xffff800020bbb2d8 exiting with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806c0ce0a8) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 panic: Thread 0xffff800020bbb2d8 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 54214 56233 32767 0x10 0 1 syz-executor1 *202908 78634 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(d518802fd45cef17) at witness_thread_exit+0x244 reaper(0) at reaper+0x14f 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 0xffff800020bbb2d8 cannot exit while holding sleeplocks ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(d518802fd45cef17) at witness_thread_exit+0x244 reaper(0) at reaper+0x14f end trace frame: 0x0, count: -4 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b66e70 rbx 0xffff800020b66f10 rdx 0xffffffff81ec3ef0 cmd0646_9_tim_udma+0x1592a rcx 0x201 rax 0x1 r8 0xffffffff815d9fe4 kprintf+0x174 r9 0x1 r10 0x7ffd466ceb75b794 r11 0xeefd0419f4542437 r12 0x3000000008 r13 0xffff800020b66e80 r14 0x100 r15 0x1 rip 0xffffffff81391848 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b66e60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=202908 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b212c0,0xffff800020b21c30 process=0xffff800020b5ad28 user=0xffff800020b62000, vmspace=0xffffffff822de998 estcpu=1, cpticks=3, pctcpu=0.4 user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 56233 54214 33220 32767 7 0x10 syz-executor1 82990 225719 1492 32767 2 0x490 syz-executor0 33220 286957 55928 0 3 0x82 wait syz-executor1 1492 1673 55928 0 3 0x82 wait syz-executor0 55928 308013 57422 0 3 0x82 thrsleep syz-execprog 55928 503188 57422 0 3 0x4000082 thrsleep syz-execprog 55928 364460 57422 0 3 0x4000082 thrsleep syz-execprog 55928 224894 57422 0 3 0x4000082 thrsleep syz-execprog 55928 177645 57422 0 3 0x4000082 thrsleep syz-execprog 55928 199953 57422 0 3 0x4000082 kqread syz-execprog 55928 515781 57422 0 3 0x4000082 thrsleep syz-execprog 55928 196003 57422 0 3 0x4000082 thrsleep syz-execprog 55928 430108 57422 0 3 0x4000082 thrsleep syz-execprog 57422 242169 7045 0 3 0x10008a pause ksh 7045 304116 22442 0 3 0x92 select sshd 9542 158389 1 0 3 0x100083 ttyin getty 22442 200218 1 0 3 0x80 select sshd 28270 216037 19843 73 3 0x100010 ffs_fsync syslogd 19843 195260 1 0 3 0x100082 netio syslogd 56390 12642 1 77 3 0x100090 poll dhclient 83899 216549 1 0 3 0x80 poll dhclient 51044 180318 0 0 3 0x14200 pgzero zerothread 26303 326366 0 0 3 0x14200 aiodoned aiodoned 18976 47928 0 0 3 0x14200 syncer update 5762 56793 0 0 3 0x14200 cleaner cleaner *78634 202908 0 0 7 0x14200 reaper 83415 102134 0 0 3 0x14200 pgdaemon pagedaemon 96783 333091 0 0 3 0x14200 bored crynlk 61872 467449 0 0 3 0x14200 bored crypto 49025 208120 0 0 3 0x40014200 acpi0 acpi0 82407 34352 0 0 3 0x40014200 idle1 84077 107300 0 0 3 0x14200 bored softnet 21683 483827 0 0 3 0x14200 bored systqmp 54516 66584 0 0 3 0x14200 bored systq 93816 507815 0 0 3 0x40014200 bored softclock 82045 271665 0 0 3 0x40014200 idle0 1 76512 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}>