------------[ cut here ]------------ WARNING: CPU: 1 PID: 3651 at fs/btrfs/transaction.c:132 btrfs_put_transaction+0x377/0x3d0 Modules linked in: CPU: 1 PID: 3651 Comm: btrfs-transacti Not tainted 6.1.0-rc8-syzkaller-00018-g479174d402bc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:btrfs_put_transaction+0x377/0x3d0 fs/btrfs/transaction.c:131 Code: da 31 c0 e8 cd 66 09 07 e9 e5 fd ff ff e8 a1 8a 03 fe 0f 0b e9 f7 fc ff ff e8 95 8a 03 fe 0f 0b e9 69 fd ff ff e8 89 8a 03 fe <0f> 0b e9 89 fd ff ff e8 7d 8a 03 fe 4c 89 ff be 03 00 00 00 48 83 RSP: 0018:ffffc90003cffbf8 EFLAGS: 00010293 RAX: ffffffff83871617 RBX: ffff8880187f9330 RCX: ffff88807c55d7c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880187f9000 R08: ffffffff83871320 R09: ffffed10030ff203 R10: ffffed10030ff203 R11: 1ffff110030ff202 R12: ffff8880187f9028 R13: dffffc0000000000 R14: ffff8880201c0ce8 R15: ffff8880187f9010 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc489d24000 CR3: 000000007e642000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_cleanup_transaction+0x55b/0x1b60 fs/btrfs/disk-io.c:5237 transaction_kthread+0x3f5/0x490 fs/btrfs/disk-io.c:1913 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306