kernel BUG at fs/ext4/ext4.h:2977! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 349 Comm: syz-executor312 Not tainted 5.4.108-syzkaller-00846-g7af03784d889 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2977 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0xdf0/0xe10 fs/ext4/mballoc.c:1116 Code: ff e8 84 3c cd ff e9 45 f4 ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 8c f4 ff ff e8 8a 3c cd ff e9 82 f4 ff ff e8 50 6e 9e ff <0f> 0b e8 49 6e 9e ff 0f 0b e8 42 6e 9e ff 0f 0b e8 3b 6e 9e ff 0f RSP: 0018:ffff8881e8d07c08 EFLAGS: 00010293 RAX: ffffffff81c6d8f0 RBX: 0000000000000010 RCX: ffff8881e92ede80 RDX: 0000000000000000 RSI: 00000000fffec510 RDI: 0000000000000010 RBP: ffff8881f1763000 R08: ffffffff81c6cbd3 R09: ffffed103be1e007 R10: ffffed103be1e007 R11: 0000000000000000 R12: 1ffff1103e2ec47e R13: ffff8881f1762018 R14: 00000000fffec510 R15: ffff8881f17623f0 FS: 00000000005de400(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc84ba52718 CR3: 00000001ea9e4000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0x63d/0x1240 fs/ext4/mballoc.c:4091 ext4_release_file+0x160/0x300 fs/ext4/file.c:98 __fput+0x27d/0x6c0 fs/file_table.c:281 task_work_run+0x186/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x2b0/0x310 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x40845b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fffeda7d0d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000040845b RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000004cf4ec R08: 0000000000000000 R09: 0000003500000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00007fffeda7d130 R14: 00007fffeda7d1a0 R15: 000000000000000b Modules linked in: RDX: 0000000000000000 RSI: 00000000fffec510 RDI: 0000000000000010 RBP: ffff8881f1763000 R08: ffffffff81c6cbd3 R09: ffffed103be1e007 R10: ffffed103be1e007 R11: 0000000000000000 R12: 1ffff1103e2ec47e R13: ffff8881f1762018 R14: 00000000fffec510 R15: ffff8881f17623f0 FS: 00000000005de400(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe59ea20000 CR3: 00000001ea9e4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400