Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3821162rwi; Sun, 16 Oct 2022 19:22:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71WawRAELxhYpzXGqPE4XCZK4LweizutCsM8x0LwcADdCD/FlBkcEVt3Plqbi2G0vYCxiU X-Received: by 2002:a17:90b:1b0b:b0:20d:7c31:e75d with SMTP id nu11-20020a17090b1b0b00b0020d7c31e75dmr10704763pjb.101.1665973359596; Sun, 16 Oct 2022 19:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665973359; cv=none; d=google.com; s=arc-20160816; b=mkPFQRD43xZGWbOYKQARZ/YSOTyc0mRXc16cC9zXuMYIsMoNMl7bXDgRwQVDu2FBxe 4JnP7/vuisuVC2zq3oqSo3TwOXbxkrcSqusFgdlNdOIR9GJmbljQWrKYCdCnFeC6zrJJ jagOtqVe0Ws+fBhxOXfk9E68HNjleLSeoBtoawP4qBLoo8ZEZ8ayFWWfNPQxhp9Hrb5x QoyNviyrEXQXJiOQwTW813c/FJlW5Za/W4TM5oxAYWlulSKlS2RqJFlAxASwFnEs1BZX aW+PrF4N+TdP2A1lA/lQm+047BH8zRB/KOfXx2HTiaRm1WmtTm3yBQPhn/CRn2J94bZJ AbNQ== 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=9vwbkybJWrGsS7YZXJVFWPDniBFmiMMRdh0Bjsc3Kyk=; b=pi8oAGmIAmaZxKP5naCktnSYZ0U+GrdsK5ZmMavXjDOuePagjN+KT+qv05MFbnAfxN xpmOEtSNjBt7PL5zsvuGSA90cFrSvLWh2IZly5u20KDjhpxOziGIy3y+GxfODGKpFyeY Iz6UnLdfUJPUnjwDnDuJUhOeXQ1zGhAD0RPNLdMjoeZCRuMrFzn/QKry4v92buEgLmXK wx5BoscLhBSs895Li8iGjiEgkcxaVDCAQTJ+TPvha5+NmAk4UDXvvLedfwSfycDJflYX h+6P97bt+ppY6ndau4n26R8GU4tEi5FQ0R4Cd14h3aEJsnus51K2EYQan1O6zNDWvkOD V7qg== 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 h189-20020a6383c6000000b0045feab44f0dsi9768611pge.693.2022.10.16.19.22.25; Sun, 16 Oct 2022 19:22:39 -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 S229963AbiJQCQN (ORCPT + 99 others); Sun, 16 Oct 2022 22:16:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbiJQCPm (ORCPT ); Sun, 16 Oct 2022 22:15:42 -0400 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D3011A0B for ; Sun, 16 Oct 2022 19:15:40 -0700 (PDT) Received: by mail-il1-f198.google.com with SMTP id n14-20020a056e02100e00b002f9e283e850so8044417ilj.9 for ; Sun, 16 Oct 2022 19:15:40 -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:message-id:reply-to; bh=9vwbkybJWrGsS7YZXJVFWPDniBFmiMMRdh0Bjsc3Kyk=; b=l0atcRe7oiXcgN0dbRTyoW7/izdw2e9mFprbsbG26FN+ftImK2Kq36fYmB5Gp07eyZ 2t9y4TABrlTZs19AAANjCLwGq1lANc8/dXp0dLMXERt+gPrdbeadp498RQsLnoyZ/J40 otegLI3ipPNYF3JdTRTiM+Qd3esElsX9Bm7KumNL+HEutmmzMx7eFtzvhwQgyDybMHdG c8EmfJYBw2TFq5tWay6iLxmoBPvIVmrripGDFwPwFZloWfYyvb/ZACn01tVuCSMERUqD Rg9aBl8I0fjYb0CM1vuxL0F+hY7JgN9TpG88rgbjk+DkVMCDA+8aR92VZ2lBNzUi+aEi bjBQ== X-Gm-Message-State: ACrzQf1NMDNBX4TiWkT/WvpREJ0Zh9w41y2MfOKEl2b3z6uTjIbR1qiM ghio1U3nrsVIyV+DSfP1LoBMIXh1tmDx/IQOBzu5uXoZ23RG MIME-Version: 1.0 X-Received: by 2002:a02:664f:0:b0:363:3786:c552 with SMTP id l15-20020a02664f000000b003633786c552mr4334811jaf.108.1665972940046; Sun, 16 Oct 2022 19:15:40 -0700 (PDT) Date: Sun, 16 Oct 2022 19:15:40 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000004c06c405eb318db4@google.com> Subject: [syzbot] WARNING in btrfs_run_delayed_refs From: syzbot To: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 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 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: 493ffd6605b2 Merge tag 'ucount-rlimits-cleanups-for-v5.19'.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=1249e73a880000 kernel config: https://syzkaller.appspot.com/x/.config?x=d19f5d16783f901 dashboard link: https://syzkaller.appspot.com/bug?extid=ebdb2403435c4136db2b compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10f1fa2c880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=119fcd62880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/f1ff6481e26f/disk-493ffd66.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/101bd3c7ae47/vmlinux-493ffd66.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/17b7c308ee18/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+ebdb2403435c4136db2b@syzkaller.appspotmail.com loop0: detected capacity change from 0 to 32768 BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm BTRFS info (device loop0): using free space tree BTRFS info (device loop0): enabling ssd optimizations ------------[ cut here ]------------ BTRFS: Transaction aborted (error -12) WARNING: CPU: 0 PID: 3628 at fs/btrfs/extent-tree.c:2141 btrfs_run_delayed_refs+0x450/0x4a0 fs/btrfs/extent-tree.c:2141 Modules linked in: CPU: 0 PID: 3628 Comm: syz-executor264 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:btrfs_run_delayed_refs+0x450/0x4a0 fs/btrfs/extent-tree.c:2141 Code: 48 8b 38 48 c7 c6 40 17 da 8a 89 ea 31 c0 e8 39 2a a8 06 eb 19 e8 f0 88 0a fe 48 c7 c7 40 16 da 8a 89 ee 31 c0 e8 50 ed d2 fd <0f> 0b b3 01 44 0f b6 c3 4c 89 e7 48 c7 c6 60 19 da 8a ba 5d 08 00 RSP: 0018:ffffc90003e1f970 EFLAGS: 00010246 RAX: e42d7aab60647100 RBX: ffff88807851c001 RCX: ffff888028165880 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 00000000fffffff4 R08: ffffffff816aa79d R09: ffffed1017344f13 R10: ffffed1017344f13 R11: 1ffff11017344f12 R12: ffff88807005d1f8 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888075537000 FS: 0000555555605300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd693f62130 CR3: 000000001c70d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x3a9/0x3760 fs/btrfs/transaction.c:2123 btrfs_ioctl_set_fslabel+0x2c4/0x340 fs/btrfs/ioctl.c:5025 btrfs_ioctl+0x9de/0xc10 fs/btrfs/ioctl.c:5435 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd693ee9f49 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffa2f7a7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fd693ee9f49 RDX: 0000000020000980 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007fffa2f7a7d0 R08: 0000000000000001 R09: 00007fffa2f7a7e0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00007fd693f326b8 R14: 00007fd693f32950 R15: 0000000000000002 --- 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