Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1850627imm; Thu, 12 Jul 2018 08:49:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfcXyLq4BGO0F6SQRHJVDPSGF5tVoWzFDI5xi+UGBf2kZehjDSRpqrZzQ1NU9avp+eAv1E5 X-Received: by 2002:a62:c90a:: with SMTP id k10-v6mr2952672pfg.180.1531410595454; Thu, 12 Jul 2018 08:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531410595; cv=none; d=google.com; s=arc-20160816; b=sKghHDIeHfPz0RjFRhLaSfLybySOLiYDn74zQEtTpypkIziU7HDaYBTThwPOIdTNpf kH3wCUdzBransPhhIDPbmh+tmvkdOqTNzcwoN+kIeajcrrRVLr/8/kaLbOBJW1x8dhfV c659qWyQgYzIuGuUe6rjVH5GH00mp5FGOWJDyHSOEZgiPoLlBZLtPNWLn+Uc6x/v3gmB v2c6CJIOxLGrMEiTWUg7/Xl81SpvdfS2to/4cfte8/+mkamxXptANoYl9C49+kzLneky Itdfk5veX0SBZ8beeh4jMwnb7CRN9CghBM0D12y67go17pvs86lcdpfARb8rGuf+gki7 RLUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version:arc-authentication-results; bh=Qe/cckM18hiuvvZCNNqtKoIGt5g/cnkP8bpzBdOHzNU=; b=swZ3x4MaG9h2Vqkzz0cYjg3xCLfeOU4HtdVPimKFG2xIU1OmT4KoXbyNjpehIfLQU0 Zf9Mkp1pyQGSzRCBV9N2AMAXGUfSJuI1WgkwMBsTOuGF4uWvbqPsaytswo/unvKHFsmj dlbd1oNXwDSX6oYVmuilR9eLOnxuTvoJrn2iqBiwbzsQJ01chBTRU9T3xE1pM0OHs2Mj vseZCHNPUWtZN1HhIrVHwyELVmTKUt2hymJvhTTOu+4U29WCspqQK/Lh/KUhmA4rQGpf nZFzcVUbN8SOJWOORtCYZ5r4TZzZQ+s2bNjbhu0XS6KuznDFfelq0duA5N1NLtXQn3gi FnQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g65-v6si22986227pfc.36.2018.07.12.08.49.39; Thu, 12 Jul 2018 08:49:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727092AbeGLP7K (ORCPT + 99 others); Thu, 12 Jul 2018 11:59:10 -0400 Received: from mail-it0-f69.google.com ([209.85.214.69]:60366 "EHLO mail-it0-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726800AbeGLP7K (ORCPT ); Thu, 12 Jul 2018 11:59:10 -0400 Received: by mail-it0-f69.google.com with SMTP id o186-v6so4894845ita.9 for ; Thu, 12 Jul 2018 08:49:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Qe/cckM18hiuvvZCNNqtKoIGt5g/cnkP8bpzBdOHzNU=; b=uTm1tgN3gfeFiClhUVAdoxyYjERn81vag7wWALbjhlZb4404AauGSE0goxgaHJ8a0X 9A+F4ihgvVFp49E7XuRpMa4TC/qJOBkyYAM4KnlQfR6jKXe2pb34Q0IDi7uLM+fI0hCq bueSVfhPrt167JbgPp15RhwIRRlpiRX3mlZ37hHOCxlOWLeAbdmrdmjTTHYiXumGtHzq MP7m1Az+18I/UPQAoXJn+1okSjESJrQSg1jHhUKRlQk5bYqb7mgFpjlBmCFpLcPrXEAW thPhihArpySt0uLMUFygjfQLqU3FQVLDfsVpiXj0WrXVcbL2Gi2kukK4QfQBS9GXADfh sHvw== X-Gm-Message-State: AOUpUlGHF1rdNY1TxnDyAz9uubc0LnWsKobdzllqgm1CcqCXz9bAxD7I obFJ1HHh/cwYJqTwUGXWawhawBIbDZoRo0iQZIXfmCTu6owZ MIME-Version: 1.0 X-Received: by 2002:a02:4c16:: with SMTP id a22-v6mr1166204jab.9.1531410542888; Thu, 12 Jul 2018 08:49:02 -0700 (PDT) Date: Thu, 12 Jul 2018 08:49:02 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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