------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3331! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5932 Comm: syz-executor199 Not tainted 6.2.0-syzkaller-18295-ga9b06ec42c0f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ext4_get_group_info+0x340/0x344 fs/ext4/ext4.h:3331 lr : ext4_get_group_info+0x340/0x344 fs/ext4/ext4.h:3331 sp : ffff80001e207000 x29: ffff80001e207000 x28: ffff0000c9882000 x27: 0000000000000001 x26: 0000000000000000 x25: 1fffe000193104cf x24: ffff0000c9882000 x23: dfff800000000000 x22: ffff0000c9884000 x21: ffff0000c9882678 x20: 0000000000000001 x19: 0000000000000001 x18: 0000000000000000 x17: ffff800008adccb0 x16: ffff8000083102fc x15: ffff800008adccb0 x14: 1ffff00002b860af x13: dfff800000000000 x12: 0000000000000007 x11: ff80800008ee28b4 x10: 0000000000000000 x9 : ffff800008ee28b4 x8 : ffff0000d1653680 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80001e2075a0 x4 : 0000000000000000 x3 : 0000000000000c40 x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: ext4_get_group_info+0x340/0x344 fs/ext4/ext4.h:3331 ext4_mb_load_buddy_gfp+0xc0/0x1474 fs/ext4/mballoc.c:1448 ext4_mb_load_buddy fs/ext4/mballoc.c:1570 [inline] ext4_mballoc_query_range+0xc0/0x7c0 fs/ext4/mballoc.c:6573 ext4_getfsmap_datadev+0x15ec/0x1e48 fs/ext4/fsmap.c:537 ext4_getfsmap+0xa1c/0xd6c fs/ext4/fsmap.c:708 ext4_ioc_getfsmap fs/ext4/ioctl.c:902 [inline] __ext4_ioctl fs/ext4/ioctl.c:1226 [inline] ext4_ioctl+0x4868/0x6eec fs/ext4/ioctl.c:1610 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 38776b28 35ffec28 17ffff62 97d8a0e2 (d4210000) ---[ end trace 0000000000000000 ]---