------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 467 Comm: syz-executor.2 Not tainted 5.4.265-syzkaller-04843-g1b3143b9b166 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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 5b c0 c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 61 c0 c9 ff e9 48 f3 ff ff e8 b7 ed 99 ff <0f> 0b e8 b0 ed 99 ff 0f 0b e8 a9 ed 99 ff 0f 0b e8 a2 ed 99 ff 0f RSP: 0018:ffff8881eb167c28 EFLAGS: 00010293 RAX: ffffffff81ca5909 RBX: 0000000000000008 RCX: ffff8881ee082f40 RDX: 0000000000000000 RSI: 00000000fffec509 RDI: 0000000000000008 RBP: ffff8881ee037000 R08: ffffffff81ca4ab2 R09: ffffed103b2cdfea R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103dc0627e R13: dffffc0000000000 R14: 00000000fffec509 R15: ffff8881ee0313f0 FS: 000000000325f480(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000537fe0 CR3: 00000001ebbc7000 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:4120 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 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x190/0x1a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace 57d9584e5f9e3ae6 ]--- 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 5b c0 c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 61 c0 c9 ff e9 48 f3 ff ff e8 b7 ed 99 ff <0f> 0b e8 b0 ed 99 ff 0f 0b e8 a9 ed 99 ff 0f 0b e8 a2 ed 99 ff 0f RSP: 0018:ffff8881eb167c28 EFLAGS: 00010293 RAX: ffffffff81ca5909 RBX: 0000000000000008 RCX: ffff8881ee082f40 RDX: 0000000000000000 RSI: 00000000fffec509 RDI: 0000000000000008 RBP: ffff8881ee037000 R08: ffffffff81ca4ab2 R09: ffffed103b2cdfea R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103dc0627e R13: dffffc0000000000 R14: 00000000fffec509 R15: ffff8881ee0313f0 FS: 000000000325f480(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000537fe0 CR3: 00000001ebbc7000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400