------------[ 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