------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6002 Comm: syz-executor.0 Not tainted 5.4.265-syzkaller-04853-g43a5ead9254d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline] RIP: 0010:ext4_mb_new_group_pa+0xcb6/0xd20 fs/ext4/mballoc.c:3811 Code: ff df 80 3c 08 00 74 08 48 89 ef e8 84 27 c8 ff 48 83 7b 18 00 74 1c e8 38 55 98 ff 48 83 c3 18 e9 79 ff ff ff e8 2a 55 98 ff <0f> 0b e8 23 55 98 ff 0f 0b e8 1c 55 98 ff eb 0c e8 15 55 98 ff eb RSP: 0018:ffff8881ec505ea0 EFLAGS: 00010293 RAX: ffffffff81cbf196 RBX: ffff8881eaebe000 RCX: ffff8881f0aa2f40 RDX: 0000000000000000 RSI: 00000000ffffd331 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff81cbea92 R09: ffffed103d5d7c6d R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffd331 R13: ffff8881e8d19600 R14: ffff8881d6cd3c78 R15: ffff8881e8d19638 FS: 00007f0dfb0936c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000001ffffc40 CR3: 00000001dbb2f000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_new_preallocation fs/ext4/mballoc.c:3834 [inline] ext4_mb_new_blocks+0x781/0x2d10 fs/ext4/mballoc.c:4605 ext4_ext_map_blocks+0x1e70/0x7450 fs/ext4/extents.c:4511 ext4_map_blocks+0xa2f/0x1ba0 fs/ext4/inode.c:661 _ext4_get_block+0x21b/0x610 fs/ext4/inode.c:802 __block_write_begin_int+0x5bc/0x1630 fs/buffer.c:1980 ext4_convert_inline_data_to_extent fs/ext4/ext4_jbd2.h:453 [inline] ext4_try_to_write_inline_data+0x72d/0x1720 fs/ext4/inline.c:751 ext4_write_begin+0x25a/0x1900 fs/ext4/inode.c:1304 ext4_da_write_begin+0x4a3/0xfe0 fs/ext4/inode.c:3110 generic_perform_write+0x2c7/0x560 mm/filemap.c:3450 __generic_file_write_iter+0x224/0x530 mm/filemap.c:3579 ext4_file_write_iter+0x499/0x10e0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1983 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x5d3/0x750 fs/read_write.c:496 __kernel_write+0x10f/0x350 fs/read_write.c:515 dump_emit+0x213/0x350 fs/coredump.c:838 elf_core_dump+0x389e/0x4740 fs/binfmt_elf.c:2298 do_coredump+0x20fb/0x2f00 fs/coredump.c:801 get_signal+0xd83/0x1440 kernel/signal.c:2729 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 ret_from_intr+0x1c/0x1c Modules linked in: ---[ end trace 1bc7e3c30792c8a5 ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline] RIP: 0010:ext4_mb_new_group_pa+0xcb6/0xd20 fs/ext4/mballoc.c:3811 Code: ff df 80 3c 08 00 74 08 48 89 ef e8 84 27 c8 ff 48 83 7b 18 00 74 1c e8 38 55 98 ff 48 83 c3 18 e9 79 ff ff ff e8 2a 55 98 ff <0f> 0b e8 23 55 98 ff 0f 0b e8 1c 55 98 ff eb 0c e8 15 55 98 ff eb RSP: 0018:ffff8881ec505ea0 EFLAGS: 00010293 RAX: ffffffff81cbf196 RBX: ffff8881eaebe000 RCX: ffff8881f0aa2f40 RDX: 0000000000000000 RSI: 00000000ffffd331 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff81cbea92 R09: ffffed103d5d7c6d R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffd331 R13: ffff8881e8d19600 R14: ffff8881d6cd3c78 R15: ffff8881e8d19638 FS: 00007f0dfb0936c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000001ffffc40 CR3: 00000001dbb2f000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400