------------[ cut here ]------------ WARNING: CPU: 0 PID: 4347 at fs/btrfs/qgroup.c:1009 btrfs_quota_enable+0x1518/0x1f30 fs/btrfs/qgroup.c:1009 Modules linked in: CPU: 0 PID: 4347 Comm: syz.3.8 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:btrfs_quota_enable+0x1518/0x1f30 fs/btrfs/qgroup.c:1009 Code: e8 0d 78 15 fe 4c 8b 7c 24 40 0f 1f 44 00 00 e8 fe 77 15 fe eb 16 e8 f7 77 15 fe 48 c7 c7 a0 f8 6c 8a 44 89 e6 e8 18 bd 5c 06 <0f> 0b 48 8b 7c 24 28 48 c7 c6 20 f9 6c 8a ba f1 03 00 00 4c 8b 74 RSP: 0018:ffffc9000339fce0 EFLAGS: 00010246 RAX: c93cc254bf7d0400 RBX: 1ffff92000673fb0 RCX: 0000000000080000 RDX: ffffc9000cb61000 RSI: 0000000000011a24 RDI: 0000000000011a25 RBP: ffffc9000339fea0 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b R10: dffffc0000000000 R11: ffffed10171c4f2c R12: ffffffffffffffe4 R13: dffffc0000000000 R14: 1ffff1100ec72e4d R15: ffff88805daa5798 FS: 00007f13982aa6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3dc2500000 CR3: 0000000020374000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_ioctl_quota_ctl+0x13a/0x170 fs/btrfs/ioctl.c:4254 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f139a07e519 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:00007f13982aa028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f139a30b090 RCX: 00007f139a07e519 RDX: 0000200000006680 RSI: 00000000c0109428 RDI: 0000000000000004 RBP: 00007f139a10e136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f139a30b128 R14: 00007f139a30b090 R15: 00007ffdd61cf2c8