------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 2063 Comm: syz-executor.2 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:ffff8881d5b07768 EFLAGS: 00010293 RAX: ffffffff81ca74f9 RBX: 0000000000000001 RCX: ffff8881e5ef1f80 RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001 RBP: ffff8881d7e23000 R08: ffffffff81ca66a2 R09: ffffed103bab5807 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103e0ab07e R13: dffffc0000000000 R14: 00000000ffffe428 R15: ffff8881f05583f0 FS: 00007f1fbc46d6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c921f5000 CR3: 00000001e4484000 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:0x7f1fbc8ea8d9 Code: Bad RIP value. RSP: 002b:00007f1fbc46d178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f1fbca09f88 RCX: 00007f1fbc8ea8d9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f1fbca09f8c RBP: 00007f1fbca09f80 R08: 00007fff06ff50b0 R09: 00007f1fbc46d6c0 R10: 000000000002a000 R11: 0000000000000246 R12: 00007f1fbca09f8c R13: 000000000000000b R14: 00007fff06fc4fd0 R15: 00007fff06fc50b8 Modules linked in: ---[ end trace 75e5a0451a127cbf ]--- 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:ffff8881d5b07768 EFLAGS: 00010293 RAX: ffffffff81ca74f9 RBX: 0000000000000001 RCX: ffff8881e5ef1f80 RDX: 0000000000000000 RSI: 00000000ffffe428 RDI: 0000000000000001 RBP: ffff8881d7e23000 R08: ffffffff81ca66a2 R09: ffffed103bab5807 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103e0ab07e R13: dffffc0000000000 R14: 00000000ffffe428 R15: ffff8881f05583f0 FS: 00007f1fbc46d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff78a1c1988 CR3: 00000001d909b000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400