------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:3248! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 386 Comm: syz-executor.4 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/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:ffffc900060ef898 EFLAGS: 00010293 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: ffff8881067ecf00 RDX: 0000000000000000 RSI: 00000000fffff3d2 RDI: 0000000000000001 RBP: ffffc900060ef930 R08: ffffffff81df034c R09: ffffed102f10c14d R10: ffffed102f10c14d R11: 1ffff1102f10c14c R12: 1ffff11021cb0a79 R13: ffff88810e583000 R14: 00000000fffff3d2 R15: dffffc0000000000 FS: 00005555560cb400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a3d1e9000 CR3: 000000016091f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0x803/0xf10 fs/ext4/mballoc.c:4451 ext4_clear_inode+0x45/0x180 fs/ext4/super.c:1407 ext4_evict_inode+0x3d4/0x1730 fs/ext4/inode.c:342 evict+0x2a3/0x6c0 fs/inode.c:577 dispose_list fs/inode.c:612 [inline] evict_inodes+0x628/0x6b0 fs/inode.c:662 generic_shutdown_super+0x9c/0x2d0 fs/super.c:454 kill_block_super+0x80/0xe0 fs/super.c:1447 deactivate_locked_super+0xb0/0x100 fs/super.c:335 deactivate_super+0xa5/0xd0 fs/super.c:366 cleanup_mnt+0x45f/0x510 fs/namespace.c:1118 __cleanup_mnt+0x19/0x20 fs/namespace.c:1125 task_work_run+0x147/0x1b0 kernel/task_work.c:154 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xc8/0xe0 kernel/entry/common.c:164 exit_to_user_mode_prepare kernel/entry/common.c:191 [inline] syscall_exit_to_user_mode+0x77/0xa0 kernel/entry/common.c:266 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fe7905995d7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 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:00007fff5ca4c878 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe7905995d7 RDX: 00007fff5ca4c949 RSI: 000000000000000a RDI: 00007fff5ca4c940 RBP: 00007fff5ca4c940 R08: 00000000ffffffff R09: 00007fff5ca4c710 R10: 00005555560cc7e3 R11: 0000000000000246 R12: 00007fe7905f2cdc R13: 00007fff5ca4da00 R14: 00005555560cc6f0 R15: 00007fff5ca4da40 Modules linked in: ---[ end trace 65c90ae9544f81f2 ]--- 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:ffffc900060ef898 EFLAGS: 00010293 RAX: ffffffff81df10c4 RBX: 0000000000000001 RCX: ffff8881067ecf00 RDX: 0000000000000000 RSI: 00000000fffff3d2 RDI: 0000000000000001 RBP: ffffc900060ef930 R08: ffffffff81df034c R09: ffffed102f10c14d R10: ffffed102f10c14d R11: 1ffff1102f10c14c R12: 1ffff11021cb0a79 R13: ffff88810e583000 R14: 00000000fffff3d2 R15: dffffc0000000000 FS: 00005555560cb400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001280 CR3: 000000016091f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400