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=-3.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 55028C49EAB for ; Sun, 27 Jun 2021 05:18:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2702961C47 for ; Sun, 27 Jun 2021 05:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230214AbhF0FSm (ORCPT ); Sun, 27 Jun 2021 01:18:42 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:44668 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbhF0FSm (ORCPT ); Sun, 27 Jun 2021 01:18:42 -0400 Received: by mail-il1-f198.google.com with SMTP id x2-20020a056e021bc2b02901ee78f516b4so2999442ilv.11 for ; Sat, 26 Jun 2021 22:16:18 -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:in-reply-to:message-id:subject :from:to; bh=OQds5E2QfvRDVqiT6Ljh8e7LXt2GkB2t6m4pO2rhwOE=; b=rngzL49IGds+0SpC+smUPVgmzt3YQll6fCHhEyf4n4b80h7BybD3UIYrOmLA0ZbRLG kvnU5J9ZbcZ1UqBiDqnCVq9tcopJdqqs1eeuTmRD8G2wWYo5Kt/pTro4YjsC6/HBDX6N wCER4QkaQEWq9Gx7q9fBB+Qgy+W8ENEJOEO/ZfHlDO5qRcTXRCRq2jEtVsebrwSJkoGP uo2o6S0H6279RvfJQVI0gVaDkLERhYNJlCKmK+K77XoT2y35/PUkD4sDU5zylREDbb91 gwitq2B+9iV0/l238Ig1xMbjkE9hm6hcSyK6ziXr3n+EDMDbSXbJIf463UjI16UpbBGZ /EHA== X-Gm-Message-State: AOAM532DsNqlDC50iw0vDu4CQw/xh87OjuLFU7iioZk7iEKwsTfPLgGA Oj4OZMNjMjkwzGtgl123cSVT7934+IhcYz+Rf7nlV5X/O3Ak X-Google-Smtp-Source: ABdhPJzjRWaOFG8CkqDjlXKrdZfnmM00SfymKPOLsFvBMCmmecuZ+xOrFiE80mik1bakilDLO6G96v0OKXV2Utydj6nmGHsCVKQz MIME-Version: 1.0 X-Received: by 2002:a92:a002:: with SMTP id e2mr13120702ili.98.1624770977745; Sat, 26 Jun 2021 22:16:17 -0700 (PDT) Date: Sat, 26 Jun 2021 22:16:17 -0700 In-Reply-To: <000000000000a324c305bfd446c0@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f8500d05c5b8785a@google.com> Subject: Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in __lookup_slow (2) From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, phil@philpotter.co.uk, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: a1f92694 Add linux-next specific files for 20210518 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16935e94300000 kernel config: https://syzkaller.appspot.com/x/.config?x=d612e75ffd53a6d3 dashboard link: https://syzkaller.appspot.com/bug?extid=11c49ce9d4e7896f3406 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1477f5bfd00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12bded84300000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+11c49ce9d4e7896f3406@syzkaller.appspotmail.com REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device loop0): checking transaction log (loop0) REISERFS (device loop0): Using tea hash to sort names BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 1d164067 P4D 1d164067 PUD 143aa067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8454 Comm: syz-executor105 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc9000163f908 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 1ffff920002c7f24 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880353f85e0 RDI: ffff888039770190 RBP: ffffffff899e4880 R08: 0000000000000000 R09: ffffffff909ffbff R10: ffffffff81c99241 R11: 0000000000000000 R12: ffff8880353f85e0 R13: ffff888039770190 R14: ffffc9000163fa98 R15: ffffc9000163f940 FS: 000000000231e300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000169ad000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lookup_slow+0x24c/0x480 fs/namei.c:1629 lookup_one_len+0x163/0x190 fs/namei.c:2650 reiserfs_lookup_privroot+0x92/0x280 fs/reiserfs/xattr.c:980 reiserfs_fill_super+0x2124/0x2e00 fs/reiserfs/super.c:2176 mount_bdev+0x34d/0x410 fs/super.c:1368 legacy_get_tree+0x105/0x220 fs/fs_context.c:592 vfs_get_tree+0x89/0x2f0 fs/super.c:1498 do_new_mount fs/namespace.c:2905 [inline] path_mount+0x132a/0x1fa0 fs/namespace.c:3235 do_mount fs/namespace.c:3248 [inline] __do_sys_mount fs/namespace.c:3456 [inline] __se_sys_mount fs/namespace.c:3433 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3433 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x445b6a Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdfe200cf8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffdfe200d50 RCX: 0000000000445b6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffdfe200d10 RBP: 00007ffdfe200d10 R08: 00007ffdfe200d50 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002a8 R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000007 Modules linked in: CR2: 0000000000000000 ---[ end trace 23e9a8ddc3d2104a ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc9000163f908 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 1ffff920002c7f24 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff8880353f85e0 RDI: ffff888039770190 RBP: ffffffff899e4880 R08: 0000000000000000 R09: ffffffff909ffbff R10: ffffffff81c99241 R11: 0000000000000000 R12: ffff8880353f85e0 R13: ffff888039770190 R14: ffffc9000163fa98 R15: ffffc9000163f940 FS: 000000000231e300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000000169ad000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400