Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3583968rwi; Sun, 16 Oct 2022 14:04:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6paLfBGryUqt2pAayFgj9MxReX9ms80uvwE+OixsgCtvvZEFRpZ6pcM0Hw9GTABptaNdzd X-Received: by 2002:a17:907:6d27:b0:78d:46f6:c59e with SMTP id sa39-20020a1709076d2700b0078d46f6c59emr6444287ejc.30.1665954294290; Sun, 16 Oct 2022 14:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665954294; cv=none; d=google.com; s=arc-20160816; b=yeO9x9hqhbSgc1K16JaGp9x5ZzckvLX2JbOkIH7rg5vb4i019EqJopQUi9rAGQSxca EwHrOIDtiAv47ObWiq8Bi+sQ3m+6GvBQbG9hWyIag8AmZzg7sarZO4NX4CWfcMDLotrc ZMoTJKt3ml8O02lr378ndvpeMwEXqBh79pIjGR7SFWDV3WG2RTKrnzGi08OZYSpOvoUm yipgiyAayEv+NaLIb6d0ZYTlTJjWNPGAdxsdsXRuMZbwN2lxILDVM+VrHcktXC5SEpFk pN08zWyRNgX2rrYknl3MwcV9jPquMlJqKMG5y9mr/dAJ/5VA25cUfj22VdlZnmbxOtwl iNDA== 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=BH7dR4BzkTTqgkSy/nnKXnU8b30BbGbpigBEn+WNcv4=; b=bhtc3L2pqyLg5F+o5Lgapo/BTuO/ZYH6j2L59aOh+HpkH7BC+Nbs0dLqWjyPiiO1Hu Hk9Td1wHIRxjbEgWpz7l9kFQTJjXn1CK5/sXYMJSafjZEGizM20NpRWfTCIrPHOPOc07 gdA2pvnihIYcKbyHMAN/p60eGn3YRjNU72PlFDbh7u1oXdbghFsdyx9qBIqHoHUhD+7G M16Ej7xx688YZ4xY4EX5fRVWGRai0i2b/ei0ggW92/icixIAnVVcuF054ntRViA2HIDf KDsOLxshNYLIxQp1+BprcARKBVgynaTa6qbej97lu66F55p5HfD6Kkgn6dV3btL97bel QUFQ== 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 n10-20020a170906724a00b007808f3f4cbcsi6541004ejk.239.2022.10.16.14.04.20; Sun, 16 Oct 2022 14:04:54 -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 S229720AbiJPUgr (ORCPT + 99 others); Sun, 16 Oct 2022 16:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbiJPUgo (ORCPT ); Sun, 16 Oct 2022 16:36:44 -0400 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E8536DF8 for ; Sun, 16 Oct 2022 13:36:43 -0700 (PDT) Received: by mail-il1-f197.google.com with SMTP id j29-20020a056e02219d00b002f9b13c40c5so7792385ila.21 for ; Sun, 16 Oct 2022 13:36:43 -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=BH7dR4BzkTTqgkSy/nnKXnU8b30BbGbpigBEn+WNcv4=; b=vk/49UiJniEw7glKMdSskFS5RbIs2r9XUP2lo/1sQPvhH+ADVgqJvSeVz8O9wP03zp hMDKSr6+PBP5ALBMVraaFyxaNDoK28Wy3qySfr3j9rSCzvOL/GS61SxO031BxKPEC+hG t+7sAy5sktLbER8SiUttBi3nJS2s8yEIk9qO0xmaGHkdg6w3GKCYFPaDJ1AwKDAvkvNA 9DDwtlX7Z0zS5FYe0SJxuYNTgDcDIFidOS/SvvH1g43Y+vZmMVdqeO9IYsLEneWAejpX lRam8gbGct/INSXOLu/CroB8coQkIn9yXKsOFhjRjNjZJeuz2it0rzIvYibMqauVpLnF q+4Q== X-Gm-Message-State: ACrzQf2dOP+8XF1O7N/bFAkVKyufSCCDXYSu0n6lXlxKX1bH0H1o0UzO QR3eZ5fZSoG4jeBd6eCqEYvMSZvIZPaoa/REqObXzFVTQ5kh MIME-Version: 1.0 X-Received: by 2002:a05:6638:3a15:b0:363:ecaf:2a53 with SMTP id cn21-20020a0566383a1500b00363ecaf2a53mr3789977jab.66.1665952602679; Sun, 16 Oct 2022 13:36:42 -0700 (PDT) Date: Sun, 16 Oct 2022 13:36:42 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000186e6c05eb2cd12e@google.com> Subject: [syzbot] WARNING in btrfs_sync_log 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 output: https://syzkaller.appspot.com/x/log.txt?x=12c65b84880000 kernel config: https://syzkaller.appspot.com/x/.config?x=d19f5d16783f901 dashboard link: https://syzkaller.appspot.com/bug?extid=4406ed3884d139266b67 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. 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 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+4406ed3884d139266b67@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 ]------------ WARNING: CPU: 0 PID: 30197 at fs/btrfs/tree-log.c:3081 btrfs_sync_log+0x1ebd/0x2d40 fs/btrfs/tree-log.c:3081 Modules linked in: CPU: 0 PID: 30197 Comm: syz-executor.0 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_sync_log+0x1ebd/0x2d40 fs/btrfs/tree-log.c:3081 Code: 2b 42 92 06 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 40 eb 19 e8 d3 a0 f4 fd 48 c7 c7 60 f5 db 8a 89 de 31 c0 e8 33 05 bd fd <0f> 0b b3 01 44 0f b6 c3 4c 89 e7 48 c7 c6 e0 f5 db 8a ba 09 0c 00 RSP: 0018:ffffc90004ed74a0 EFLAGS: 00010246 RAX: db16f372e186ad00 RBX: 00000000fffffff4 RCX: 0000000000040000 RDX: ffffc90004022000 RSI: 000000000000385b RDI: 000000000000385c RBP: ffffc90004ed7930 R08: ffffffff816aa79d R09: ffffed1017344f13 R10: ffffed1017344f13 R11: 1ffff11017344f12 R12: ffff88808a1dd540 R13: 00000000fffffff4 R14: dffffc0000000000 R15: ffff88808a1dd590 FS: 00007f7877fdd700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3761c46000 CR3: 0000000079795000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_sync_file+0xdf4/0x1140 fs/btrfs/file.c:2242 generic_write_sync include/linux/fs.h:2873 [inline] btrfs_do_write_iter+0xa6f/0x1370 fs/btrfs/file.c:1975 call_write_iter include/linux/fs.h:2190 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7dc/0xc50 fs/read_write.c:584 ksys_write+0x177/0x2a0 fs/read_write.c:637 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:0x7f7876e8b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7877fdd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7876fabf80 RCX: 00007f7876e8b5a9 RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f7877fdd1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffca3e1f08f R14: 00007f7877fdd300 R15: 0000000000022000 --- 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.