EXT4-fs warning (device loop0): ext4_update_dynamic_rev:864: updating to rev 1 because of new feature flag, running e2fsck is recommended ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2980! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 303 Comm: syz-executor166 Not tainted 5.4.210-syzkaller-00033-g3ee2a37108c8 #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:2980 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xea8/0xec0 fs/ext4/mballoc.c:1116 Code: ff e8 0c c4 cf ff e9 6f f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c bc f3 ff ff e8 12 c4 cf ff e9 b2 f3 ff ff e8 98 51 a3 ff <0f> 0b e8 91 51 a3 ff 0f 0b e8 8a 51 a3 ff 0f 0b e8 83 51 a3 ff 0f RSP: 0018:ffff8881ddce77d0 EFLAGS: 00010293 RAX: ffffffff81bd4748 RBX: 0000000000000001 RCX: ffff8881e3150fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881e3167000 R08: ffffffff81bd3972 R09: ffff8881ddce78c0 R10: ffffed103bb9cf1f R11: 1ffff1103bb9cf18 R12: ffff8881e31603f0 R13: 0000000000000001 R14: dffffc0000000000 R15: 1ffff1103c62c07e FS: 00005555555b0300(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcc8eb7a08 CR3: 00000001de112000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_mb_load_buddy fs/ext4/mballoc.c:1241 [inline] ext4_mballoc_query_range+0x61/0x3d0 fs/ext4/mballoc.c:5382 ext4_getfsmap_datadev+0x1aaa/0x26c0 fs/ext4/fsmap.c:537 ext4_getfsmap+0xc20/0xf90 fs/ext4/fsmap.c:708 ext4_ioc_getfsmap fs/ext4/ioctl.c:674 [inline] ext4_ioctl+0x2c20/0x34a0 fs/ext4/ioctl.c:827 do_vfs_ioctl+0x6d1/0x15b0 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fbd844eaf99 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:00007ffe6398cb18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbd844eaf99 RDX: 0000000020000200 RSI: 00000000c0c0583b RDI: 0000000000000003 RBP: 00007fbd844aa760 R08: 0000000000000000 R09: 0000000000000000 R10: 00005555555b02c0 R11: 0000000000000246 R12: 00007fbd844aa7f0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace ef040057134673b3 ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2980 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xea8/0xec0 fs/ext4/mballoc.c:1116 Code: ff e8 0c c4 cf ff e9 6f f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c bc f3 ff ff e8 12 c4 cf ff e9 b2 f3 ff ff e8 98 51 a3 ff <0f> 0b e8 91 51 a3 ff 0f 0b e8 8a 51 a3 ff 0f 0b e8 83 51 a3 ff 0f RSP: 0018:ffff8881ddce77d0 EFLAGS: 00010293 RAX: ffffffff81bd4748 RBX: 0000000000000001 RCX: ffff8881e3150fc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8881e3167000 R08: ffffffff81bd3972 R09: ffff8881ddce78c0 R10: ffffed103bb9cf1f R11: 1ffff1103bb9cf18 R12: ffff8881e31603f0 R13: 0000000000000001 R14: dffffc0000000000 R15: 1ffff1103c62c07e FS: 00005555555b0300(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcc8eb7a08 CR3: 00000001de112000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400