------------[ cut here ]------------ kernel BUG at fs/ext4/ext4.h:2869! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 12116 Comm: syz-executor253 Not tainted 4.19.157-syzkaller #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:2869 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0x1460/0x1a90 fs/ext4/mballoc.c:1116 Code: 26 be 9d ff e9 b9 f6 ff ff e8 8c 66 7e ff e9 b4 f4 ff ff e8 82 66 7e ff 48 89 ef e8 0a be 9d ff e9 51 fa ff ff e8 70 66 7e ff <0f> 0b e8 69 66 7e ff 8b 54 24 1c 44 89 e6 48 89 ef e8 da d4 ff ff RSP: 0018:ffff88808cc27c18 EFLAGS: 00010293 RAX: ffff8880af948500 RBX: ffff88808cc27d58 RCX: ffffffff81e655a3 RDX: 0000000000000000 RSI: ffffffff81e668f0 RDI: 0000000000000004 RBP: ffff88809e2c6c40 R08: 0000000000000000 R09: 00000000fffcef43 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000fffcef43 R13: ffff888093aacc80 R14: ffff88809e2c72c0 R15: 0000000000000001 FS: 000000000181c880(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000018258b8 CR3: 00000000b3325000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_discard_preallocations+0xaf4/0xfb0 fs/ext4/mballoc.c:4089 ext4_release_file+0x2b8/0x340 fs/ext4/file.c:98 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x406581 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 64 19 00 00 c3 48 83 ec 08 e8 6a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 b3 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffe00567d40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000406581 RDX: fffffffffffffff7 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00000000006dec8c R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 000000000001e327 R13: 0000000000000002 R14: 20c49ba5e353f7cf R15: 0000000000000009 Modules linked in: ---[ end trace 8c00c437fe3fb7fa ]--- RIP: 0010:ext4_get_group_info fs/ext4/ext4.h:2869 [inline] RIP: 0010:ext4_mb_load_buddy_gfp+0x1460/0x1a90 fs/ext4/mballoc.c:1116 Code: 26 be 9d ff e9 b9 f6 ff ff e8 8c 66 7e ff e9 b4 f4 ff ff e8 82 66 7e ff 48 89 ef e8 0a be 9d ff e9 51 fa ff ff e8 70 66 7e ff <0f> 0b e8 69 66 7e ff 8b 54 24 1c 44 89 e6 48 89 ef e8 da d4 ff ff RSP: 0018:ffff88808cc27c18 EFLAGS: 00010293 RAX: ffff8880af948500 RBX: ffff88808cc27d58 RCX: ffffffff81e655a3 RDX: 0000000000000000 RSI: ffffffff81e668f0 RDI: 0000000000000004 RBP: ffff88809e2c6c40 R08: 0000000000000000 R09: 00000000fffcef43 R10: 0000000000000004 R11: 0000000000000000 R12: 00000000fffcef43 R13: ffff888093aacc80 R14: ffff88809e2c72c0 R15: 0000000000000001 FS: 000000000181c880(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000180 CR3: 00000000b3325000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400