------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3248! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 386 Comm: syz-executor386 Not tainted 5.10.153-syzkaller-00570-g673a7341bdab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3248 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xe54/0xec0 fs/ext4/mballoc.c:1174 Code: ff e8 a0 1a c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 a6 1a c8 ff e9 0a f4 ff ff e8 9c f5 8d ff <0f> 0b e8 95 f5 8d ff 4c 89 ef e8 dd 64 cd ff e9 34 fc ff ff e8 83 RSP: 0018:ffffc90000c471f8 EFLAGS: 00010293 RAX: ffffffff81deee24 RBX: 0000000000000001 RCX: ffff8881067f3b40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000c47290 R08: ffffffff81dee0ac R09: ffffc90000c47320 R10: fffff52000188e6b R11: 1ffff92000188e64 R12: 1ffff1102142f879 R13: ffff88810a179000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555555962300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8986bf195f CR3: 000000011e60c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_load_buddy fs/ext4/mballoc.c:1296 [inline] ext4_mballoc_query_range+0xb8/0x7a0 fs/ext4/mballoc.c:5959 ext4_getfsmap_datadev+0x1b7f/0x2710 fs/ext4/fsmap.c:537 ext4_getfsmap+0xd66/0x10c0 fs/ext4/fsmap.c:708 ext4_ioc_getfsmap fs/ext4/ioctl.c:713 [inline] __ext4_ioctl fs/ext4/ioctl.c:829 [inline] ext4_ioctl+0x35bd/0x6330 fs/ext4/ioctl.c:1332 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x115/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f8986c353e9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffca4a1dde8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f8986c353e9 RDX: 0000000020000200 RSI: 00000000c0c0583b RDI: 0000000000000004 RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d R10: 00000000000003f1 R11: 0000000000000246 R12: 00007f8986bf45c0 R13: 00007ffca4a1de10 R14: 00007ffca4a1ddfc R15: 00007ffca4a1de00 Modules linked in: ---[ end trace e37d997476fbb1ed ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:3248 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xe54/0xec0 fs/ext4/mballoc.c:1174 Code: ff e8 a0 1a c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 a6 1a c8 ff e9 0a f4 ff ff e8 9c f5 8d ff <0f> 0b e8 95 f5 8d ff 4c 89 ef e8 dd 64 cd ff e9 34 fc ff ff e8 83 RSP: 0018:ffffc90000c471f8 EFLAGS: 00010293 RAX: ffffffff81deee24 RBX: 0000000000000001 RCX: ffff8881067f3b40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000c47290 R08: ffffffff81dee0ac R09: ffffc90000c47320 R10: fffff52000188e6b R11: 1ffff92000188e64 R12: 1ffff1102142f879 R13: ffff88810a179000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555555962300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555559625d0 CR3: 000000011e60c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400