kernel BUG at fs/ext4/ext4.h:3248! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 381 Comm: syz-executor243 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 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:ffffc90000b971f8 EFLAGS: 00010293 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: ffff88810699a780 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000b97290 R08: ffffffff81df034c R09: ffffc90000b97320 R10: fffff52000172e6b R11: 1ffff92000172e64 R12: 1ffff110209f3a79 R13: ffff888104f9c000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556601300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555566015d0 CR3: 00000001085f5000 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:0x7fb3baf7b3f9 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:00007fff26697b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fb3baf7b3f9 RDX: 0000000020000380 RSI: 00000000c0c0583b RDI: 0000000000000004 RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d R10: 000000000000041b R11: 0000000000000246 R12: 00007fb3baf3a5d0 R13: 00007fff26697bb0 R14: 00007fff26697b9c R15: 00007fff26697ba0 Modules linked in: ---[ end trace 44c298afa3ce7f60 ]--- 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:ffffc90000b971f8 EFLAGS: 00010293 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: ffff88810699a780 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000b97290 R08: ffffffff81df034c R09: ffffc90000b97320 R10: fffff52000172e6b R11: 1ffff92000172e64 R12: 1ffff110209f3a79 R13: ffff888104f9c000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000555556601300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff26697b68 CR3: 00000001085f5000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400