------------[ cut here ]------------ WARNING: CPU: 1 PID: 12865 at fs/btrfs/transaction.c:146 btrfs_put_transaction+0x3d5/0x4d0 fs/btrfs/transaction.c:146 Modules linked in: CPU: 1 PID: 12865 Comm: btrfs-transacti Not tainted 6.9.0-rc6-syzkaller-00227-g3d25a941ea50 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:btrfs_put_transaction+0x3d5/0x4d0 fs/btrfs/transaction.c:146 Code: fe 90 0f 0b 90 e9 b4 fc ff ff 4c 89 e7 e8 c3 0c 5d fe e9 93 fc ff ff 48 89 df e8 e6 0c 5d fe e9 2a fd ff ff e8 dc c0 01 fe 90 <0f> 0b 90 e9 97 fd ff ff e8 ce c0 01 fe 90 0f 0b 90 e9 49 ff ff ff RSP: 0018:ffffc90003907c88 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802d592028 RCX: ffffffff838c0211 RDX: ffff888022e93c00 RSI: ffffffff838c0554 RDI: ffff88802d592320 RBP: ffff88802d592000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802d592010 R13: ffff88802d592000 R14: ffff888015fa8cc8 R15: ffff88802d592030 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff1f353c58 CR3: 000000002d896000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction.isra.0+0x231/0x1380 fs/btrfs/disk-io.c:4897 transaction_kthread+0x320/0x4c0 fs/btrfs/disk-io.c:1616 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244