kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Mon Jan 28 06:14:45 PST 2019 OpenBSD/amd64 (ci-openbsd-setuid-7.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.238' (ECDSA) to the list of known hosts. 2019/01/28 06:15:11 parsed 1 programs 2019/01/28 06:15:19 executed programs: 0 login: witness: thread 0xffff800020b74008 exiting with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806e6db3d8) locked @ /syzkaller/managers/setuid/kernel/sys/ufs/ufs/ufs_vnops.c:1547 panic: thread 0xffff800020b74008 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 519378 2116 73 0x100010 0 1 syslogd * 96857 17259 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(8401deb2f7250be5) 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 0xffff800020b74008 cannot exit while holding sleeplocks ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(8401deb2f7250be5) 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 0xffff800020b67530 rbx 0xffff800020b675d0 rdx 0xffffffff81ec88ae cmd0646_9_tim_udma+0x18cbf rcx 0x201 rax 0x1 r8 0xffffffff81aa9b64 kprintf+0x174 r9 0x1 r10 0x540870d2243cd57b r11 0x240b39d17364cbf1 r12 0x3000000008 r13 0xffff800020b67540 r14 0x100 r15 0x1 rip 0xffffffff819d4fa8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67520 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=96857 stat=onproc flags process=14000 proc=200 pri=4, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020b212c0,0xffff800020b21c30 process=0xffff800020b5a350 user=0xffff800020b62000, vmspace=0xffffffff822dc6f0 estcpu=1, cpticks=3, pctcpu=0.5 user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59531 47492 37112 0 2 0x482 syz-executor0 37112 501508 17434 0 3 0x82 thrsleep syz-execprog 37112 230861 17434 0 3 0x4000082 thrsleep syz-execprog 37112 505342 17434 0 3 0x4000082 thrsleep syz-execprog 37112 280034 17434 0 3 0x4000082 thrsleep syz-execprog 37112 8997 17434 0 3 0x4000082 thrsleep syz-execprog 37112 129585 17434 0 3 0x4000082 kqread syz-execprog 37112 111351 17434 0 3 0x4000082 thrsleep syz-execprog 37112 36585 17434 0 3 0x4000082 thrsleep syz-execprog 17434 429242 9326 0 3 0x10008a pause ksh 9326 390954 69891 0 3 0x92 select sshd 46602 478805 1 0 3 0x100083 ttyin getty 69891 184318 1 0 3 0x80 select sshd 2116 519378 84399 73 7 0x100010 syslogd 84399 113504 1 0 3 0x100082 netio syslogd 20113 501943 1 77 3 0x100090 poll dhclient 60346 127588 1 0 3 0x80 poll dhclient 83502 385194 0 0 3 0x14200 pgzero zerothread 99929 94010 0 0 3 0x14200 aiodoned aiodoned 88889 45165 0 0 3 0x14200 syncer update 86262 36870 0 0 3 0x14200 cleaner cleaner *17259 96857 0 0 7 0x14200 reaper 39140 217400 0 0 3 0x14200 pgdaemon pagedaemon 50186 447817 0 0 3 0x14200 bored crynlk 60400 408046 0 0 3 0x14200 bored crypto 4418 372430 0 0 3 0x40014200 acpi0 acpi0 80082 511763 0 0 3 0x40014200 idle1 75334 491234 0 0 3 0x14200 bored softnet 81993 37585 0 0 3 0x14200 bored systqmp 56692 118644 0 0 3 0x14200 bored systq 87801 462744 0 0 3 0x40014200 bored softclock 71384 461606 0 0 3 0x40014200 idle0 1 178332 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}>