------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2985! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4654 Comm: syz.6.1061 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #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_mb_find_by_goal+0x968/0x9a0 fs/ext4/mballoc.c:1830 Code: fc ff ff 89 d1 80 e1 07 80 c1 03 38 c1 0f 8c 14 fd ff ff 48 8b 7d b0 e8 f6 31 cc ff 48 8b 55 b0 e9 02 fd ff ff e8 d8 37 9e ff <0f> 0b e8 d1 37 9e ff 0f 0b e8 ca 37 9e ff 0f 0b e8 c3 37 9e ff 0f RSP: 0000:ffff8881e36160a8 EFLAGS: 00010293 RAX: ffffffff81c14708 RBX: 0000000000000001 RCX: ffff8881e0fc8fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881e3616140 R08: dffffc0000000000 R09: ffff8881e3616220 R10: ffffed103c6c2c4b R11: 1ffff1103c6c2c44 R12: 1ffff1103e75a87e R13: ffff8881f3ad43f0 R14: 0000000000000001 R15: ffff8881e3616220 FS: 00007fb63d1db6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000fffffa40 CR3: 00000001cc023000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_regular_allocator+0x192/0xfb0 fs/ext4/mballoc.c:2131 ext4_mb_new_blocks+0x5a9/0x2e80 fs/ext4/mballoc.c:4600 ext4_ext_map_blocks+0x183c/0x63c0 fs/ext4/extents.c:4549 ext4_map_blocks+0x92d/0x1b00 fs/ext4/inode.c:661 _ext4_get_block+0x1bb/0x4b0 fs/ext4/inode.c:802 ext4_get_block+0x39/0x50 fs/ext4/inode.c:819 ext4_block_write_begin+0x5b8/0x1240 fs/ext4/inode.c:1213 ext4_write_begin+0x553/0x1700 fs/ext4/inode.c:1351 ext4_da_write_begin+0x307/0xf40 fs/ext4/inode.c:3110 generic_perform_write+0x2b8/0x500 mm/filemap.c:3450 __generic_file_write_iter+0x24b/0x480 mm/filemap.c:3579 ext4_file_write_iter+0x468/0xf90 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1991 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x480/0x5d0 fs/read_write.c:496 __kernel_write+0xea/0x320 fs/read_write.c:515 dump_emit+0x1c0/0x2c0 fs/coredump.c:838 elf_core_dump+0x3082/0x3bd0 fs/binfmt_elf.c:2295 do_coredump+0x1d8c/0x2ab0 fs/coredump.c:801 get_signal+0xdb7/0x13d0 kernel/signal.c:2732 do_signal+0xad/0xda0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc4/0x1b0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194 ret_from_intr+0x1c/0x1c RIP: 0033:0x7fb63eb72971 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:00000000fffffe10 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fb63ed99fa0 RCX: 00007fb63eb72969 RDX: 0000000000000000 RSI: 00000000fffffe10 RDI: 0000000000000000 RBP: 00007fb63ebf4ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb63ed99fa0 R15: 00007ffc87617488 Modules linked in: ---[ end trace 076d48e222df2116 ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline] RIP: 0010:ext4_mb_find_by_goal+0x968/0x9a0 fs/ext4/mballoc.c:1830 Code: fc ff ff 89 d1 80 e1 07 80 c1 03 38 c1 0f 8c 14 fd ff ff 48 8b 7d b0 e8 f6 31 cc ff 48 8b 55 b0 e9 02 fd ff ff e8 d8 37 9e ff <0f> 0b e8 d1 37 9e ff 0f 0b e8 ca 37 9e ff 0f 0b e8 c3 37 9e ff 0f RSP: 0000:ffff8881e36160a8 EFLAGS: 00010293 RAX: ffffffff81c14708 RBX: 0000000000000001 RCX: ffff8881e0fc8fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881e3616140 R08: dffffc0000000000 R09: ffff8881e3616220 R10: ffffed103c6c2c4b R11: 1ffff1103c6c2c44 R12: 1ffff1103e75a87e R13: ffff8881f3ad43f0 R14: 0000000000000001 R15: ffff8881e3616220 FS: 00007fb63d1db6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000fffffa40 CR3: 00000001cc023000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400