------------[ cut here ]------------ WARNING: CPU: 0 PID: 5502 at fs/btrfs/qgroup.c:1009 btrfs_quota_enable+0x1518/0x1f30 fs/btrfs/qgroup.c:1009 Modules linked in: CPU: 0 PID: 5502 Comm: syz.0.267 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 dd 5d 16 fe 4c 8b 7c 24 40 0f 1f 44 00 00 e8 ce 5d 16 fe eb 16 e8 c7 5d 16 fe 48 c7 c7 20 de 6c 8a 44 89 e6 e8 f8 b9 5b 06 <0f> 0b 48 8b 7c 24 28 48 c7 c6 a0 de 6c 8a ba f1 03 00 00 4c 8b 74 RSP: 0018:ffffc9000354fce0 EFLAGS: 00010246 RAX: 6ae07555aff9e900 RBX: 1ffff920006a9fb0 RCX: 0000000000080000 RDX: ffffc9000eea9000 RSI: 000000000004a28b RDI: 000000000004a28c RBP: ffffc9000354fea0 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b R10: dffffc0000000000 R11: ffffed10171c4f2c R12: ffffffffffffffe4 R13: dffffc0000000000 R14: 1ffff1100e9cfafd R15: ffff88805fce9798 FS: 00007f206885e6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f022b0a168 CR3: 0000000064ced000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_ioctl_quota_ctl+0x13a/0x170 fs/btrfs/ioctl.c:4243 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:0x7f206a6324d9 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:00007f206885e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f206a8af090 RCX: 00007f206a6324d9 RDX: 00002000000060c0 RSI: 00000000c0109428 RDI: 0000000000000003 RBP: 00007f206a6c1136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f206a8af128 R14: 00007f206a8af090 R15: 00007ffeb6a558b8