------------[ cut here ]------------ WARNING: CPU: 1 PID: 11282 at fs/btrfs/transaction.c:145 btrfs_put_transaction+0x37f/0x3e0 Modules linked in: CPU: 1 PID: 11282 Comm: btrfs-transacti Not tainted 6.4.0-rc4-syzkaller-00099-g1874a42a7d74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:btrfs_put_transaction+0x37f/0x3e0 fs/btrfs/transaction.c:144 Code: 48 89 da e8 a3 c4 25 07 e9 00 fe ff ff e8 49 9a 03 fe 0f 0b e9 ef fc ff ff e8 3d 9a 03 fe 0f 0b e9 72 fd ff ff e8 31 9a 03 fe <0f> 0b e9 9b fd ff ff e8 25 9a 03 fe 48 89 df be 03 00 00 00 48 83 RSP: 0018:ffffc900050cfbe0 EFLAGS: 00010293 RAX: ffffffff8387e2ef RBX: ffff88802a2c4330 RCX: ffff88806d0bbb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff8387dfef R09: ffffed1005458803 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a2c4028 R13: ffff88802c628cd8 R14: ffff88802a2c4000 R15: ffff88802c628c08 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5565586058 CR3: 000000002ee71000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction+0x55d/0x1b30 fs/btrfs/disk-io.c:5182 transaction_kthread+0x424/0x4c0 fs/btrfs/disk-io.c:1818 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308