loop4: detected capacity change from 0 to 512 ------------[ cut here ]------------ kernel BUG at fs/ext4/super.c:6395! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1331 Comm: syz-executor.4 Not tainted 5.15.189-syzkaller-1081268-ga71626bd56a5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ext4_quota_enable fs/ext4/super.c:6395 [inline] RIP: 0010:ext4_enable_quotas+0x6c9/0x6d0 fs/ext4/super.c:6442 Code: ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c a4 fa ff ff 4c 89 f7 e8 36 75 c2 ff e9 97 fa ff ff e8 dc 94 bb 02 e8 e7 fc 83 ff <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 RSP: 0018:ffffc90003807910 EFLAGS: 00010293 RAX: ffffffff81e4b2e9 RBX: ffff8881061c9000 RCX: ffff88811394bb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900038079b0 R08: dffffc0000000000 R09: ffffed102507b7a8 R10: ffffed102507b7a8 R11: 1ffff1102507b7a7 R12: 0000000000000004 R13: ffff888122e54464 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ff22eb0a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f713c750d58 CR3: 000000012537f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_fill_super+0x8761/0x9030 fs/ext4/super.c:4949 mount_bdev+0x2ae/0x3e0 fs/super.c:1400 ext4_mount+0x34/0x40 fs/ext4/super.c:6621 legacy_get_tree+0xed/0x190 fs/fs_context.c:611 vfs_get_tree+0x89/0x260 fs/super.c:1530 do_new_mount+0x25a/0xa20 fs/namespace.c:3014 path_mount+0x675/0x1020 fs/namespace.c:3344 do_mount fs/namespace.c:3357 [inline] __do_sys_mount fs/namespace.c:3565 [inline] __se_sys_mount+0x318/0x380 fs/namespace.c:3542 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3542 x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166 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:0x7ff22ef891ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff22eb09ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff22eb09f80 RCX: 00007ff22ef891ea RDX: 00000000200005c0 RSI: 0000000020000000 RDI: 00007ff22eb09f40 RBP: 00000000200005c0 R08: 00007ff22eb09f80 R09: 0000000000200810 R10: 0000000000200810 R11: 0000000000000246 R12: 0000000020000000 R13: 00007ff22eb09f40 R14: 00000000000004da R15: 0000000020001400 Modules linked in: ---[ end trace a1104ef58d59cc73 ]--- RIP: 0010:ext4_quota_enable fs/ext4/super.c:6395 [inline] RIP: 0010:ext4_enable_quotas+0x6c9/0x6d0 fs/ext4/super.c:6442 Code: ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c a4 fa ff ff 4c 89 f7 e8 36 75 c2 ff e9 97 fa ff ff e8 dc 94 bb 02 e8 e7 fc 83 ff <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 RSP: 0018:ffffc90003807910 EFLAGS: 00010293 RAX: ffffffff81e4b2e9 RBX: ffff8881061c9000 RCX: ffff88811394bb40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900038079b0 R08: dffffc0000000000 R09: ffffed102507b7a8 R10: ffffed102507b7a8 R11: 1ffff1102507b7a7 R12: 0000000000000004 R13: ffff888122e54464 R14: 0000000000000000 R15: 0000000000000001 FS: 00007ff22eb0a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7e1187b086 CR3: 000000012537f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400