------------[ cut here ]------------ WARNING: CPU: 1 PID: 7049 at fs/btrfs/block-group.c:2574 btrfs_create_pending_block_groups+0xe62/0x1030 fs/btrfs/block-group.c:2574 Modules linked in: CPU: 1 PID: 7049 Comm: syz.5.653 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:btrfs_create_pending_block_groups+0xe62/0x1030 fs/btrfs/block-group.c:2574 Code: 48 c7 c7 20 00 f1 8a 44 89 e6 e8 59 8f c1 fd 0f 0b e9 42 fe ff ff e8 8d 2d f6 fd 48 c7 c7 20 00 f1 8a 44 89 fe e8 3e 8f c1 fd <0f> 0b 4c 8b 34 24 e9 60 ff ff ff e8 6e 2d f6 fd 48 c7 c7 20 00 f1 RSP: 0018:ffffc9000333f7a0 EFLAGS: 00010246 RAX: c77633705f557b00 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000fb84000 RSI: 0000000000037017 RDI: 0000000000037018 RBP: ffffc9000333f9f0 R08: ffffc9000333f427 R09: 1ffff92000667e84 R10: dffffc0000000000 R11: fffff52000667e85 R12: dffffc0000000000 R13: ffff888027f6c000 R14: ffff8880786d0001 R15: 00000000ffffffe4 FS: 00007f22eabf06c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef509f0ce0 CR3: 000000007ac64000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_commit_transaction+0x2a0/0x3830 fs/btrfs/transaction.c:2218 btrfs_quota_enable+0xda8/0x1c60 fs/btrfs/qgroup.c:1175 btrfs_ioctl_quota_ctl+0x13a/0x170 fs/btrfs/ioctl.c:4646 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f22e9da94d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f22eabf0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f22ea026180 RCX: 00007f22e9da94d9 RDX: 000020000000d680 RSI: 00000000c0109428 RDI: 0000000000000003 RBP: 00007f22e9e3804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f22ea026218 R14: 00007f22ea026180 R15: 00007ffc7b507bd8