------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 542 Comm: syz-executor.0 Not tainted 5.4.283-syzkaller-04984-ge6ac8beecb16 #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 a7 c1 99 ff <0f> 0b e8 a0 c1 99 ff 0f 0b e8 99 c1 99 ff 0f 0b e8 92 c1 99 ff 0f RSP: 0018:ffff8881e896f768 EFLAGS: 00010293 RAX: ffffffff81ca74f9 RBX: 0000000000000001 RCX: ffff8881e898af40 RDX: 0000000000000000 RSI: 000000002039d2f8 RDI: 0000000000000001 RBP: ffff8881e9852000 R08: ffffffff81ca66a2 R09: ffffed103b5f8b2d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103d30ac7e R13: dffffc0000000000 R14: 000000002039d2f8 R15: ffff8881e98563f0 FS: 00007f16431546c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc70eec7086 CR3: 00000001dcd04000 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: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:0x7f16435d1ae9 Code: Bad RIP value. RSP: 002b:00007f1643154178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f16436f0f88 RCX: 00007f16435d1ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f16436f0f88 RBP: 00007f16436f0f80 R08: 00007f16431546c0 R09: 00007f16431546c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f16436f0f8c R13: 000000000000000b R14: 00007fff2bbf5630 R15: 00007fff2bbf5718 Modules linked in: ---[ end trace 7a7f6323811881d1 ]--- 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 a7 c1 99 ff <0f> 0b e8 a0 c1 99 ff 0f 0b e8 99 c1 99 ff 0f 0b e8 92 c1 99 ff 0f RSP: 0018:ffff8881e896f768 EFLAGS: 00010293 RAX: ffffffff81ca74f9 RBX: 0000000000000001 RCX: ffff8881e898af40 RDX: 0000000000000000 RSI: 000000002039d2f8 RDI: 0000000000000001 RBP: ffff8881e9852000 R08: ffffffff81ca66a2 R09: ffffed103b5f8b2d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103d30ac7e R13: dffffc0000000000 R14: 000000002039d2f8 R15: ffff8881e98563f0 FS: 00007f16431546c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc70ef88000 CR3: 00000001e9a66000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400