------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2984! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 656 Comm: syz-executor.3 Not tainted 5.4.274-syzkaller-00016-gdd432c37afcd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 ab af c9 ff e9 0a f3 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 52 f3 ff ff e8 b1 af c9 ff e9 48 f3 ff ff e8 57 ca 99 ff <0f> 0b e8 50 ca 99 ff 0f 0b e8 49 ca 99 ff 0f 0b e8 42 ca 99 ff 0f RSP: 0018:ffff8881e5307c28 EFLAGS: 00010293 RAX: ffffffff81ca71c9 RBX: 0000000000000001 RCX: ffff8881e69ebf00 RDX: 0000000000000000 RSI: 00000000fffff839 RDI: 0000000000000001 RBP: ffff8881e546d000 R08: ffffffff81ca6372 R09: ffffed103a2257c0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ca8d07e R13: dffffc0000000000 R14: 00000000fffff839 R15: ffff8881e54683f0 FS: 0000555555c64480(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32f30000 CR3: 00000001e89ea000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 2000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0x603/0xb90 fs/ext4/mballoc.c:4128 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:0x7f06eaf24e5a 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 03 7f 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 63 7f 02 00 8b 44 24 RSP: 002b:00007ffe350caad0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 000000000000000a RCX: 00007f06eaf24e5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009 RBP: 00007f06eb05e980 R08: 0000000081006c7d R09: 0000000000000003 R10: 00000000000004b1 R11: 0000000000000293 R12: 000000000000cb61 R13: 00007f06eb05d05c R14: 0000000000000032 R15: 00007f06eb05e980 Modules linked in: ---[ end trace 695058da4156669d ]---