Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3887647rwn; Sun, 11 Sep 2022 00:03:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fODIHy9dRZF6lHUTsETiXtPkXlziQ5oBAKL0Gd0CMzPKTQzzaV9tz+FNVVGenogMldjDB X-Received: by 2002:a17:907:728d:b0:73d:693c:738 with SMTP id dt13-20020a170907728d00b0073d693c0738mr15197673ejc.134.1662879801045; Sun, 11 Sep 2022 00:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662879801; cv=none; d=google.com; s=arc-20160816; b=SoRiB/v6s5R25xd3p32ksid0fv1yivDopmIKvjGuKUytfa0iPFTBdSqmC7FuC3L6t6 qRQ9dMQcOev7vKeulAwiIcPFaADyivfJCcZ8Vk7K3gFs/jVK5gaQunAYlGTtf0eIK5nk 3pmwa9e7v5WyD/ZHzhNGsbob6BVtM65JmEpkD7CHtvSCfo1jqtKPYFIzNYpXx1A9jFFa hlK+Z1v6VohxZcEu4I1MdfR9RcMhLE3N80WKxtyRIOGbjp0j/CHFRLiT8BNYJCxKbXdQ WBQLFZWbxQlSFl3Or36bslrPTlkOdr16iXRs5SqokV91kM/38TjcjHXVcQOuev4knqzZ oPng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=RzRVyacMGk8buYtNBN6F8JDQNMXhhobkcMzIpQ0hBBg=; b=cxQbh9RwoHUWnBsJkdD6SmhdTgp8/CC2GHv/9wVOcIcC5HahUgz0HsuMDSn32dKbTk TrKKAEki5Rq1XAWkuwApshjK1LkboDG/lnaGbbaCjyeoA/Pu7ZWZ8ZhROXY7HlZC+0fM 7KJnLY+wH9KHXZGJlRncsIM9ohZpMI4FeGcUxbcN8zKKsSS1Usr+cdXso8hiBm52bDAv axftZ845QqoNLvhiiEatPUQYOWUCU7xjPuzoPXB7ls0rA7HMmuj/GXvcvEM5MCBc2C4M sBPcBZCkTYui3oneAafsHhccHoCe8qEf+xjyTDuyihTiReY4YtO/iYvdwQ2xzJaM6ux9 coVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c36-20020a509fa7000000b0044f2bf63a01si4567418edf.221.2022.09.11.00.02.33; Sun, 11 Sep 2022 00:03:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229651AbiIKHAg (ORCPT + 99 others); Sun, 11 Sep 2022 03:00:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229730AbiIKHAd (ORCPT ); Sun, 11 Sep 2022 03:00:33 -0400 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684D23C161 for ; Sun, 11 Sep 2022 00:00:29 -0700 (PDT) Received: by mail-io1-f69.google.com with SMTP id s2-20020a6bdc02000000b006a0cb10e1e8so3225377ioc.14 for ; Sun, 11 Sep 2022 00:00:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=RzRVyacMGk8buYtNBN6F8JDQNMXhhobkcMzIpQ0hBBg=; b=wlyxqKzhYMAyisr4S6OaqeB6hLLWXYbBjkh4ncClXcKI0bZmeb5Y64vmFzOMjt0/gS ppsNJJ0BhidaDxFrzPBgR7L3dFx/ibqmqorZKfKpdt4f0Bs1lr70yA4dW8s/aY+CzCX5 xJGWqBGfOONc8eN5+272CURGT3GSA6suCVZYJmob1L1a+iC1tgvkjJ2B1t1miucOZ+Zx pcrsQ5gdOV+m8P8ro+r20GEuqdtQxM9Pf363VUNItBTQ7KNE9guzAxDSiVr88PsryVhY fkfv7+OXYGVrfytQp6hUPoNIx8gZEBLq5IYaISbRePxKrKJwnvzwz4jimVu/v/2xcjiT S/Cw== X-Gm-Message-State: ACgBeo1Ub/ygPq5Pv+3v+/ZMeLSNC96onZvMhNj3LpG2xZam0t9ocBqZ /hWZkAqSNo8LZA9q7Xik8/nQcwMmbQxMUCm4sA8kBCpGDDRB MIME-Version: 1.0 X-Received: by 2002:a92:c267:0:b0:2f1:b17c:994e with SMTP id h7-20020a92c267000000b002f1b17c994emr7934242ild.275.1662879628665; Sun, 11 Sep 2022 00:00:28 -0700 (PDT) Date: Sun, 11 Sep 2022 00:00:28 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000922a2105e8615576@google.com> Subject: [syzbot] BUG: unable to handle kernel paging request in alloc_nilfs From: syzbot To: konishi.ryusuke@gmail.com, linux-kernel@vger.kernel.org, linux-nilfs@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 25050c56fa3c Merge branch 'for-next/fixes' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=176f0273080000 kernel config: https://syzkaller.appspot.com/x/.config?x=db8b30b83a444315 dashboard link: https://syzkaller.appspot.com/bug?extid=19d51a2ee09e1cb9ba06 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=152b3417080000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13ded8f5080000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+19d51a2ee09e1cb9ba06@syzkaller.appspotmail.com loop0: detected capacity change from 0 to 200 Unable to handle kernel paging request at virtual address dead4ead00000400 Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004 CM = 0, WnR = 0 [dead4ead00000400] address between user and kernel address ranges Internal error: Oops: 96000004 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3066 Comm: syz-executor208 Not tainted 6.0.0-rc4-syzkaller-17186-g25050c56fa3c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : slab_alloc mm/slub.c:3251 [inline] pc : kmem_cache_alloc_trace+0x184/0x324 mm/slub.c:3282 lr : slab_pre_alloc_hook mm/slab.h:702 [inline] lr : slab_alloc_node mm/slub.c:3157 [inline] lr : slab_alloc mm/slub.c:3251 [inline] lr : kmem_cache_alloc_trace+0x8c/0x324 mm/slub.c:3282 sp : ffff8000127f3a80 x29: ffff8000127f3a90 x28: ffff0000c58c0000 x27: ffff80000d379000 x26: ffff80000cdb4419 x25: 0000000000000083 x24: dead4ead00000000 x23: 0000000000000000 x22: ffff800008f7bda0 x21: ffff0000c0001600 x20: 00000000000004d0 x19: 0000000000000dc0 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000dbb8658 x15: ffff0000c58c0000 x14: 0000000000000010 x13: 0000000000000000 x12: ffff0000c58c0000 x11: 0000000000000001 x10: 0000000000000000 x9 : 0000000000000400 x8 : 0000000000001ec8 x7 : ffff8000084b7800 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000001ed0 x2 : 0000000000000000 x1 : 0000000000000800 x0 : 0000000000000000 Call trace: next_tid mm/slub.c:2311 [inline] slab_alloc_node mm/slub.c:3227 [inline] slab_alloc mm/slub.c:3251 [inline] kmem_cache_alloc_trace+0x184/0x324 mm/slub.c:3282 kmalloc include/linux/slab.h:600 [inline] kzalloc include/linux/slab.h:733 [inline] alloc_nilfs+0x2c/0x13c fs/nilfs2/the_nilfs.c:59 nilfs_fill_super+0x40/0x2e8 fs/nilfs2/super.c:1041 nilfs_mount+0x370/0x52c fs/nilfs2/super.c:1317 legacy_get_tree+0x30/0x74 fs/fs_context.c:610 vfs_get_tree+0x40/0x140 fs/super.c:1530 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x914 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2f8/0x408 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x154 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 Code: 54000d41 34000d4b b9402aa9 91002103 (f8696b19) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 54000d41 b.ne 0x1a8 // b.any 4: 34000d4b cbz w11, 0x1ac 8: b9402aa9 ldr w9, [x21, #40] c: 91002103 add x3, x8, #0x8 * 10: f8696b19 ldr x25, [x24, x9] <-- trapping instruction --- This report 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 issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches