------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2766! invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 6006 Comm: syz-executor.2 Tainted: G D W 5.10.210-syzkaller-00394-g70b6ab09a34b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:ext4_writepages+0x3bdf/0x3c00 fs/ext4/inode.c:2765 Code: 63 8c ff 31 ff 89 de e8 ff 62 8c ff 45 84 f6 75 27 e8 65 60 8c ff 49 be 00 00 00 00 00 fc ff df e9 0e f7 ff ff e8 51 60 8c ff <0f> 0b e8 4a 60 8c ff e8 a1 35 22 ff eb 9b e8 3e 60 8c ff e8 95 35 RSP: 0018:ffffc90000f77280 EFLAGS: 00010293 RAX: ffffffff81de49af RBX: 0000008000000000 RCX: ffff88811d8c2780 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000f77670 R08: ffffffff81de1423 R09: ffffed102395d9a4 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc90000f777e0 R14: 000000d410000000 R15: ffffc90000f77540 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207c0000 CR3: 000000010e1c4000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x12e/0x270 mm/page-writeback.c:2358 __filemap_fdatawrite_range+0x33c/0x3f0 mm/filemap.c:427 __filemap_fdatawrite mm/filemap.c:435 [inline] filemap_flush+0x23/0x30 mm/filemap.c:462 ext4_alloc_da_blocks+0x77/0x1a0 fs/ext4/inode.c:3238 ext4_release_file+0x84/0x310 fs/ext4/file.c:144 __fput+0x309/0x760 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x129/0x190 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xc83/0x2a50 kernel/exit.c:861 do_group_exit+0x141/0x310 kernel/exit.c:983 get_signal+0x10a0/0x1410 kernel/signal.c:2782 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xc5/0x1d0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fe93b840ea9 Code: Unable to access opcode bytes at RIP 0x7fe93b840e7f. RSP: 002b:00007fe93a5b4178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fe93b96ef88 RCX: 00007fe93b840ea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe93b96ef88 RBP: 00007fe93b96ef80 R08: 00007fe93a5b46c0 R09: 00007fe93a5b46c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe93b96ef8c R13: 000000000000000b R14: 00007fffcfd9b6a0 R15: 00007fffcfd9b788 Modules linked in: ---[ end trace ce9e38781da781ec ]--- RIP: 0010:ext4_writepages+0x3bdf/0x3c00 fs/ext4/inode.c:2765 Code: 63 8c ff 31 ff 89 de e8 ff 62 8c ff 45 84 f6 75 27 e8 65 60 8c ff 49 be 00 00 00 00 00 fc ff df e9 0e f7 ff ff e8 51 60 8c ff <0f> 0b e8 4a 60 8c ff e8 a1 35 22 ff eb 9b e8 3e 60 8c ff e8 95 35 RSP: 0018:ffffc90000e275a0 EFLAGS: 00010293 RAX: ffffffff81de49af RBX: 0000008000000000 RCX: ffff88811110e2c0 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000e27990 R08: ffffffff81de1423 R09: ffffed102395d9a4 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffc90000e27b00 R14: 000000d410000000 R15: ffffc90000e27860 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033