------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3248! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 18087 Comm: syz-executor.4 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #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 40 13 c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 46 13 c8 ff e9 0a f4 ff ff e8 ec 10 8e ff <0f> 0b e8 e5 10 8e ff 4c 89 ef e8 5d 64 cd ff e9 34 fc ff ff e8 d3 RSP: 0018:ffffc9000a33f1f8 EFLAGS: 00010283 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000314b000 RSI: 00000000000001c6 RDI: 00000000000001c7 RBP: ffffc9000a33f290 R08: ffffffff81df034c R09: ffffc9000a33f320 R10: fffff52001467e6b R11: 1ffff92001467e64 R12: 1ffff1102c987079 R13: ffff888112686000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f34e8988700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a77c0d988 CR3: 00000001142a3000 CR4: 00000000003506b0 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:0x7f34e9c150c9 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:00007f34e8988168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f34e9d34f80 RCX: 00007f34e9c150c9 RDX: 0000000020000200 RSI: 00000000c0c0583b RDI: 0000000000000004 RBP: 00007f34e9c70ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8e9bd10f R14: 00007f34e8988300 R15: 0000000000022000 Modules linked in: ---[ end trace ebfb81222ade300f ]--- 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 40 13 c8 ff e9 c8 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 14 f4 ff ff e8 46 13 c8 ff e9 0a f4 ff ff e8 ec 10 8e ff <0f> 0b e8 e5 10 8e ff 4c 89 ef e8 5d 64 cd ff e9 34 fc ff ff e8 d3 RSP: 0018:ffffc9000a33f1f8 EFLAGS: 00010283 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000314b000 RSI: 00000000000001c6 RDI: 00000000000001c7 RBP: ffffc9000a33f290 R08: ffffffff81df034c R09: ffffc9000a33f320 R10: fffff52001467e6b R11: 1ffff92001467e64 R12: 1ffff1102c987079 R13: ffff888112686000 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f34e8988700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a6e45e000 CR3: 00000001142a3000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400