Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3252989rdg; Tue, 17 Oct 2023 08:54:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIfndUDc2o1aBcF2kn8C1ACbyzFT+4DwpzKZeCxnDnyewW0zDDA3vJvhZIGcNgnHABikXL X-Received: by 2002:a05:6a00:1ad4:b0:68a:5cf8:dac5 with SMTP id f20-20020a056a001ad400b0068a5cf8dac5mr2670897pfv.22.1697558062662; Tue, 17 Oct 2023 08:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697558062; cv=none; d=google.com; s=arc-20160816; b=rfsqO7cOjYlcSuSqqWA3onUlTr9zboQv3PuvF5/YG96AlYimEqA2RTSm9hf5EZ2pyc ki129u5krKOQ+Gc4s1YxZx4tc6+eltjBQs5TB4edk6v0gIoirX3fMAD3bhwl7dRRaltF w84rrPcQI+HIJwzmMsbDiHtvpg1ZpjKnf8JaBuLhXF90BKNMBAQ+DXY6l/cA6Mccjtjh PqrOva7/8d5Rt7uza5C+DSXqnb6huu5kQ+FCOFTNxwGYpFVb/dvNUeK+WS/CiBXdboX6 P14XC6RoXN6jGAobHy2EDJZrBCH78ti8Ff22Zz78jAv+bDHG9KHhqiqDccIcUmXFYfKi AfZg== 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=lUZ0de+MvZvkBI+v56kYAAGsEXZomKaCXv/rWu5w7Kg=; fh=UmHS1YeHMp12xTRagbn+gVMKO4GLRpzN+/whL82ZjlM=; b=vVQWeU+/XipvtpjEsGAp316xDRF5j+aC7z05yE+Q4dFYcMg+uCrxRwC3Q03WnW1KOJ q43VJIjPZu0Bi2f+n+H/QiIXWeCZN01Bk3fuMlwvedijbZ2rb7EWZZl1/FVnFIm+R9qt uIQEpRsVM5SW/0dMuZ0Aosu/az22JNpcXJ2cySpM/DWZRMq4QolBhzONZcnNlsg2BFnD VOamQ6bLkePPgF5d3uxp3YxGcFjQoYrAiJXoSXdPHXNSclwE/YvhITihuqmuqYQRUGk/ FyCqn1mSN7vQsuS72q5cXP0ZRW0FXUyy9TIG7NEXWZxORXf34edvGtEtKLtp5t/JDCVl Eg0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id d3-20020a056a00244300b0068fc9557cddsi1929123pfj.81.2023.10.17.08.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 08:54:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 49A1E80293FD; Tue, 17 Oct 2023 08:54:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235159AbjJQPyG (ORCPT + 99 others); Tue, 17 Oct 2023 11:54:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235105AbjJQPxu (ORCPT ); Tue, 17 Oct 2023 11:53:50 -0400 Received: from mail-ot1-f80.google.com (mail-ot1-f80.google.com [209.85.210.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F4C1F9 for ; Tue, 17 Oct 2023 08:53:46 -0700 (PDT) Received: by mail-ot1-f80.google.com with SMTP id 46e09a7af769-6c0f174540cso8265439a34.2 for ; Tue, 17 Oct 2023 08:53:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697558025; x=1698162825; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lUZ0de+MvZvkBI+v56kYAAGsEXZomKaCXv/rWu5w7Kg=; b=uV0+ELLXUwNN0UGccYPtFA+My13wZ5YHm2IXZulzC/mhWLauivDrHAy5wjZkTdM/Nd DzrFdTEFwCHhyNyLMP5iVn5aoFYPpOLx5YSwhpJITLO29zhCSmvPkLWOJgiK0R7kLLb8 1slfuna1idaUG5zoz/ylo1oGAzLOz9JnMfLYGS3CFomnkFeTLGMQ1t7c/2u7/F9Wl15N xAvCZs7N4bltQmGEOxpi+QWuAY1/p+yE4kdGJ6tMmm0NepetzqPu2DtCfAujwu4jzhlY dMqiMSo1/kXYiyu7PSce5z9L7n8396cbFIHNBtjL3zw8STQZ+amJ0jQG7xhailxsy92t nyaA== X-Gm-Message-State: AOJu0YyFiQZ7UJBSRwvfUzSfR9X4AFx+ZJfQi50EiqOUWgmw9N97/Q6y GZH5Pbc2Pm148EWc9/8vFC05FB9BzMl0CV/meC/MEjl44Qf6 MIME-Version: 1.0 X-Received: by 2002:a9d:7082:0:b0:6ba:8e4a:8e62 with SMTP id l2-20020a9d7082000000b006ba8e4a8e62mr744031otj.7.1697558025539; Tue, 17 Oct 2023 08:53:45 -0700 (PDT) Date: Tue, 17 Oct 2023 08:53:45 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000019171d0607eb8786@google.com> Subject: [syzbot] [btrfs?] BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! (3) From: syzbot To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.2 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,PLING_QUERY, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 17 Oct 2023 08:54:17 -0700 (PDT) X-Spam-Level: ** Hello, syzbot found the following issue on: HEAD commit: c295ba49917a Merge branch 'for-next/core' 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=135804fe680000 kernel config: https://syzkaller.appspot.com/x/.config?x=f27cd6e68911e026 dashboard link: https://syzkaller.appspot.com/bug?extid=6aa88a2d31fbec170f8b compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17d48d09680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13498275680000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/045554f2bee6/disk-c295ba49.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/ba2705f8a872/vmlinux-c295ba49.xz kernel image: https://storage.googleapis.com/syzbot-assets/e36242e95b79/Image-c295ba49.gz.xz mounted in repro #1: https://storage.googleapis.com/syzbot-assets/39a4eecc45c3/mount_0.gz mounted in repro #2: https://storage.googleapis.com/syzbot-assets/3a9106a526c9/mount_1.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6aa88a2d31fbec170f8b@syzkaller.appspotmail.com BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 11455 Comm: kworker/u4:4 Not tainted 6.6.0-rc6-syzkaller-gc295ba49917a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: btrfs-qgroup-rescan btrfs_work_helper Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3815 [inline] validate_chain kernel/locking/lockdep.c:3836 [inline] __lock_acquire+0x1c60/0x75e8 kernel/locking/lockdep.c:5136 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5753 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] btrfs_reduce_alloc_profile fs/btrfs/block-group.c:83 [inline] btrfs_get_alloc_profile+0x2b8/0xad4 fs/btrfs/block-group.c:138 get_alloc_profile_by_root fs/btrfs/extent-tree.c:2508 [inline] btrfs_reserve_extent+0x1b8/0x674 fs/btrfs/extent-tree.c:4502 btrfs_alloc_tree_block+0x1b0/0x1444 fs/btrfs/extent-tree.c:4931 __btrfs_cow_block+0x3f4/0x1924 fs/btrfs/ctree.c:546 btrfs_cow_block+0x314/0xa0c fs/btrfs/ctree.c:724 btrfs_search_slot+0xb8c/0x29d8 btrfs_update_root+0xe4/0xa88 fs/btrfs/root-tree.c:137 commit_fs_roots+0x428/0x69c fs/btrfs/transaction.c:1473 btrfs_commit_transaction+0x10ec/0x2dd4 fs/btrfs/transaction.c:2418 btrfs_qgroup_rescan_worker+0x15fc/0x1674 fs/btrfs/qgroup.c:3417 btrfs_work_helper+0x340/0x1504 fs/btrfs/async-thread.c:314 process_one_work+0x694/0x1204 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2784 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 BTRFS info (device loop3): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop1): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop2): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop4): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop2): qgroup scan completed (inconsistency flag cleared) BTRFS info (device loop3): qgroup scan completed (inconsistency flag cleared) --- 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. If the bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup