------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2985! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1667 Comm: syz.8.277 Not tainted 5.4.290-syzkaller-00002-g41adfeb3d639 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline] RIP: 0010:ext4_trim_fs+0x1ec8/0x1ee0 fs/ext4/mballoc.c:5389 Code: 80 e1 07 80 c1 03 38 c1 0f 8c fd e6 ff ff 48 8d bc 24 10 02 00 00 e8 77 a3 c8 ff e9 eb e6 ff ff e8 5d 5c 6f ff e8 48 b9 98 ff <0f> 0b e8 41 b9 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffff8881e7a5f4e0 EFLAGS: 00010287 RAX: ffffffff81cb91b8 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000314a000 RSI: 0000000000000038 RDI: 0000000000000039 RBP: ffff8881e7a5f770 R08: ffffffff81cb7ad4 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 001d1d251d007fff R14: ffff8881e953d000 R15: 00000000e8e5445c FS: 00007f68969366c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff423288d58 CR3: 00000001da336000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_ioctl+0x2168/0x3ff0 fs/ext4/ioctl.c:1128 do_vfs_ioctl+0x742/0x1720 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f68982cc169 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:00007f6896936038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f68984e4fa0 RCX: 00007f68982cc169 RDX: 0000200000000080 RSI: 00000000c0185879 RDI: 000000000000000b RBP: 00007f689834d2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f68984e4fa0 R15: 00007fff79b3ad68 Modules linked in: ---[ end trace 6f4094bfe1fa2c9f ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline] RIP: 0010:ext4_trim_fs+0x1ec8/0x1ee0 fs/ext4/mballoc.c:5389 Code: 80 e1 07 80 c1 03 38 c1 0f 8c fd e6 ff ff 48 8d bc 24 10 02 00 00 e8 77 a3 c8 ff e9 eb e6 ff ff e8 5d 5c 6f ff e8 48 b9 98 ff <0f> 0b e8 41 b9 98 ff 0f 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffff8881e7a5f4e0 EFLAGS: 00010287 RAX: ffffffff81cb91b8 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000314a000 RSI: 0000000000000038 RDI: 0000000000000039 RBP: ffff8881e7a5f770 R08: ffffffff81cb7ad4 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 001d1d251d007fff R14: ffff8881e953d000 R15: 00000000e8e5445c FS: 00007f68969366c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff41ae48000 CR3: 00000001da336000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400