------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:3331!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 295 Comm: syz-executor333 Not tainted 6.1.25-syzkaller-00078-g1e114e6efac1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3331 [inline]
RIP: 0010:ext4_trim_fs+0x1787/0x17d0 fs/ext4/mballoc.c:6521
Code: 7f a7 00 e9 95 ee ff ff e8 96 cc 7e ff 8b 74 24 38 48 c7 c7 00 fb cb 86 48 89 da e8 63 7f a7 00 e9 01 ef ff ff e8 79 cc 7e ff <0f> 0b e8 f2 be f8 02 48 8b 4c 24 48 80 e1 07 38 c1 0f 8c 86 fe ff
RSP: 0018:ffffc90000e676e0 EFLAGS: 00010293
RAX: ffffffff81f61f47 RBX: 0000000000000001 RCX: ffff888121640000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000003f596bdf
RBP: ffffc90000e678d0 R08: ffffffff81f610a6 R09: fffff520001ccfc7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810952a040
R13: ffff88810952a000 R14: dffffc0000000000 R15: 000000003f596bdf
FS: 0000555556233380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020040000 CR3: 0000000108ffe000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__ext4_ioctl fs/ext4/ioctl.c:1488 [inline]
ext4_ioctl+0x271c/0x58c0 fs/ext4/ioctl.c:1611
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0x114/0x190 fs/ioctl.c:856
__x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9ef111f739
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc89cd8058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffc89cd8228 RCX: 00007f9ef111f739
RDX: 0000000020000680 RSI: 00000000c0185879 RDI: 0000000000000006
RBP: 00007f9ef1192610 R08: 00007ffc89cd8228 R09: 00007ffc89cd8228
R10: 00007ffc89cd8228 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc89cd8218 R14: 0000000000000001 R15: 0000000000000001
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3331 [inline]
RIP: 0010:ext4_trim_fs+0x1787/0x17d0 fs/ext4/mballoc.c:6521
Code: 7f a7 00 e9 95 ee ff ff e8 96 cc 7e ff 8b 74 24 38 48 c7 c7 00 fb cb 86 48 89 da e8 63 7f a7 00 e9 01 ef ff ff e8 79 cc 7e ff <0f> 0b e8 f2 be f8 02 48 8b 4c 24 48 80 e1 07 38 c1 0f 8c 86 fe ff
RSP: 0018:ffffc90000e676e0 EFLAGS: 00010293
RAX: ffffffff81f61f47 RBX: 0000000000000001 RCX: ffff888121640000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000003f596bdf
RBP: ffffc90000e678d0 R08: ffffffff81f610a6 R09: fffff520001ccfc7
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810952a040
R13: ffff88810952a000 R14: dffffc0000000000 R15: 000000003f596bdf
FS: 0000555556233380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020040000 CR3: 0000000108ffe000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400