------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 361 Comm: syz-executor198 Not tainted 5.4.289-syzkaller-00025-g49530c73f82d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 cb a1 c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 d1 a1 c9 ff e9 48 f3 ff ff e8 37 b7 99 ff <0f> 0b e8 30 b7 99 ff 0f 0b e8 29 b7 99 ff 0f 0b e8 22 b7 99 ff 0f RSP: 0018:ffff8881ee527a48 EFLAGS: 00010293 RAX: ffffffff81ca9339 RBX: 0000000000000001 RCX: ffff8881f0d0af40 RDX: 0000000000000000 RSI: 00000000ffffcd50 RDI: 0000000000000001 RBP: ffff8881ef796000 R08: ffffffff81ca84e2 R09: ffffed103b9e0fab R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103def287e R13: dffffc0000000000 R14: 00000000ffffcd50 R15: ffff8881ef7943f0 FS: 000055558783f380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7991c9eed8 CR3: 00000001eccd8000 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:4124 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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xcaf/0x2bc0 kernel/exit.c:861 do_group_exit+0x138/0x300 kernel/exit.c:984 __do_sys_exit_group kernel/exit.c:995 [inline] __se_sys_exit_group kernel/exit.c:993 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:993 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fefd7a6c2f9 Code: Bad RIP value. RSP: 002b:00007ffc7f4e0ec8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fefd7a6c2f9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007fefd7ae6370 R08: ffffffffffffffb8 R09: 00007ffc7f4e10e8 R10: 00007ffc7f4e10e8 R11: 0000000000000246 R12: 00007fefd7ae6370 R13: 0000000000000000 R14: 00007fefd7ae70e0 R15: 00007fefd7a3abc0 Modules linked in: ---[ end trace 20b885efd4a40b8d ]--- 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 cb a1 c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 d1 a1 c9 ff e9 48 f3 ff ff e8 37 b7 99 ff <0f> 0b e8 30 b7 99 ff 0f 0b e8 29 b7 99 ff 0f 0b e8 22 b7 99 ff 0f RSP: 0018:ffff8881ee527a48 EFLAGS: 00010293 RAX: ffffffff81ca9339 RBX: 0000000000000001 RCX: ffff8881f0d0af40 RDX: 0000000000000000 RSI: 00000000ffffcd50 RDI: 0000000000000001 RBP: ffff8881ef796000 R08: ffffffff81ca84e2 R09: ffffed103b9e0fab R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103def287e R13: dffffc0000000000 R14: 00000000ffffcd50 R15: ffff8881ef7943f0 FS: 000055558783f380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefd7a6c2cf CR3: 0000000005e0e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400