------------[ cut here ]------------ WARNING: CPU: 0 PID: 11152 at fs/btrfs/transaction.c:144 btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] WARNING: CPU: 0 PID: 11152 at fs/btrfs/transaction.c:144 btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:137 Modules linked in: CPU: 0 PID: 11152 Comm: btrfs-transacti Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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: 75 e3 1b fe 0f 0b e9 b7 fc ff ff 4c 89 e7 e8 06 ae 6e fe e9 96 fc ff ff 48 89 df e8 19 ae 6e fe e9 2d fd ff ff e8 4f e3 1b fe <0f> 0b e9 9c fd ff ff e8 43 e3 1b fe 0f 0b e9 50 ff ff ff e8 37 e3 RSP: 0018:ffffc9000389fcb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807b17c028 RCX: 0000000000000000 RDX: ffff8880774bbb80 RSI: ffffffff83686391 RDI: ffff88807b17c330 RBP: ffff88807b17c000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88807b17c010 R13: ffff888078c10cd8 R14: ffff888078c10c08 R15: ffff888078c10000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2e3063000 CR3: 000000002b726000 CR4: 0000000000350ef0 Call Trace: btrfs_cleanup_transaction.isra.0+0x21c/0x1340 fs/btrfs/disk-io.c:5183 transaction_kthread+0x3cb/0x4e0 fs/btrfs/disk-io.c:1819 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308