------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 830 Comm: syz.3.147 Not tainted 5.4.276-syzkaller-00020-g4275fce9fe94 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2984 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xf29/0xf40 fs/ext4/mballoc.c:1117 Code: ff e8 9b af c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 a1 af c9 ff e9 48 f3 ff ff e8 17 ca 99 ff <0f> 0b e8 10 ca 99 ff 0f 0b e8 09 ca 99 ff 0f 0b e8 02 ca 99 ff 0f RSP: 0018:ffff8881d9dc7c28 EFLAGS: 00010293 RAX: ffffffff81ca6ee9 RBX: 0000000000000001 RCX: ffff8881dfae3f00 RDX: 0000000000000000 RSI: 00000000ffffe000 RDI: 0000000000000001 RBP: ffff8881f26ec000 R08: ffffffff81ca6092 R09: ffffed103b0f3981 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103e4dde7e R13: dffffc0000000000 R14: 00000000ffffe000 R15: ffff8881f26ef3f0 FS: 0000555555e96500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c6000 CR3: 00000001da3b2000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0x603/0xb90 fs/ext4/mballoc.c:4128 ext4_release_file+0x165/0x300 fs/ext4/file.c:98 __fput+0x262/0x680 fs/file_table.c:281 task_work_run+0x140/0x170 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x190/0x1a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f74c690e8ca Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 73 8a 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 d3 8a 02 00 8b 44 24 RSP: 002b:00007fffc2ad28f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007f74c690e8ca