------------[ cut here ]------------ WARNING: CPU: 1 PID: 10041 at fs/btrfs/transaction.c:151 btrfs_put_transaction+0x35d/0x3c0 fs/btrfs/transaction.c:150 Modules linked in: CPU: 1 PID: 10041 Comm: btrfs-transacti Not tainted 6.7.0-rc3-syzkaller-00298-g1b8af6552cb7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:btrfs_put_transaction+0x35d/0x3c0 fs/btrfs/transaction.c:150 Code: fc ff df e9 09 fe ff ff e8 a0 ff f9 fd 90 0f 0b 90 e9 14 fd ff ff e8 92 ff f9 fd 90 0f 0b 90 e9 8b fd ff ff e8 84 ff f9 fd 90 <0f> 0b 90 e9 a8 fd ff ff e8 76 ff f9 fd 48 89 df be 03 00 00 00 48 RSP: 0018:ffffc9000a017bc0 EFLAGS: 00010293 RAX: ffffffff83947abc RBX: ffff888034891330 RCX: ffff88801bf28000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffffff839477df R09: 1ffff11006912202 R10: dffffc0000000000 R11: ffffed1006912203 R12: ffff888034891028 R13: ffff888018a44ce0 R14: ffff888034891000 R15: ffff888018a44c10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001100 CR3: 0000000033aba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction+0x215/0x1b40 fs/btrfs/disk-io.c:4848 transaction_kthread+0x307/0x500 fs/btrfs/disk-io.c:1585 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242