------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3241! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11429 Comm: syz-executor.0 Not tainted 6.4.0-rc1-syzkaller-00011-g1dc3731daf1f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3241 Code: 4c ff 8b 74 24 04 48 c7 c7 40 34 0c 8d 4c 89 f2 e8 ac 0b 2e 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 17 cb 4c ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 RSP: 0018:ffffc90015946918 EFLAGS: 00010293 RAX: ffffffff823e9c29 RBX: 00000000fffff01a RCX: ffff888023880000 RDX: 0000000000000000 RSI: 00000000fffff01a RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff823e98f9 R09: fffff940000f00bf R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fc6b0cf R13: dffffc0000000000 R14: ffff88807e35a000 R15: ffff88807e358678 FS: 00007fe777923700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e0a846718 CR3: 000000007b45a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_load_buddy_gfp+0xc6/0x850 fs/ext4/mballoc.c:1446 ext4_discard_preallocations+0x744/0x1090 fs/ext4/mballoc.c:5226 ext4_truncate+0x98b/0x1150 fs/ext4/inode.c:4148 ext4_truncate_failed_write fs/ext4/truncate.h:22 [inline] ext4_write_begin+0xa20/0x10b0 fs/ext4/inode.c:1231 ext4_da_write_begin+0x300/0xa40 fs/ext4/inode.c:2891 generic_perform_write+0x300/0x5e0 mm/filemap.c:3923 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:289 ext4_file_write_iter+0x1d6/0x1930 __kernel_write_iter+0x303/0x710 fs/read_write.c:517 dump_emit_page fs/coredump.c:886 [inline] dump_user_range+0x46c/0x920 fs/coredump.c:913 elf_core_dump+0x3b6c/0x4480 fs/binfmt_elf.c:2142 do_coredump+0x19eb/0x2980 fs/coredump.c:762 get_signal+0x145e/0x17e0 kernel/signal.c:2860 arch_do_signal_or_restart+0x91/0x670 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:310 exc_page_fault+0x71e/0x910 arch/x86/mm/fault.c:1593 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 002b:0000000020000473 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fe776dabf80 RCX: 00007fe776c8c169 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fe777923050 RBP: 00007fe776ce7ca1 R08: 0000000000000000 R09: 0000000000000058 R10: 00007fe777923050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffdf189585f R14: 00007fe777923300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3241 Code: 4c ff 8b 74 24 04 48 c7 c7 40 34 0c 8d 4c 89 f2 e8 ac 0b 2e 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 17 cb 4c ff <0f> 0b 0f 1f 44 00 00 55 41 57 41 56 41 54 53 48 89 fb 49 bf 00 00 RSP: 0018:ffffc90015946918 EFLAGS: 00010293 RAX: ffffffff823e9c29 RBX: 00000000fffff01a RCX: ffff888023880000 RDX: 0000000000000000 RSI: 00000000fffff01a RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff823e98f9 R09: fffff940000f00bf R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fc6b0cf R13: dffffc0000000000 R14: ffff88807e35a000 R15: ffff88807e358678 FS: 00007fe777923700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d729000 CR3: 000000007b45a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400