Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2885631rwb; Wed, 30 Nov 2022 12:14:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ydONdGKL6I7SJx5ACa1T6ttZFjXKDY4IvPwIKfdy6me+GTGvrbrw/SgJG44XcASG1OCLS X-Received: by 2002:a17:906:a58:b0:7ad:b45c:dbca with SMTP id x24-20020a1709060a5800b007adb45cdbcamr42684672ejf.388.1669839291093; Wed, 30 Nov 2022 12:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669839291; cv=none; d=google.com; s=arc-20160816; b=Mq+bBNmJ3oqTAogkRMu8FoaIVDAzf4HCs1eAjf1tzVP5DhPjElXVxsI0nDrnQRoVQf AHM5R5K8sELvv+PFEPb542KgrJWJj4frccOeTBRzvT52rTN5pRUMR7dXX0SOJwy+++0k TJ5Lt4L9KUuRy6oCL2yWG4LODyqro82YLIKV49al3x2V60DAHJJZQz+HRWTZpIOsPpeG NXOL8RfMUU2PLfEg/EGOe7jKwaaQik7sVoEXA/BnsPfqAoBRb1+E3QKOkGUPH4n2iayx uRycVCzqQdO8oYKo92ksNvsXb9iuJ3AWgBxOYHepXpvWiuo26FWpo7p9gH64ohFixtW9 qxeg== 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=6m31B3T4WPKdD8D5Hi6zvUudwhOCA6A3RJwv+AxyDTQ=; b=N6tB0YVNVRE1EymYtqS6iKYKOQqoIyk/CZkgGxT46Lm4j91c81Bj3D/JBcxzJ11Vf+ pvK9tlPDtVYc0Z2yfGgpKrxacxd7RX3OrXlq/Oabbw0U325SI19mG+TMvZ53OdPggtLO /stml+662AOFavOFVaYHJ6Z2W1lVLVZ/+nlZKEqKc23pJ+hxbr8wTQvL/RWHHfmlwP9U RtyvN6oDEe5VVonpKuFvsHQjQfb24M+x0vUIHSSPc3TWuErFECnJCtGSX1pFUMgoaELw CAJDRahQ4971rH//yllPmx7qdyPh7uu6hqL9LAirlTZKg/FpjIs667Zhv+GlhnJX9cfP F1TA== 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 hw9-20020a170907a0c900b0078d288ddfc9si2352786ejc.143.2022.11.30.12.14.31; Wed, 30 Nov 2022 12:14:51 -0800 (PST) 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 S229740AbiK3T6l (ORCPT + 83 others); Wed, 30 Nov 2022 14:58:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbiK3T6k (ORCPT ); Wed, 30 Nov 2022 14:58:40 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3678C69A for ; Wed, 30 Nov 2022 11:58:39 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id l4-20020a056e021aa400b00300ad9535c8so16370116ilv.1 for ; Wed, 30 Nov 2022 11:58:39 -0800 (PST) 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=6m31B3T4WPKdD8D5Hi6zvUudwhOCA6A3RJwv+AxyDTQ=; b=TTLYeE8drKAFW+C05EpkEofmvviVROPTjxYMg4NpRO0nJuToLtkx3BNHyBgtQiY69G wgwS1sY9AkVQOdp1GzkC6H12ln/IzVNns53d9tg0zhGlAQ/Xb/vh2lxUaNnsH3xVNVvf epbuHq63EYsHMdExBE51euXKLUWJlReyUtlyhF22w+XktVT6azSM7J9c5CAGfIWPK93N c45Uykm2Fk8wEz1Goly/iWW5kcaaU6sGKHKYFoEKFypr5GWt6qwqK6o23Zye29Pd3Nkd uIC6sEFziqWSkIbEQPt/hfHe9m9QezoGVPl+8mGWR5hl185LrLMVYZGE0m8BmhEcMGaQ j+Bg== X-Gm-Message-State: ANoB5pmBjN2FqfuJgC72xIbsKnmnrqbjq3K41e1SW4aJtWzvO2PEM16S drK1h+1OkiknaryvJsN1Q5OO8RBpfuD1SIih9rAbXQEtWYqx MIME-Version: 1.0 X-Received: by 2002:a5d:8e0a:0:b0:6df:c191:c691 with SMTP id e10-20020a5d8e0a000000b006dfc191c691mr1824785iod.103.1669838318673; Wed, 30 Nov 2022 11:58:38 -0800 (PST) Date: Wed, 30 Nov 2022 11:58:38 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d1495205eeb58712@google.com> Subject: [syzbot] WARNING in btrfs_put_transaction 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: 644e9524388a Merge tag 'for-v6.1-rc' of git://git.kernel.o.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=134bee03880000 kernel config: https://syzkaller.appspot.com/x/.config?x=8d01b6e3197974dd dashboard link: https://syzkaller.appspot.com/bug?extid=3706b1df47f2464f0c1e 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=1476f2c3880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17e6e3c9880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/0968428e17b4/disk-644e9524.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/fd4c3bfd0777/vmlinux-644e9524.xz kernel image: https://storage.googleapis.com/syzbot-assets/ee4571f27f1c/bzImage-644e9524.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/68219d51df73/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3706b1df47f2464f0c1e@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3706 at fs/btrfs/transaction.c:132 btrfs_put_transaction+0x377/0x3d0 Modules linked in: CPU: 0 PID: 3706 Comm: btrfs-transacti Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:btrfs_put_transaction+0x377/0x3d0 fs/btrfs/transaction.c:131 Code: da 31 c0 e8 bd 56 09 07 e9 e5 fd ff ff e8 a1 a1 03 fe 0f 0b e9 f7 fc ff ff e8 95 a1 03 fe 0f 0b e9 69 fd ff ff e8 89 a1 03 fe <0f> 0b e9 89 fd ff ff e8 7d a1 03 fe 4c 89 ff be 03 00 00 00 48 83 RSP: 0018:ffffc90003fefbf8 EFLAGS: 00010293 RAX: ffffffff8386f627 RBX: ffff8880188b3330 RCX: ffff8880799eba80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880188b3000 R08: ffffffff8386f330 R09: ffffed1003116603 R10: ffffed1003116603 R11: 1ffff11003116602 R12: ffff8880188b3028 R13: dffffc0000000000 R14: ffff888027cecce8 R15: ffff8880188b3010 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b2eb954e90 CR3: 0000000027fcd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction+0x55b/0x1b60 fs/btrfs/disk-io.c:5237 transaction_kthread+0x3f5/0x490 fs/btrfs/disk-io.c:1913 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 --- 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