------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3248! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 371 Comm: syz-executor850 Not tainted 5.10.146-syzkaller-01235-g391716695e71 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/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 50 24 c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 56 24 c8 ff e9 0a f4 ff ff e8 9c 14 8e ff <0f> 0b e8 95 14 8e ff 4c 89 ef e8 fd 6b cd ff e9 34 fc ff ff e8 83 RSP: 0018:ffffc900002bf1f8 EFLAGS: 00010293 RAX: ffffffff81ded684 RBX: 0000000000000001 RCX: ffff8881067c8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc900002bf290 R08: ffffffff81dec90c R09: ffffc900002bf320 R10: fffff52000057e6b R11: 1ffff92000057e64 R12: 1ffff11020c74a79 R13: ffff8881063a7000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556dd4300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055740845bac0 CR3: 00000001059ea000 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:0x7fd36d244f99 Code: ff ff c3 66 2e 0f 1f 84 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 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff821c3d78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd36d244f99 RDX: 0000000020000200 RSI: 00000000c0c0583b RDI: 0000000000000003 RBP: 00007fd36d204760 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555556dd42c0 R11: 0000000000000246 R12: 00007fd36d2047f0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 3fcc3082ba8fb880 ]--- 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 50 24 c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 56 24 c8 ff e9 0a f4 ff ff e8 9c 14 8e ff <0f> 0b e8 95 14 8e ff 4c 89 ef e8 fd 6b cd ff e9 34 fc ff ff e8 83 RSP: 0018:ffffc900002bf1f8 EFLAGS: 00010293 RAX: ffffffff81ded684 RBX: 0000000000000001 RCX: ffff8881067c8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc900002bf290 R08: ffffffff81dec90c R09: ffffc900002bf320 R10: fffff52000057e6b R11: 1ffff92000057e64 R12: 1ffff11020c74a79 R13: ffff8881063a7000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556dd4300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055740845bac0 CR3: 00000001059ea000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400