------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3331! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16765 Comm: syz-executor.2 Not tainted 6.1.29-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331 Code: 4f ff 8b 74 24 04 48 c7 c7 80 d9 0b 8d 4c 89 f2 e8 bc fe 24 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 8c 4f 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:ffffc90014d66240 EFLAGS: 00010283 RAX: ffffffff823a3869 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000c2aa000 RSI: 0000000000006c82 RDI: 0000000000006c83 RBP: 0000000000000001 R08: ffffffff823a3539 R09: ffffed101427314c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110133424cf R13: dffffc0000000000 R14: ffff888099a16000 R15: ffff888099a12678 FS: 00007fd36cc78700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2bf2a000 CR3: 000000007740c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_find_by_goal+0x118/0xcf0 fs/ext4/mballoc.c:2162 ext4_mb_regular_allocator+0x24c/0x38b0 fs/ext4/mballoc.c:2614 ext4_mb_new_blocks+0xf3c/0x4820 fs/ext4/mballoc.c:5615 ext4_new_meta_blocks+0x206/0x4f0 fs/ext4/balloc.c:725 ext4_ext_grow_indepth fs/ext4/extents.c:1329 [inline] ext4_ext_create_new_leaf fs/ext4/extents.c:1435 [inline] ext4_ext_insert_extent+0xf43/0x4e50 fs/ext4/extents.c:2102 ext4_split_extent_at+0x80e/0x10f0 fs/ext4/extents.c:3254 ext4_split_extent+0x1c0/0x4e0 fs/ext4/extents.c:3355 ext4_split_convert_extents fs/ext4/extents.c:3714 [inline] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3876 [inline] ext4_ext_map_blocks+0x259d/0x77c0 fs/ext4/extents.c:4168 ext4_map_blocks+0xa48/0x1ce0 fs/ext4/inode.c:651 mpage_map_one_extent fs/ext4/inode.c:2420 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2473 [inline] ext4_writepages+0x1643/0x3de0 fs/ext4/inode.c:2841 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x1a4/0x290 mm/filemap.c:674 __iomap_dio_rw+0xb38/0x2240 fs/iomap/direct-io.c:573 iomap_dio_rw+0x42/0xa0 fs/iomap/direct-io.c:690 ext4_dio_read_iter fs/ext4/file.c:94 [inline] ext4_file_read_iter+0x50b/0x660 fs/ext4/file.c:145 call_read_iter include/linux/fs.h:2199 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x7de/0xbe0 fs/read_write.c:470 ksys_read+0x19c/0x2c0 fs/read_write.c:613 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:0x7fd36be8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007fd36cc78168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fd36bfac050 RCX: 00007fd36be8c169 RDX: 0000000000000026 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007fd36bee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd80968e3f R14: 00007fd36cc78300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_get_group_info+0x399/0x3a0 fs/ext4/ext4.h:3331 Code: 4f ff 8b 74 24 04 48 c7 c7 80 d9 0b 8d 4c 89 f2 e8 bc fe 24 02 43 80 3c 2c 00 0f 85 23 fd ff ff e9 26 fd ff ff e8 67 8c 4f 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:ffffc90014d66240 EFLAGS: 00010283 RAX: ffffffff823a3869 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000c2aa000 RSI: 0000000000006c82 RDI: 0000000000006c83 RBP: 0000000000000001 R08: ffffffff823a3539 R09: ffffed101427314c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110133424cf R13: dffffc0000000000 R14: ffff888099a16000 R15: ffff888099a12678 FS: 00007fd36cc78700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c73d88bf78 CR3: 000000007740c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400