------------[ cut here ]------------ kernel BUG at fs/ext4/resize.c:548! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 478 Comm: syz.2.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:setup_new_flex_group_blocks fs/ext4/resize.c:547 [inline] RIP: 0010:ext4_flex_group_add+0x49b7/0x49c0 fs/ext4/resize.c:1556 Code: ff ff e8 ec 50 63 ff 0f 0b e8 e5 50 63 ff 0f 0b e8 de 50 63 ff 0f 0b e8 d7 50 63 ff 0f 0b e8 d0 50 63 ff 0f 0b e8 c9 50 63 ff <0f> 0b e8 c2 50 63 ff 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000bf7460 EFLAGS: 00010293 RAX: ffffffff823b0837 RBX: ffff88811b680400 RCX: ffff88811cdfa200 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bf76f0 R08: 0000000000000020 R09: ffffffff81f5b710 R10: ffffffff81f5b710 R11: ffffffff81f58b6a R12: 1ffff11022fc0b50 R13: ffff88811ad30fd4 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f79240476c0(0000) GS:ffff88826e837000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7924026d58 CR3: 000000012f116000 CR4: 00000000003526b0 Call Trace: ext4_resize_fs+0x3844/0x4350 fs/ext4/resize.c:2165 __ext4_ioctl fs/ext4/ioctl.c:1453 [inline] ext4_ioctl+0x22d2/0x3360 fs/ext4/ioctl.c:1626 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0x111/0x190 fs/ioctl.c:584 __x64_sys_ioctl+0x7f/0x90 fs/ioctl.c:584 x64_sys_call+0x1838/0x2fc0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x62/0x160 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f792318ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7924047038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f79233b5fa0 RCX: 00007f792318ebe9 RDX: 0000200000000140 RSI: 0000000040086610 RDI: 0000000000000004 RBP: 00007f7923211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f79233b6038 R14: 00007f79233b5fa0 R15: 00007ffd4ae18c28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:setup_new_flex_group_blocks fs/ext4/resize.c:547 [inline] RIP: 0010:ext4_flex_group_add+0x49b7/0x49c0 fs/ext4/resize.c:1556 Code: ff ff e8 ec 50 63 ff 0f 0b e8 e5 50 63 ff 0f 0b e8 de 50 63 ff 0f 0b e8 d7 50 63 ff 0f 0b e8 d0 50 63 ff 0f 0b e8 c9 50 63 ff <0f> 0b e8 c2 50 63 ff 0f 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90000bf7460 EFLAGS: 00010293 RAX: ffffffff823b0837 RBX: ffff88811b680400 RCX: ffff88811cdfa200 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bf76f0 R08: 0000000000000020 R09: ffffffff81f5b710 R10: ffffffff81f5b710 R11: ffffffff81f58b6a R12: 1ffff11022fc0b50 R13: ffff88811ad30fd4 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f79240476c0(0000) GS:ffff88826e737000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7924025f98 CR3: 000000012f116000 CR4: 00000000003526b0