Warning: Permanently added '10.128.0.124' (ECDSA) to the list of known hosts. 2019/01/28 04:27:22 parsed 1 programs 2019/01/28 04:27:27 executed programs: 0 witness: thread 0xffff800020b93080 exiting with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806c21b1b8) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 panic: thread 0xffff800020b93080 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 404729 62478 73 0x100010 0 0 syslogd *201095 55157 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(d97e71e68fa916ff) 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{1}> ddb{1}> set $lines = 0 ddb{1}> show panic thread 0xffff800020b93080 cannot exit while holding sleeplocks ddb{1}> trace db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(d97e71e68fa916ff) at witness_thread_exit+0x244 reaper(0) at reaper+0x14f end trace frame: 0x0, count: -4 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b67620 rbx 0xffff800020b676c0 rdx 0xffffffff81ec88ae cmd0646_9_tim_udma+0x18cbf rcx 0x201 rax 0x1 r8 0xffffffff81aa9b64 kprintf+0x174 r9 0x1 r10 0x445b41c20c6c653 r11 0x8ef3d79f0f3551a2 r12 0x3000000008 r13 0xffff800020b67630 r14 0x100 r15 0x1 rip 0xffffffff819d4fa8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67610 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (reaper) pid=201095 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b21770,0xffff800020b21c30 process=0xffff800020b5a698 user=0xffff800020b62000, vmspace=0xffffffff822dc6f0 estcpu=1, cpticks=4, pctcpu=0.3 user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39421 495505 36213 0 2 0 syz-executor0 39421 181241 36213 0 3 0x4000080 ttyout syz-executor0 39421 285152 36213 0 3 0x4000080 fsleep syz-executor0 39421 364175 36213 0 2 0x4000000 syz-executor0 30860 1099 77455 0 3 0x82 nanosleep syz-executor1 36213 245298 77455 0 3 0x82 nanosleep syz-executor0 77455 99846 31548 0 3 0x82 kqread syz-execprog 77455 123201 31548 0 3 0x4000082 thrsleep syz-execprog 77455 55281 31548 0 3 0x4000082 thrsleep syz-execprog 77455 112267 31548 0 3 0x4000082 thrsleep syz-execprog 77455 47270 31548 0 3 0x4000082 thrsleep syz-execprog 77455 279092 31548 0 3 0x4000082 thrsleep syz-execprog 77455 386452 31548 0 3 0x4000082 thrsleep syz-execprog 77455 362531 31548 0 3 0x4000082 thrsleep syz-execprog 77455 160793 31548 0 3 0x4000082 thrsleep syz-execprog 31548 511481 13300 0 3 0x10008a pause ksh 13300 41443 3024 0 3 0x92 select sshd 2334 230362 1 0 3 0x100083 ttyin getty 3024 356993 1 0 3 0x80 select sshd 62478 404729 12190 73 7 0x100010 syslogd 12190 342468 1 0 3 0x100082 netio syslogd 261 400324 1 77 3 0x100090 poll dhclient 45869 153905 1 0 3 0x80 poll dhclient 24444 412792 0 0 3 0x14200 pgzero zerothread 63379 269374 0 0 3 0x14200 aiodoned aiodoned 55923 384912 0 0 3 0x14200 syncer update 99176 268926 0 0 3 0x14200 cleaner cleaner *55157 201095 0 0 7 0x14200 reaper 68306 121522 0 0 3 0x14200 pgdaemon pagedaemon 56705 306574 0 0 3 0x14200 bored crynlk 48728 144817 0 0 3 0x14200 bored crypto 84395 8930 0 0 3 0x40014200 acpi0 acpi0 76009 123211 0 0 3 0x40014200 idle1 96368 428087 0 0 3 0x14200 bored softnet 8856 392753 0 0 3 0x14200 bored systqmp 98070 145088 0 0 3 0x14200 bored systq 36140 341998 0 0 3 0x40014200 bored softclock 91524 501706 0 0 3 0x40014200 idle0 1 291384 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 62478 (syslogd) thread 0xffff800020be5c30 (404729) exclusive rrwlock inode r = 0 (0xfffffd806eb8a098) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 ddb{1}>