------------[ cut here ]------------ WARNING: CPU: 1 PID: 3648 at fs/btrfs/transaction.c:131 btrfs_put_transaction fs/btrfs/transaction.c:131 [inline] WARNING: CPU: 1 PID: 3648 at fs/btrfs/transaction.c:131 btrfs_put_transaction+0x3a0/0x470 fs/btrfs/transaction.c:124 Modules linked in: CPU: 0 PID: 3648 Comm: btrfs-transacti Not tainted 6.1.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:btrfs_put_transaction fs/btrfs/transaction.c:131 [inline] RIP: 0010:btrfs_put_transaction+0x3a0/0x470 fs/btrfs/transaction.c:124 Code: fc ff ff 48 89 df e8 5f 06 6d fe e9 73 fd ff ff e8 65 2d 20 fe 0f 0b eb a1 e8 5c 2d 20 fe 0f 0b e9 a2 fd ff ff e8 50 2d 20 fe <0f> 0b e9 cd fd ff ff 48 89 df e8 d1 06 6d fe e9 01 ff ff ff 4c 89 RSP: 0018:ffffc90003ddfcb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888140b3e028 RCX: 0000000000000000 RDX: ffff888023263a80 RSI: ffffffff835ff0b0 RDI: ffff888140b3e330 RBP: ffff888140b3e000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888140b3e010 R13: dffffc0000000000 R14: ffff888078090c18 R15: ffff888078090000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59eda5b000 CR3: 000000007e0ff000 CR4: 0000000000350ee0 Call Trace: btrfs_cleanup_transaction.isra.0+0x223/0x1310 fs/btrfs/disk-io.c:5237 transaction_kthread+0x3cb/0x4e0 fs/btrfs/disk-io.c:1913 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306