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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E80B5C04A95 for ; Mon, 26 Sep 2022 01:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233240AbiIZBkl (ORCPT ); Sun, 25 Sep 2022 21:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233218AbiIZBki (ORCPT ); Sun, 25 Sep 2022 21:40:38 -0400 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E48F22BE1 for ; Sun, 25 Sep 2022 18:40:37 -0700 (PDT) Received: by mail-il1-f200.google.com with SMTP id g3-20020a056e021a2300b002f875de24a2so711541ile.6 for ; Sun, 25 Sep 2022 18:40:37 -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=7Vsk85d4fx8hDMyy+AtkvVcWOMFZLHp5yRJt4zLDoqY=; b=6dBpxdn8p6V3qZBO1hOhbDi7SObAbtuOdS5MDQqcT+CPQa1GEUfZv7SvCVdycvJX9g ZMoxVKcEJwfcPwX7j2akdLmXOXQ7v4j7Ry/S4TlUBTxl+Z2VeQnJ6fe24xgFSk1cO3zn 8Y0pyYtTz8HKczhuTdsKB1c3CvXCWqElEyK8eCCqRsa7TQlV7Lr756D29Ng9GAlS+93Z kv7rmEvijF6Dv4CyN5184LetrmUrIknUr51uTOpskKtSWLNprpd8CH9N44qQ3982zwGY 7EPu7Pw2Agpkp9ZdCPb6+1QyMAknT+hDIxD9B73UZied9ryEphpAVQot3TyNO5gEfZoL 9ZVw== X-Gm-Message-State: ACrzQf3NrmEcqj7Kge716Lj9dwm4YN++WTcFtZ7h2qaCjiNMpVJFwz9a KpJPu1fMTBI/eOcHwOExwlzo8hNKdSZ9jUi4VPSmRx4m5KsF X-Google-Smtp-Source: AMsMyM416s1G+M0Rn4y09LGkDUJOW+kfbbv5BJcQYu7yXX2GGCcm/wD5H2Oqn59jqLJmO0TSll91713IMYvXTPV7fkrLCN7h7jBf MIME-Version: 1.0 X-Received: by 2002:a02:bb0a:0:b0:35a:100f:74f3 with SMTP id y10-20020a02bb0a000000b0035a100f74f3mr10959326jan.237.1664156436975; Sun, 25 Sep 2022 18:40:36 -0700 (PDT) Date: Sun, 25 Sep 2022 18:40:36 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000046d33405e98a9daa@google.com> Subject: [syzbot] WARNING: Nested lock was not taken From: syzbot To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, 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 Hello, syzbot found the following issue on: HEAD commit: c194837ebb57 Merge branch 'for-next/core', remote-tracking.. 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=16bb8574880000 kernel config: https://syzkaller.appspot.com/x/.config?x=15a770deac0c935a dashboard link: https://syzkaller.appspot.com/bug?extid=7475732e7177a19317a1 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=16a45edf080000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12e66470880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/8d8ae425e7fa/disk-c194837e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c540d501ebe7/vmlinux-c194837e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+7475732e7177a19317a1@syzkaller.appspotmail.com loop4: detected capacity change from 0 to 264192 ================================== WARNING: Nested lock was not taken 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Not tainted ---------------------------------- syz-executor253/3315 is trying to lock: ffff0000c495a9d8 (&s->s_inode_list_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline] ffff0000c495a9d8 (&s->s_inode_list_lock){+.+.}-{2:2}, at: inode_sb_list_del fs/inode.c:503 [inline] ffff0000c495a9d8 (&s->s_inode_list_lock){+.+.}-{2:2}, at: evict+0x90/0x334 fs/inode.c:654 but this task is not holding: Unable to handle kernel paging request at virtual address 0000000100000017 Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=000000010a8da000 [0000000100000017] pgd=0800000107ed2003, p4d=0800000107ed2003, pud=0000000000000000 Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 3315 Comm: syz-executor253 Not tainted 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : print_lock_nested_lock_not_held kernel/locking/lockdep.c:4885 [inline] pc : __lock_acquire+0x7cc/0x30a4 kernel/locking/lockdep.c:5044 lr : print_lock_nested_lock_not_held kernel/locking/lockdep.c:4884 [inline] lr : __lock_acquire+0x7c0/0x30a4 kernel/locking/lockdep.c:5044 sp : ffff80001289b8b0 x29: ffff80001289b990 x28: 0000000000000001 x27: ffff80000d30c000 x26: ffff0000c68d24b8 x25: ffff0000c68d24d8 x24: 0000000000000002 x23: ffff0000c68d24d0 x22: ffff80000d32a753 x21: ffff80000d32a712 x20: 0000000000040067 x19: ffff0000c68d1a80 x18: 0000000000000156 x17: 2b7463697665203a x16: 0000000000000002 x15: 0000000000000000 x14: 0000000000000000 x13: 205d353133335420 x12: 5b5d303434313530 x11: ff808000081c1630 x10: 0000000000000000 x9 : 30785d1575e13b00 x8 : 00000000ffffffff x7 : 205b5d3034343135 x6 : ffff800008195d30 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000001 x0 : ffff80000cb555a1 Call trace: print_lock_nested_lock_not_held kernel/locking/lockdep.c:4885 [inline] __lock_acquire+0x7cc/0x30a4 kernel/locking/lockdep.c:5044 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x54/0x6c kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] inode_sb_list_del fs/inode.c:503 [inline] evict+0x90/0x334 fs/inode.c:654 iput_final fs/inode.c:1748 [inline] iput+0x2c4/0x324 fs/inode.c:1774 ntfs_fill_super+0x1254/0x14a4 fs/ntfs/super.c:188 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1323 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1358 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+0x2c4/0x3c4 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/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 Code: 94f84769 f94002e8 d0024dc0 91168400 (f9400d01) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 94f84769 bl 0x3e11da4 4: f94002e8 ldr x8, [x23] 8: d0024dc0 adrp x0, 0x49ba000 c: 91168400 add x0, x0, #0x5a1 * 10: f9400d01 ldr x1, [x8, #24] <-- 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