kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Jan 29 04:57:07 PST 2019 OpenBSD/amd64 (ci-openbsd-multicore-0.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.160' (ECDSA) to the list of known hosts. 2019/01/29 04:57:28 parsed 1 programs 2019/01/29 04:57:33 executed programs: 0 login: witness: thread 0xffff800020b744b8 exiting with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806d263b48) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 panic: thread 0xffff800020b744b8 cannot exit while holding sleeplocks Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 194910 88240 73 0x100010 0 1 syslogd *421904 36332 0 0x14000 0x200 0 reaper db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(e1895bcb749c56b8) 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 0xffff800020b744b8 cannot exit while holding sleeplocks ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x16c witness_thread_exit(e1895bcb749c56b8) 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 0xffff800020b67860 rbx 0xffff800020b67900 rdx 0xffffffff81f2fa3a apollo_pio_rec+0x9e58 rcx 0x201 rax 0x1 r8 0xffffffff8134b1f4 kprintf+0x174 r9 0x1 r10 0x149cb8d040d64c59 r11 0x663cb6e0a43bf209 r12 0x3000000008 r13 0xffff800020b67870 r14 0x100 r15 0x1 rip 0xffffffff8176ba08 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b67850 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (reaper) pid=421904 stat=onproc flags process=14000 proc=200 pri=4, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020b212c0,0xffff800020b21c30 process=0xffff800020b5a008 user=0xffff800020b62000, vmspace=0xffffffff82312540 estcpu=0, cpticks=3, pctcpu=0.5 user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34937 408619 54478 0 2 0x482 syz-executor0 54478 230343 69556 0 3 0x82 thrsleep syz-execprog 54478 514445 69556 0 3 0x4000082 thrsleep syz-execprog 54478 378395 69556 0 3 0x4000082 thrsleep syz-execprog 54478 155573 69556 0 3 0x4000082 thrsleep syz-execprog 54478 346183 69556 0 3 0x4000082 thrsleep syz-execprog 54478 376509 69556 0 3 0x4000082 thrsleep syz-execprog 54478 463288 69556 0 3 0x4000082 thrsleep syz-execprog 54478 348248 69556 0 3 0x4000082 kqread syz-execprog 54478 345243 69556 0 3 0x4000082 thrsleep syz-execprog 69556 361338 25755 0 3 0x10008a pause ksh 25755 259039 75907 0 3 0x92 select sshd 26895 55608 1 0 3 0x100083 ttyin getty 75907 81970 1 0 3 0x80 select sshd 88240 194910 12279 73 7 0x100010 syslogd 12279 515650 1 0 3 0x100082 netio syslogd 66807 350571 1 77 3 0x100090 poll dhclient 45181 66833 1 0 3 0x80 poll dhclient 60867 442436 0 0 3 0x14200 pgzero zerothread 24286 29677 0 0 3 0x14200 aiodoned aiodoned 42687 503598 0 0 3 0x14200 syncer update 36341 406635 0 0 3 0x14200 cleaner cleaner *36332 421904 0 0 7 0x14200 reaper 84461 50255 0 0 3 0x14200 pgdaemon pagedaemon 75744 366857 0 0 3 0x14200 bored crynlk 90238 191494 0 0 3 0x14200 bored crypto 60623 437669 0 0 3 0x40014200 acpi0 acpi0 51338 268653 0 0 3 0x40014200 idle1 17926 129410 0 0 3 0x14200 bored softnet 38997 357823 0 0 3 0x14200 bored systqmp 41765 144000 0 0 3 0x14200 bored systq 26463 224204 0 0 2 0x40014200 softclock 46949 238212 0 0 3 0x40014200 idle0 1 225616 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 88240 (syslogd) thread 0xffff800020be5c30 (194910) exclusive rrwlock inode r = 0 (0xfffffd806eb991a8) locked @ /syzkaller/managers/multicore/kernel/sys/ufs/ufs/ufs_vnops.c:1547 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9450 6318K 6318K 78643K 10537 0 0 pcb 23 9K 9K 78643K 55 0 0 rtable 79 2K 2K 78643K 141 0 0 ifaddr 28 8K 8K 78643K 28 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 2K 78643K 14 0 0 mount 1 1K