------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 404 Comm: syz-execprog Not tainted 5.4.284-syzkaller-04988-g137306201ec6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 fb aa c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 01 ab c9 ff e9 48 f3 ff ff e8 b7 c1 99 ff <0f> 0b e8 b0 c1 99 ff 0f 0b e8 a9 c1 99 ff 0f 0b e8 a2 c1 99 ff 0f RSP: 0018:ffff8881db19f768 EFLAGS: 00010293 RAX: ffffffff81ca74e9 RBX: 0000000000000008 RCX: ffff8881e0e6af40 RDX: 0000000000000000 RSI: 00000000fffe8f8c RDI: 0000000000000008 RBP: ffff8881ee04b000 R08: ffffffff81ca6692 R09: ffffed103d073bab R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103dc09c7e R13: dffffc0000000000 R14: 00000000fffe8f8c R15: ffff8881ee04e3f0 FS: 000000c000040898(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000d76072 CR3: 0000000005e0e000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0x603/0xb90 fs/ext4/mballoc.c:4127 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 get_signal+0xdb1/0x1440 kernel/signal.c:2735 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x403b8e Code: Bad RIP value. RSP: 002b:000000c0000596d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 0000000000403b8e RDX: 0000000000000080 RSI: 000000c000059774 RDI: 0000000000000003 RBP: 000000c000059718 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000079 R11: 0000000000000246 R12: 000000c0000597a8 R13: 0000000000000001 R14: 000000c000006a80 R15: 0000000000000001 Modules linked in: ---[ end trace 4594008e000ce9f0 ]--- 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 fb aa c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 01 ab c9 ff e9 48 f3 ff ff e8 b7 c1 99 ff <0f> 0b e8 b0 c1 99 ff 0f 0b e8 a9 c1 99 ff 0f 0b e8 a2 c1 99 ff 0f RSP: 0018:ffff8881db19f768 EFLAGS: 00010293 RAX: ffffffff81ca74e9 RBX: 0000000000000008 RCX: ffff8881e0e6af40 RDX: 0000000000000000 RSI: 00000000fffe8f8c RDI: 0000000000000008 RBP: ffff8881ee04b000 R08: ffffffff81ca6692 R09: ffffed103d073bab R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103dc09c7e R13: dffffc0000000000 R14: 00000000fffe8f8c R15: ffff8881ee04e3f0 FS: 000000c000040898(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000403b64 CR3: 0000000005e0e000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400