From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f70.google.com ([209.85.214.70]:56752 "EHLO mail-it0-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbeGLP7K (ORCPT ); Thu, 12 Jul 2018 11:59:10 -0400 Received: by mail-it0-f70.google.com with SMTP id g4-v6so4902629itf.6 for ; Thu, 12 Jul 2018 08:49:03 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 12 Jul 2018 08:49:02 -0700 Message-ID: <0000000000006a10de0570cf4d66@google.com> Subject: WARNING: lock held when returning to user space in fuse_lock_inode From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, miklos@szeredi.hu, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, syzbot found the following crash on: HEAD commit: c25c74b7476e Merge tag 'trace-v4.18-rc3-2' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=177bcec2400000 kernel config: https://syzkaller.appspot.com/x/.config?x=25856fac4e580aa7 dashboard link: https://syzkaller.appspot.com/bug?extid=3f7b29af1baa9d0a55be compiler: gcc (GCC) 8.0.1 20180413 (experimental) syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=13aa7678400000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17492678400000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+3f7b29af1baa9d0a55be@syzkaller.appspotmail.com random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) random: sshd: uninitialized urandom read (32 bytes read) ================================================ WARNING: lock held when returning to user space! 4.18.0-rc4+ #143 Not tainted ------------------------------------------------ syz-executor012/4539 is leaving the kernel with locks still held! 1 lock held by syz-executor012/4539: #0: (____ptrval____) (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:363 --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches