------------[ cut here ]------------ WARNING: CPU: 1 PID: 5090 at fs/btrfs/transaction.c:144 btrfs_put_transaction fs/btrfs/transaction.c:144 [inline] WARNING: CPU: 1 PID: 5090 at fs/btrfs/transaction.c:144 btrfs_put_transaction+0x3d1/0x4c0 fs/btrfs/transaction.c:137 Modules linked in: CPU: 1 PID: 5090 Comm: btrfs-transacti Not tainted 6.2.0-rc5-next-20230127-syzkaller-08766-ge2f86c02fdc9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/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: b5 b9 17 fe 0f 0b e9 b7 fc ff ff 4c 89 e7 e8 76 b1 66 fe e9 96 fc ff ff 48 89 df e8 89 b1 66 fe e9 2d fd ff ff e8 8f b9 17 fe <0f> 0b e9 9c fd ff ff e8 83 b9 17 fe 0f 0b e9 50 ff ff ff e8 77 b9 RSP: 0018:ffffc90003e4fcb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888017c9e028 RCX: 0000000000000000 RDX: ffff888023c30000 RSI: ffffffff836cfb91 RDI: ffff888017c9e330 RBP: ffff888017c9e000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888017c9e010 R13: ffff88802a6c0ce0 R14: ffff88802a6c0c10 R15: ffff88802a6c0000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65bab02000 CR3: 0000000029e9b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction.isra.0+0x21c/0x1030 fs/btrfs/disk-io.c:5168 transaction_kthread+0x3cb/0x4e0 fs/btrfs/disk-io.c:1834 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308