------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 692 Comm: syz.6.73 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:ffff8881e2737c28 EFLAGS: 00010293 RAX: ffffffff81ca9339 RBX: 0000000000000001 RCX: ffff8881e67b1f80 RDX: 0000000000000000 RSI: 000000001f337701 RDI: 0000000000000001 RBP: ffff8881e205f000 R08: ffffffff81ca84e2 R09: ffffed103b94421c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103c40b27e R13: dffffc0000000000 R14: 000000001f337701 R15: ffff8881e20593f0 FS: 0000555560b3a500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d720008 CR3: 00000001cfaf9000 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: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 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 RIP: 0033:0x7f3b4975b98a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007ffc83452bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f3b4975b98a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f3b49977ba0 R08: 0000000000000000 R09: 00007ffc83452ebf R10: 000000000003fda8 R11: 0000000000000293 R12: 000000000000b19a R13: 00007f3b49976080 R14: 0000000000000032 R15: ffffffffffffffff Modules linked in: ---[ end trace d522516cb7a761cf ]--- 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:ffff8881e2737c28 EFLAGS: 00010293 RAX: ffffffff81ca9339 RBX: 0000000000000001 RCX: ffff8881e67b1f80 RDX: 0000000000000000 RSI: 000000001f337701 RDI: 0000000000000001 RBP: ffff8881e205f000 R08: ffffffff81ca84e2 R09: ffffed103b94421c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103c40b27e R13: dffffc0000000000 R14: 000000001f337701 R15: ffff8881e20593f0 FS: 0000555560b3a500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b40993000 CR3: 00000001cfaf9000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400