------------[ cut here ]------------
kernel BUG at fs/ext4/ext4.h:2985!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2758 Comm: syz.2.575 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline]
RIP: 0010:ext4_mb_load_buddy_gfp+0xeb2/0xed0 fs/ext4/mballoc.c:1117
Code: ff e8 82 5e cd ff e9 82 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c c8 f3 ff ff e8 88 5e cd ff e9 be f3 ff ff e8 ce 63 9f ff <0f> 0b e8 c7 63 9f ff 0f 0b e8 c0 63 9f ff 0f 0b e8 b9 63 9f ff 0f
RSP: 0018:ffff8881e753fbc8 EFLAGS: 00010293
RAX: ffffffff81c01b12 RBX: 0000000000000001 RCX: ffff8881f3edde80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000fffe0def
RBP: ffff8881e753fc50 R08: dffffc0000000000 R09: ffff8881e753fca8
R10: ffffed103cea7f9c R11: 1ffff1103cea7f95 R12: 1ffff1103e17e87e
R13: ffff8881d4876000 R14: ffff8881f0bf4018 R15: 00000000fffe0def
FS:  000055556dc83500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8f7bf41d58 CR3: 00000001ef612000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_discard_preallocations+0x5b2/0xae0 fs/ext4/mballoc.c:4124
 ext4_release_file+0x171/0x320 fs/ext4/file.c:98
 __fput+0x2a3/0x730 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x146/0x170 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x195/0x1b0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode+0x18e/0x1f0 arch/x86/entry/common.c:194
 syscall_return_slowpath arch/x86/entry/common.c:274 [inline]
 do_syscall_64+0x13e/0x170 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7f8f7d9195ca
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 43 91 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 a3 91 02 00 8b 44 24
RSP: 002b:00007fff4b5e8880 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f8f7d9195ca
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f8f7db43ba0 R08: 0000000000000001 R09: 0000001a4b5e8b8f
R10: 00007f8f7d78c000 R11: 0000000000000293 R12: 00007f8f7db4216c
R13: 00007f8f7db42160 R14: ffffffffffffffff R15: 00007fff4b5e89b0
Modules linked in:
---[ end trace 970c9809a9981745 ]---
RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2985 [inline]
RIP: 0010:ext4_mb_load_buddy_gfp+0xeb2/0xed0 fs/ext4/mballoc.c:1117
Code: ff e8 82 5e cd ff e9 82 f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c c8 f3 ff ff e8 88 5e cd ff e9 be f3 ff ff e8 ce 63 9f ff <0f> 0b e8 c7 63 9f ff 0f 0b e8 c0 63 9f ff 0f 0b e8 b9 63 9f ff 0f
RSP: 0018:ffff8881e753fbc8 EFLAGS: 00010293
RAX: ffffffff81c01b12 RBX: 0000000000000001 RCX: ffff8881f3edde80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00000000fffe0def
RBP: ffff8881e753fc50 R08: dffffc0000000000 R09: ffff8881e753fca8
R10: ffffed103cea7f9c R11: 1ffff1103cea7f95 R12: 1ffff1103e17e87e
R13: ffff8881d4876000 R14: ffff8881f0bf4018 R15: 00000000fffe0def
FS:  000055556dc83500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faccfe5f178 CR3: 00000001ef612000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400