Received: by 10.192.165.148 with SMTP id m20csp190657imm; Thu, 19 Apr 2018 19:21:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx482CTUM7kDNiVuCG+5cwkLCxvTkVBRF9tgHJaUgqC/ArulOATU0FPuUHdW2pUu64u9ws3Uh X-Received: by 10.98.109.66 with SMTP id i63mr7912581pfc.233.1524190865313; Thu, 19 Apr 2018 19:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524190865; cv=none; d=google.com; s=arc-20160816; b=Ndm3MarN8J30tsR3lsB+etbOoDq4gZ4uP9HBMPoLhRA6i/B2GnF4KECbhZ57xzGl5M dxZ/gv+84qfvLDx7cW+JIVj3gqc+sBPHWt9N0GsLK9/RegVpWZL+eALAgHGWJNBSaKqv UFn+gzbS/2j8cvkB+SDd228N4JFgy8alA7f55IaW68RsQp1E1aHruVdDh17FdgQ7mAph RVNdFveq83pNOKursYKIRgVi7pijkiztanpAHe4YA2e2M5HtIPuL8iLRlO/Xd8pozhRt MAjt1Uyh3VWzK2OkkFGXD/8mIrmyjTAcb3N6CuyqM8pHRXAVX+0K9M1kaQUjk2rWymP0 Zhkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=eg1hpXrSENSeVjCYW6Mx5j0FYHFrp72W8mKuf+Z61XM=; b=rUmjbzLtT9u3+wo+IJxlizWYBH/YIFwU0DpAaOmwGSsrtWKS1n5pHCEfTZzZJsMH32 AIBTpNpVATIDN/NsYhZwFG3sP4X5zJMhYfrUuFNRqV3JVCMMWaoZ2cSh17hFlpD4UVKn kF8zs8OedxxCj9VkWWaEvW0+pfqJKy4POX6lKAh8m+vnDFgliS+/EYPeRdH7duoX2cWO SXJV7FYSiZnD4aCsGW/TT9juoRA6R7pkiFQRSbBW4TQNdlYoXTNXS+Xao+RFI6eGdXOo /BhWurxmkLiGNYx7tXPwX/G9lfd3gXFTJEr+eEX9DP1ettkATB1vKwPNcUBg0FPjnOS4 Vb+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eB9GV0as; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p12-v6si4970369plr.131.2018.04.19.19.20.51; Thu, 19 Apr 2018 19:21:05 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eB9GV0as; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754128AbeDTCTm (ORCPT + 99 others); Thu, 19 Apr 2018 22:19:42 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:40528 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753784AbeDTCTk (ORCPT ); Thu, 19 Apr 2018 22:19:40 -0400 Received: by mail-pg0-f53.google.com with SMTP id e9so3361108pgr.7; Thu, 19 Apr 2018 19:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eg1hpXrSENSeVjCYW6Mx5j0FYHFrp72W8mKuf+Z61XM=; b=eB9GV0as+cUyPEra8ggQA6ClYan7D6QlMttky/6WQKTJY/qUtwJwgcAsbfQDKyJJ4O 5kuE5NuXAcXECMq0EcfCG0p0yFKGUnuDPcRbRBl4OaxSfB4OdhCqhiCT+n78SL3etAqa CHZHs4zgT/QHQiygEdA7uSizjsnkPtr1Z3XOtFO+MoULW2/Z1kZQ49PaDLJrUDTZ7E+N GtLIhnxxxAlMyFrjqPbXrT8i3crCE0zofW/p6/wqEPUgpxeKCLpsD2xsNG3pR5ayxOR+ VugqlcOBauZHALUaa7yvD/z1a5ZBDYzdMUERNkCh4T0k5emIeXZ1kDqb8RcSzEXzoQYo DQqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eg1hpXrSENSeVjCYW6Mx5j0FYHFrp72W8mKuf+Z61XM=; b=O4fyho8Ah2fo6YS3xrS/Ty1rA7G4cme8o15S/8gKMXhR67fY0xsug0esb3hGr+9LM8 TXc+qJpHnukuXIiqOMUMHBxHKrazrc8eR1SGpYUrE6Flh+8hOx4dAW5j6MnQ75838hOu upbBVR/0n221SxD13A51+CPi+94tuf6ADAdXDQ7tj3Y1Z9SnrsJTyQm8aMY0RV+ECNXZ qylzJR3ryrpHJpwhN9rozdPDnzC9ifX831UsBTKDZQ8t5N3+xELfpitPE7R7glM6gn6o +iOD7LHT0Qx8GsI6m2KSl1Mcpi8NAbf9CaQe73DGdaWkRNpOBh2oIZ2Q6ie66fxuKcrD vQHw== X-Gm-Message-State: ALQs6tB/gLaIVra8GV715bEQRfHECu2ZljiM+n1QDFin2lXWGDLX11hs 8RG3LF46cc4bNsmu2KHplE31G9xd X-Received: by 10.98.55.69 with SMTP id e66mr7884413pfa.253.1524190779812; Thu, 19 Apr 2018 19:19:39 -0700 (PDT) Received: from sol.localdomain (c-67-185-97-198.hsd1.wa.comcast.net. [67.185.97.198]) by smtp.gmail.com with ESMTPSA id 189sm9759412pfu.44.2018.04.19.19.19.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Apr 2018 19:19:39 -0700 (PDT) Date: Thu, 19 Apr 2018 19:20:48 -0700 From: Eric Biggers To: syzbot Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Subject: Re: BUG: corrupted list in __dentry_kill Message-ID: <20180420022048.GA686@sol.localdomain> References: <001a11447acaa9eec40568bd5438@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a11447acaa9eec40568bd5438@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 31, 2018 at 04:01:02PM -0700, syzbot wrote: > Hello, > > syzbot hit the following crash on bpf-next commit > 7828f20e3779e4e85e55371e0e43f5006a15fb41 (Sat Mar 31 00:17:57 2018 +0000) > Merge branch 'bpf-cgroup-bind-connect' > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=f3bd89a5ab3266b10540 > > So far this crash happened 22 times on bpf-next, upstream. > C reproducer: https://syzkaller.appspot.com/x/repro.c?id=6290970458980352 > syzkaller reproducer: > https://syzkaller.appspot.com/x/repro.syz?id=6577156880596992 > Raw console output: > https://syzkaller.appspot.com/x/log.txt?id=5107570603720704 > Kernel config: > https://syzkaller.appspot.com/x/.config?id=5909223872832634926 > compiler: gcc (GCC) 7.1.1 20170620 > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: syzbot+f3bd89a5ab3266b10540@syzkaller.appspotmail.com > It will help syzbot understand when the bug is fixed. See footer for > details. > If you forward the report, please keep this part and the footer. > > RBP: 00007ffd1bbb3ae0 R08: 0000000020000200 R09: 0000000300000000 > R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff > R13: 0000000000000003 R14: 0000000000001380 R15: 00007ffd1bbb3378 > list_del corruption. prev->next should be 00000000a8104008, but was > 00000000081c6144 > ------------[ cut here ]------------ > kernel BUG at lib/list_debug.c:53! > invalid opcode: 0000 [#1] SMP KASAN > Dumping ftrace buffer: > (ftrace buffer empty) > Modules linked in: > CPU: 0 PID: 4448 Comm: syzkaller853443 Not tainted 4.16.0-rc6+ #43 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > RIP: 0010:__list_del_entry_valid+0xef/0x150 lib/list_debug.c:51 > RSP: 0018:ffff8801b8f977a0 EFLAGS: 00010282 > RAX: 0000000000000054 RBX: ffff8801b0c1cf60 RCX: 0000000000000000 > RDX: 0000000000000054 RSI: 1ffff100371f2ea9 RDI: ffffed00371f2ee8 > RBP: ffff8801b8f977b8 R08: 1ffff100371f2e40 R09: 0000000000000000 > R10: ffff8801b8f97778 R11: 0000000000000000 R12: ffff8801b0c1cde0 > R13: 1ffff100371f2efd R14: ffff8801b0c1cc70 R15: dffffc0000000000 > FS: 00000000023a5880(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00000000004b6fbc CR3: 00000001c85a6004 CR4: 00000000001606f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > __list_del_entry include/linux/list.h:117 [inline] > dentry_unlist fs/dcache.c:518 [inline] > __dentry_kill+0x260/0x700 fs/dcache.c:571 > dentry_kill fs/dcache.c:616 [inline] > dput.part.20+0x5a0/0x830 fs/dcache.c:831 > dput+0x1f/0x30 fs/dcache.c:795 > rpc_gssd_dummy_depopulate net/sunrpc/rpc_pipe.c:1381 [inline] > rpc_fill_super+0x628/0xae0 net/sunrpc/rpc_pipe.c:1426 > mount_ns+0xc4/0x190 fs/super.c:1036 > rpc_mount+0x9e/0xd0 net/sunrpc/rpc_pipe.c:1451 > mount_fs+0x66/0x2d0 fs/super.c:1222 > vfs_kern_mount.part.26+0xc6/0x4a0 fs/namespace.c:1037 > vfs_kern_mount fs/namespace.c:2509 [inline] > do_new_mount fs/namespace.c:2512 [inline] > do_mount+0xea4/0x2bb0 fs/namespace.c:2842 > SYSC_mount fs/namespace.c:3058 [inline] > SyS_mount+0xab/0x120 fs/namespace.c:3035 > do_syscall_64+0x281/0x940 arch/x86/entry/common.c:287 > entry_SYSCALL_64_after_hwframe+0x42/0xb7 > RIP: 0033:0x442759 > RSP: 002b:00007ffd1bbb3238 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 > RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442759 > RDX: 00000000200002c0 RSI: 0000000020000140 RDI: 0000000020000300 > RBP: 00007ffd1bbb3ae0 R08: 0000000020000200 R09: 0000000300000000 > R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff > R13: 0000000000000003 R14: 0000000000001380 R15: 00007ffd1bbb3378 > Code: 4c 89 e2 48 c7 c7 c0 bf 75 87 e8 35 c1 46 fe 0f 0b 48 c7 c7 20 c0 75 > 87 e8 27 c1 46 fe 0f 0b 48 c7 c7 80 c0 75 87 e8 19 c1 46 fe <0f> 0b 48 c7 c7 > e0 c0 75 87 e8 0b c1 46 fe 0f 0b 48 89 df 48 89 > RIP: __list_del_entry_valid+0xef/0x150 lib/list_debug.c:51 RSP: > ffff8801b8f977a0 > ---[ end trace e1b9954cded9aca7 ]--- > > > --- > This bug is generated by a dumb bot. It may contain errors. > See https://goo.gl/tpsmEJ for details. > Direct all questions to syzkaller@googlegroups.com. > > syzbot will keep track of this bug report. > If you forgot to add the Reported-by tag, once the fix for this bug is > merged > into any tree, please reply to this email with: > #syz fix: exact-commit-title #syz fix: rpc_pipefs: fix double-dput() Al, it would be helpful if for syzbot-reported bugs you used the Reported-by line suggested in the bug report. That allows the bug to be automatically closed, and it's also useful for people who are looking for syzbot bug fixes. Thanks! Eric