From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B815C433F5 for ; Fri, 7 Sep 2018 08:38:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 06236206BB for ; Fri, 7 Sep 2018 08:38:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06236206BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728130AbeIGNR4 (ORCPT ); Fri, 7 Sep 2018 09:17:56 -0400 Received: from mail-it0-f69.google.com ([209.85.214.69]:53435 "EHLO mail-it0-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbeIGNRz (ORCPT ); Fri, 7 Sep 2018 09:17:55 -0400 Received: by mail-it0-f69.google.com with SMTP id d14-v6so19711852itc.3 for ; Fri, 07 Sep 2018 01:38:02 -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=Z3hbsEARRl7KDcd1MyadQK0x2HAKEcC87ggtlqan/RA=; b=tv/e6OZEDvuSg6t5pw2YRO84Kt4mhZV7J5shk8ls4MEXpbFnTUdy5hlAlVrDgrOz/j sLDKmMC0K1v27hdRaQuIb12qVdkMijYCRqxJREHr2RYnXOZzwEYTt2UXSBY38O3pRHFA MODWprykC5GOa5kilO1KYsJpPX6OWdbrhxrqgHec4PUQDDDfHd5OSKZ9xYs2/Hl/Sr7K 5/ARAZ2iHmngcNuSdFFLIvL0zv09+YTUQWQbiRztJ+i5lLC5mwpJj6cE/wwH47soTxac vRNfK9v5sRPkV/7dYRyE9oq05fjVJhbupyiPDpqHwDkthJFuN68PklzXAoy0AvAuBvD7 JP3Q== X-Gm-Message-State: APzg51D4TdSiAIqIbb4jrT2ET2yOzFomw6o62en20wsQU4qf3BjZAmNS FdYsyMw9pPDjaAvil7fb/gExnzM11WpTphHi6qV9CQhgnIu3 X-Google-Smtp-Source: ANB0VdYJtVi2wXtU7gCsLuOv4PfoicATCSej0rKxOpEX5uC0nfE6q8IEqcxjx+AplzwpeS/f52QxSiWASccE47+5HhknceQZaIE8 MIME-Version: 1.0 X-Received: by 2002:a6b:1a4e:: with SMTP id a75-v6mr5035801ioa.128.1536309482599; Fri, 07 Sep 2018 01:38:02 -0700 (PDT) Date: Fri, 07 Sep 2018 01:38:02 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f9bd97057543ec30@google.com> Subject: general protection fault in ovl_free_fs From: syzbot To: linux-kernel@vger.kernel.org, linux-unionfs@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: b36fdc6853a3 Merge tag 'gpio-v4.19-2' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13579cd1400000 kernel config: https://syzkaller.appspot.com/x/.config?x=6c9564cd177daf0c dashboard link: https://syzkaller.appspot.com/bug?extid=c75f181dc8429d2eb887 compiler: gcc (GCC) 8.0.1 20180413 (experimental) Unfortunately, I don't have any reproducer for this crash yet. IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+c75f181dc8429d2eb887@syzkaller.appspotmail.com kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 0 PID: 12806 Comm: syz-executor3 Not tainted 4.19.0-rc2+ #224 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ovl_free_fs+0x4d9/0x650 fs/overlayfs/super.c:226 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 67 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 56 01 00 00 49 8b 3c 24 e8 d4 0a 01 00 e9 37 fc RSP: 0018:ffff8800aec7f7b8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff880111d7ef00 RCX: ffffc90003487000 RDX: 0000000000000000 RSI: ffffffff827c844a RDI: 0000000000000001 RBP: ffff8800aec7f810 R08: ffff8801b9cae080 R09: ffffed003b6046de R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000000 R13: ffff880111d7ef20 R14: fffffffffffffff4 R15: ffff880111d7ef00 FS: 00007f715a1ab700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002242e80 CR3: 000000018698d000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. Call Trace: ovl_fill_super+0x4f1/0x3ffc fs/overlayfs/super.c:1508 mount_nodev+0x6b/0x110 fs/super.c:1204 ovl_mount+0x2c/0x40 fs/overlayfs/super.c:1516 mount_fs+0xae/0x328 fs/super.c:1261 vfs_kern_mount.part.35+0xdc/0x4f0 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2457 [inline] do_mount+0x581/0x30e0 fs/namespace.c:2787 ksys_mount+0x12d/0x140 fs/namespace.c:3003 __do_sys_mount fs/namespace.c:3017 [inline] __se_sys_mount fs/namespace.c:3014 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3014 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457099 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f715a1aac78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f715a1ab6d4 RCX: 0000000000457099 RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00000000009300a0 R08: 0000000020000100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00000000004d3300 R14: 00000000004c8241 R15: 000000000000002a Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace a35d50b1706abe7c ]--- RIP: 0010:ovl_free_fs+0x4d9/0x650 fs/overlayfs/super.c:226 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 67 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 56 01 00 00 49 8b 3c 24 e8 d4 0a 01 00 e9 37 fc RSP: 0018:ffff8800aec7f7b8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff880111d7ef00 RCX: ffffc90003487000 RDX: 0000000000000000 RSI: ffffffff827c844a RDI: 0000000000000001 RBP: ffff8800aec7f810 R08: ffff8801b9cae080 R09: ffffed003b6046de R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000000 R13: ffff880111d7ef20 R14: fffffffffffffff4 R15: ffff880111d7ef00 FS: 00007f715a1ab700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002242e80 CR3: 000000018698d000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- 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.