------------[ cut here ]------------ WARNING: CPU: 1 PID: 6618 at fs/btrfs/transaction.c:144 btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] WARNING: CPU: 1 PID: 6618 at fs/btrfs/transaction.c:144 btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:137 Modules linked in: CPU: 1 PID: 6618 Comm: btrfs-transacti Not tainted 6.2.0-syzkaller-13277-g2eb29d59ddf0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] RIP: 0010:btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:137 Code: 45 93 14 fe 0f 0b e9 b7 fc ff ff 4c 89 e7 e8 f6 0e 66 fe e9 96 fc ff ff 48 89 df e8 09 0f 66 fe e9 2d fd ff ff e8 1f 93 14 fe <0f> 0b e9 9c fd ff ff e8 13 93 14 fe 0f 0b e9 50 ff ff ff e8 07 93 RSP: 0018:ffffc9000b217cb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803fa20028 RCX: 0000000000000000 RDX: ffff88802043d7c0 RSI: ffffffff83706721 RDI: ffff88803fa20330 RBP: ffff88803fa20000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88803fa20010 R13: dffffc0000000000 R14: ffff888028d6cc10 R15: ffff888028d6c000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d4fa179aa8 CR3: 0000000037faf000 CR4: 0000000000350ee0 Call Trace: btrfs_cleanup_transaction.isra.0+0x223/0x1320 fs/btrfs/disk-io.c:5163 transaction_kthread+0x3cb/0x4e0 fs/btrfs/disk-io.c:1827 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308